mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-28 20:49:43 -05:00
d129580007
Before we can defragment NBS stores, we need to understand how fragmented they are. This tool provides a measure of fragmentation in which optimal chunk-graph layout implies that ALL children of a given parent can be read in one storage-layer operation (e.g. disk read, S3 transaction, etc).
Noms Block Store
An experimental storage layer for noms.
- Provides storage for a content-addressed DAG of nodes (with exactly one root), where each node is encoded as a sequence of bytes and addressed by a 20-byte hash of the byte-sequence.
- There is no
updateordelete, onlyinsert,update rootandgarbage collect. - Insertion of any novel byte-sequence is durable only upon updating the root.
- File-level multiprocess concurrency is supported, with optimistic locking for multiple writers.
- Writers need not worry about re-writing duplicate chunks. NBS will efficiently detect and drop (most) duplicates.