4 ms·
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
by chatmasta 7y ago
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.
- haolez 7y agoI’m not familiar with these tools (yet). Why do I need a forward proxy (squid) connected to this haproxy instance?
- chatmasta 7y agoSquid 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.