|
|
|
|
|
by smbrian
2117 days ago
|
|
Have you looked at LSM k-v stores (RocksDB being the obvious one)? Under the hood they are based on building immutable layers of data that are implicitly merged. Clones that share data are cheap (check out rocksdb-cloud for a rocksdb fork which adds this copy-on-write-esque snapshotting). When overwriting a key, the old value will get lazily garbage-collected, but there are ways around that. I haven't explored it for this usecase, but seems like it might work... |
|