Hacker News new | ask | show | jobs
by mmastrac 591 days ago
Yep, it's open-source:

https://github.com/progscrape/progscrape/blob/master/web/src...

Here's where we handle the rate limits:

https://github.com/progscrape/progscrape/blob/master/web/src...

I actually misremembered my implementation. It's rolling counting bloom filters, not a token bucket. :)