[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SAGE] Limiting outbound connections with a reverse proxy?



Hello there, and happy new year wherever you are!

We have a service that (just now) they say can't handle more than 10
connections per second. And they can't change it.

On the other side there is a service consumer that is multi-istanciated,
multi-threaded and batch-oriented. And when the batch starts it tries to
open far more than 10 connections per second.

Resource-limiting the service has made it looping and duplicating
requests (yes, it is a bug; we are looking into it with developers and
vendor support, but in the meanwhile we are having backlog that needs to
be worked on), making the problem bigger rather than solving it.

I know this kind of problems should be faced by development teams in
advance instead of let them fall at the sysadmin level. But here we go.

I thought that a possible solution could be putting a reverse proxy
between the two, so that the proxy accepts and enqueues the requests and
forwards them to the service at no more than 10 per second.

I had a look at Pound (http://www.apsis.ch/pound/index_html), but it
seems it can't do any resource limit on the outbound traffic.

I'll keep researching about that, but if in the meanwhile someone could
point us to a reverse proxy that can do that -or even a completely
different solution that I didn't consider-, that could be great.

Ciao and thanks
--Marco