AlgoViz

Database internals on the critical path

hard 7 min

Many storage engines persist a description of a change before relying on the changed data pages.

Where it shows up

The same pattern appears across everyday software.

  • Commits stall while reads remain fast

    An order service shows slow commits but normal indexed lookups. Split transaction time into lock wait, execution and commit. Correlate commit delay with WAL flush latency and competing device I/O. Disabling durability changes what a successful order means. Prefer reducing contention or batching compatible work while keeping the agreed acknowledgment guarantee.

  • Verifying the intervention

    Isolate or pace the competing work and verify commit acknowledgment under the same durability setting. If the application waits before commit starts, measure row locks, pool leases or query execution before changing storage.