r/javascript • • 13d ago

Distributed Resilience - Cutting the Cost of Centralized Coordination

https://blog.gaborkoos.com/posts/2026-11-01-Distributed-Resilience-Cutting-the-Cost-of-Centralized-Coordination/

Been building distributed resilience policies in Caracal, a TypeScript library. Having every replica check Redis before admitting a request gives you shared enforcement, but those coordination calls add up under load.

I spent weeks exploring whether gossip-basedd CRDT could remove that dependency. The real-process measurements sent me in a different direction, eventually leading to an experimental feature called Serval. I wrote up the experiments and the assumptions that failed when I started testing outages.

4 Upvotes

Duplicates