© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
M. L. PerryThe Art of Immutable Architecturehttps://doi.org/10.1007/979-8-8688-0288-1_12

12. Feeds

Michael L. Perry1  
(1)
Allen, TX, USA
 

The mathematics of conflict-free replicated data types (CRDTs) guarantee that two replicas will achieve consistency after they have received all updates. If you ask two replicas the same question, they will give you the same answer. There’s a trick to how CRDTs accomplish this: they guarantee that the replicas reach the same internal state. That implies that any question so long as it is deterministic and based only on the internal state will yield consistent answers.

But there’s an issue with this way of solving the problem. ...

Get The Art of Immutable Architecture: Theory and Practice of Data Management in Distributed Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.