n0-computer / sendme

A tool to send files and directories, based on iroh
Other
96 stars 6 forks source link

Provide side needs disk access #3

Open rklaehn opened 10 months ago

rklaehn commented 10 months ago

We currently use a temporary flat store on the provide side to store the outboards. We could have a mixed store that stores outboards and paths in memory, but leaves the actual files in the file system. This would mean being able to provide from a readonly file system.

The downside is that the outboards would have to be permanently in memory, which might not be great when sharing giant files.

Outboard = 1/256 of data size, so it would only be a problem for truly large sizes.