D
D
divanikus2014-06-30 19:34:59
proxy
divanikus, 2014-06-30 19:34:59

How to implement a proxy?

There is such a problem: there are several dozen http proxies, on the server you need to raise a separate proxy, which will scatter requests to higher proxies depending on the port on which it was accessed.
Those. there are groups of servers proxyA, proxyB, proxyC. You need to implement proxy:3128 -> proxyA, proxy:3129 -> proxyB, proxy:3130 -> proxyC.
How can this be done as painlessly as possible? Squid looked, there are groups of upstream proxies and weighted round-robin, but you can only deal with ports by raising one more instance, which is not very convenient if there are more than 3 of them.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
divanikus, 2014-07-10
@divanikus

Correct answer: haproxy.

S
Spetros, 2014-06-30
@Spetros

If the port mapping to a certain proxy is strict, then you can use port mapping.

P
Puma Thailand, 2014-07-01
@opium

squid can do everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question