Changes between Initial Version and Version 10 of Ticket #935
- Timestamp:
- 2019-09-08T22:39:58Z (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #935
- Property Keywords fuse smb sftp sshfs webdav cache preservation gsoc added
- Property Cc amontero@… added
- Property Milestone changed from undecided to eventually
-
Ticket #935 – Description
initial v10 1 1 At lunch today, Zandr and I were talking about an interesting approach to a 2 2 tahoe frontend. 3 4 3 Imagine, if you will, a NAS box, to which your client connects via webdav or 5 4 some other convenient protocol. On this box sites a specialized webdav 6 5 server, a Tahoe node, and a bunch of (real) disk. 7 8 6 The server maintains a database. For each pathname visible to the client, the 9 7 database records two things: "file present on disk?" and "filecap in grid?". … … 14 12 disk, then (in the background) fills the rest of the local disk file with 15 13 data from the grid. 16 17 14 On write, the server writes data to a real local file. Later, when the file 18 15 has stopped twitching, the server uploads the file into the grid and updates 19 16 the database to reflect the filecap. 20 21 17 Much later, when the server concludes that this file is no longer "hot", it 22 18 removes the local disk copy. There are two separate timers: one to decide … … 24 20 interesting enough to spend local disk space on. The latter timer is likely 25 21 to be related to the amount of disk space available. 26 27 22 From the client's point of view, this is just a NAS box that occasionally 28 23 suffers from higher-than-normal latency, but all of its contents eventually 29 24 show up on a tahoe backup grid. 30 31 25 Shared directories must be tolerated somehow. I imagine that the server 32 26 maintains a cache of dirnode contents (so that the client sees directories … … 37 31 version, the new local version, and the new upstream version, and let the 38 32 user sort it out. 39 40 33 This idea has been partially explored before, both by the windows FUSE-like code that 41 34 shipped with the allmydata.com client, and in the OS-X FUSE code