Data and Compression/How is data stored?
How is data stored?

4.9k words | Dan Hollick

How is data stored?

Storage devices preserve bits by arranging stable physical states—magnetic orientation, trapped charge or microscopic optical marks.

How is data stored? chapter cover

Storage devices preserve bits by arranging stable physical states—magnetic orientation, trapped charge or microscopic optical marks. The apparent simplicity comes from a set of carefully chosen representations, transformations and physical assumptions working together.

bit patterncontrollerphysical cellserror correction

Magnetic storage

Hard drives encode domains on spinning platters and sense them with a moving head.

This is one part of a longer chain: bit pattern becomes controller becomes physical cells becomes error correction. The useful abstraction hides the physical work, but the underlying constraints still shape the software built above it.

Flash memory

Electrons trapped in insulated gates shift transistor thresholds even without power.

The implementation is full of compromises. Precision, speed, storage and energy rarely improve together, so practical systems choose the errors people are least likely to notice.

Reliability

Controllers remap failures, spread writes and reconstruct damaged data with redundant codes.

Once this layer is visible, familiar design conventions stop looking arbitrary. They are accumulated responses to the capabilities and limits of the machinery below.

╌╌ END ╌╌
Next chapterSending and receiving data.

A visual study based on the original chapter. Text is condensed and rewritten.