Elektrine lite

← Feed

@ripienaar@devco.social

Post #1837575

2026-04-30 05:10 UTC

Another really cool feature I designed for NATS - a distributed CRDT based counter. Distributed meaning infrastructure at a factory floor can have local counts that flows up to regional and global levels via stream replication and eventually end up at a global count. Seperate clusters all contributing to the total with regional/location views. You can choose to have auditable counts etc https://youtu.be/1Vx8CbrO89Y?is=a2pAe7s7_7SnCEuX Scales like crazy solves very hard problems. Spec: https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-49.md

Replies (1)

  • @ripienaar@devco.social 2026-04-30 05:29

    And like a counter what’s the big deal? Read the lengths Netflix went to just to make a counter. This is crazy hard. https://netflixtechblog.com/netflixs-distributed-counter-abstraction-8d0c45eb66b2

    Open ##2711163