Re:Introducing Workers KV
by zzzcpan on Friday September 28, 2018 @11:11AM
(#18094002)
Rate limiting doesn't have to be coordinated to work. But you do need a PN-Counter, which they are only considering at this point.
[ Parent
| on HN ]
A PN-Counter is a method of coordination. And if the writes were coordinated with the consistency time, that would be sufficient to implement consistent counters (or even a naive counter in a store given atomic operatons).
PN-Counter is coordination-free counter, it can't be used as a method of coordination. But it's ok for global rate limiting, as it doesn't have to guarantee exact rate at any point in time, as long as it eventually averages on specified rate.