Project

General

Profile

Actions

Architecture #9727

closed

Make shared-files API asynchronous

Added by Benoît PECCATTE almost 8 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Relay server or API
Effort required:
Name check:
Fix check:
Regression:
No

Description

Currently, everything on the relay stores data temporarily before sending it to another machine.
This make the infrastructure work even in offline mode.

However this feature has not been implemented in the shared-files relay API because of implementation difficulties.
But it should be implemented !

To make this happen, we need a temporary storage on the relay for those files.
We also need a way the signature validity of unknown nodes otherwise anybody could store anything on the relay.
We also need a permanent storage to store the metadata to check that a file is known (for the HEAD api)
Al last we need a way to clean this metadata storage if the real holder of the file doesn't have it anymore.

Actions

Also available in: Atom PDF