CONCEPTS / BUILD THE MENTAL MODEL

Understand the contracts behind the APIs

Start with the storage architecture. Then decide how keys are ordered, how records are encoded, which values are live, and how your application owns the data it writes.

Storage model

Layers describe record generations; parts divide a logical disk segment into ranges.

Data contracts

Equality, hashing, encoding, and deletion must agree with the application model.

Application rules

Own mutable data and define how sequencing, recovery, and replication fit together.

Put the model into code

The Usage guides turn these contracts into runnable examples for opening a tree, writing records, coordinating updates, and scanning ranges.

Explore the Usage guides