March 2025
Intermediate to advanced
202 pages
4h 45m
English
It can be tempting to just query from a projection in order for a process manager to gather the information it needs to do its job. This is a dangerous temptation that needs to be resisted. Not only are projections managed by other entities, and are consequently subject to schema change (or outright removal), but in eventually consistent systems, projections won’t produce reliably consistent results.
This is one of the hardest laws to follow, and a lot of the arguments for violating it can sound reasonable. Done once, the consequences might seem insignificant, but this pattern permeated throughout a codebase can break consistency and, even worse, violate the predictable nature of replays.
Read now
Unlock full access