News for hackers. Stuff that matters.
Re:Gubernator: Cloud-Native Distributed Rate Limiting for Mi... by chatmasta on Monday July 29, 2019 @06:46PM (#20560260)
You can use haproxy+squid for this purpose. Basically implement the rate limiting on haproxy and send requests to squid “backend” that is a forward proxy to the internet.
Re:Gubernator: Cloud-Native Distributed Rate Limiting for Mi... by haolez on Monday July 29, 2019 @07:15PM (#20560481)
I’m not familiar with these tools (yet). Why do I need a forward proxy (squid) connected to this haproxy instance?
Re:Gubernator: Cloud-Native Distributed Rate Limiting for Mi... by chatmasta on Monday July 29, 2019 @07:17PM (#20560495)
Squid is useful as a forward proxy for a number of reasons, like caching. Squid is often used for outbound proxying when you are anonymizing requests, i.e. you might have squid bound to multiple network interfaces.

If all you need is rate limiting, you can probably skip squid.