IT lexicon › Programming › Weak consistency

Weak consistency

Programming På svenska → Updated: 2026-11-15

A memory model that only guarantees visibility of changes at certain synchronization points, not between every operation.

Weak consistency allows more optimization than stronger models—processors can defer the visibility of writes until the next sync point. It's used in most modern CPUs and programming languages to balance performance against programmers' expectations. Unlike stronger models, it requires explicit synchronization barriers. The tradeoff is flexibility for performance; correctly using weak consistency requires understanding acquire-release semantics.

← Back to the lexicon