Re:S3QL: an S3 FS with encryption, de-dup, immutable trees a...
by tobias3 on Tuesday September 01, 2015 @07:19AM
(#10151687)
I think you found the Achilles heel. This won't scale, so it is only suitable for small file systems.
[ Parent
| on HN ]
Re:S3QL: an S3 FS with encryption, de-dup, immutable trees a...
by nbevans on Tuesday September 01, 2015 @07:35AM
(#10151718)
Indeed, I'm good at that ;)
It could probably be improved (subject to the nuances of S3 which I'm not fully familiar with). One way to fix it would be to copy the concept of SQLite's WAL mode. Use an appended write operation on S3 (if it supports it) to append to an existing file that contains the transaction log. Then at certain intervals (say every few thousand transactions) one can finally flush that log to be stored in the main database file.
This would substantially reduce the number of times the database would need to be re-uploaded in full.