Caching layer for DHT node responsibility resolution #24
Labels
No labels
ActivityPub
advanced features
basic functionality
bug
DHT
evaluation
refactoring
security
test case
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: schmittlauch/Hash2Pub#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While triggering a key resolution should always cause network requests and a fresh key resolution (except for keys handled by the own nodes), not each resolution request by the ActivityPub layer on top needs to result in an actual DHT query to be made.
The interface between the ActivityPub service layer and the DHT shall cache associations from cache to node (data) for a certain amount of time.
input: key ID to look up
output: hostname, servicePort
caching behaviour:
requestQueryID
) and schedule update, else return cached entryrequestQueryID
) and insert result into cache