News for hackers. Stuff that matters.
Re:Ask HN: What are best patterns for events in distributed ... by survirtual on Thursday December 29, 2022 @11:39AM (#34174451)
Have you looked into CRDTs (Conflict Free Replicated Data Types)? Here is a paper on them: https://arxiv.org/pdf/1805.06358.pdf

With CRDTs, it becomes much easier to perform concurrent updates in a distributed system and decouples each replica from each other, since state can always merge to reach the same state.

This Rust crate has good documentation with more explanation (even if you don’t use Rust): https://crates.io/crates/crdts

Take a look, should be clear how they fit in to a distributed event based system w microservices.

There are no comments on this comment yet.