10 ms·
Random reads and sequential writes are enough to build a log-structured database, but S3 does not really support the latter.
by ethegwo 2y ago
Random reads and sequential writes are enough to build a log-structured database, but S3 does not really support the latter.
- rad_gruchalski 2y agoOne can do sequential writes by simply writing to a chunk objects at a key with the offset in the name. For example, sizes in MBs: tmp/uploads/object-0, tmp/uploads/object-1024, tmp/uploads/object-2048 would be a rolled up object of size 2048MB + whatever is in the object-2048 file.