Skip to content

Eventual consistency

Eventual consistency permits temporarily different data states that should converge under the intended operating conditions.

APIs & Integration

A state reaches other systems with a delay

Eventual consistency is a consistency model in which copies or derived views may temporarily differ. If no new changes arrive and the required transfer and processing work, they should eventually converge on the same intended state.

In a fictional example, an address has already changed in the CRM while a downstream view still shows the old one. The model alone guarantees no fixed number of seconds until the update arrives. It does not make a persistent processing failure disappear. Agree on permitted delay, detection of overdue changes and behaviour when data is stale. Whether an invoice may already be created is an additional business rule.

Sources

Articles on this topic

APIs & Integration with ASES

ERP, CRM and shop cleanly connected