[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3783: IServer has a bunch of Foolscap-specific assumptions that need fixing
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Aug 9 15:51:45 UTC 2022
#3783: IServer has a bunch of Foolscap-specific assumptions that need fixing
--------------------------+-----------------------------------
Reporter: itamarst | Owner:
Type: task | Status: new
Priority: normal | Milestone: HTTP Storage Protocol
Component: unknown | Version: n/a
Resolution: | Keywords:
Launchpad Bug: |
--------------------------+-----------------------------------
Comment (by itamarst):
Looking at the code again, seems like we actually want to:
1. Rename `NativeStorageServer` to `FoolscapNativeStorageServer`.
2. Create a new `HTTPNativeStorageServer` which also implements `IServer`.
It would implement the concept of being "connected" by sending HTTP
requests once a minute or something.
3. When an announcement arrives, it is checked for NURLs, and that
determines which of the two `IServer` implementations are used. This is
done in `StorageFarmBroker._make_storage_server`.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3783#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list