Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I assume the website has something like "requests per second" quota, which then you'd want the `governor` crate [0].

It was recently used to implement rate limiting middleware for both tide[1] and actix[2]

[0] https://docs.rs/governor/0.3.1/governor/_guide/index.html

[1] https://github.com/ohmree/tide-governor

[2] https://github.com/AaronErhardt/actix-governor



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: