Join Nostr
2026-04-30 05:10:06 UTC

R.I.Pienaar on Nostr: Another really cool feature I designed for NATS - a distributed CRDT based counter. ...

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