Global Feed Post Login
Replying to Avatar ben

sounds like the leaky bucket algorithm for rate limiting! you could probably use golang.org/x/time/rate’s Limiter to get this behavior instead and hand rolling it

Avatar
Pip the WoT guy 1w ago

writing a token bucket (no leaky) it's actually pretty simple

Reply to this note

Please Login to reply.

Discussion

No replies yet.