Data & storage · Intermediate · 12 min

Storage Engines

Compare page-oriented updates with log-structured writes and background maintenance.

STEP 1 / 13
Distinguish memory and durable bytes — isometric concept diagramState where an acknowledged write can be recovered. Components: 1. Application. Logical component or processing boundary; 2. Memory buffers. Logical component or processing boundary. Connections: 1. Application to Memory buffers: Distinguish memory and durable bytes; 2. Memory buffers to Application: Reply: Memory buffers. Illustrations are conceptual, not deployed capacity or user counts.Application → Memory buffers: Distinguish memory and durable bytes1Memory buffers → Application: Reply: Memory buffers2Application: Logical component or processing boundary1ApplicationLogical component or processingboundaryMemory buffers: Logical component or processing boundary2Memory buffersLogical component or processingboundary
1Application2Memory buffers
  1. 1Application → Memory buffersRequestDistinguish memory and durable bytes
  2. 2Memory buffers → ApplicationReplyReply: Memory buffers

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Application + Memory buffers highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • A page index trades ordered access against page maintenance.
  • Fast foreground writes can defer work to maintenance.
  • Amplification depends on both access pattern and engine behavior.

PUT THE IDEA TO WORK

From learning to practice

No related challenges are currently available. Browse practice

RELATED PATTERNS

Explore architecture patterns ↗

Further reading

RocksDB · Overview ↗

PostgreSQL · Database physical storage ↗