liveBook · Manning

Data inconsistency

Data inconsistency is a condition in which related data or representations of the same information disagree or violate rules requiring them to agree.

How 2 Manning books explain it

Microservices Patterns, Second Edition

A condition in which representations of related data differ across services or components that should agree.

How it is used
Explains data inconsistency as a consequence of complex requests spanning services in a fine-grained architecture.
How deep it goes
Traces bugs to complex cross-service interactions and notes Saga use, but does not detail the Saga pattern.
Examples
Uses unassigned couriers and missing refunds after immediate order cancellations as inconsistent outcomes.
What you can do after
Understand how complex cross-service interactions can produce hard-to-diagnose inconsistencies.

Read how Microservices Patterns, Second Edition explains data inconsistency →

Spring Start Here, Second Edition

A data inconsistency is a condition in which related stored or exchanged data does not agree or satisfy the application's consistency rules.

How it is used
Motivates transactions as protection against partial changes in multi-step application operations.
How deep it goes
Defines inconsistency through failed transfers and explains commit and rollback, but stops short of Spring implementation details.
Examples
Uses a wallet transfer with failed account updates and REST endpoint calls that may fail.
What you can do after
Understand how committing or rolling back a transaction can prevent partial changes from leaving data inconsistent.

Read how Spring Start Here, Second Edition explains data inconsistency →

Also covered in

Related concepts

Questions about data inconsistency

What is data inconsistency?

Data inconsistency is a condition in which related data or representations of the same information disagree or violate rules requiring them to agree.

Which Manning books explain data inconsistency?

Microservices Patterns, Second Edition and Spring Start Here, Second Edition.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.