Replies: 1 comment 7 replies
-
I think better go with redis |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve been thinking of building a cluster-wide, approximate rate limiter using Pekko Distributed Data (PNCounterMap).
Basic idea
2.1 Operation:
- On Allow(key): read counter for this (windowId, bucket).
- If count(key) < capacity → increment and return true.
- Otherwise → return false.
Why
Questions for the community
Has anyone else used this shard + rotate pattern to manage high-cardinality keys with DData?
Any pitfalls around tombstones or gossip overhead when rotating many CRDT keys per minute/hour?
Roughly how many concurrent CRDT instances (PNCounterMapKeys) are considered safe in production practice?
Beta Was this translation helpful? Give feedback.
All reactions