You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Seth van der Maas <tr...@dds.nl> on 2005/04/17 18:13:23 UTC

Connection pooling

> Hello,
> 
> I could not find any information about the possibility of having the
> xml-rpc client make use of a connection pool, i.e. keeping up to X
> connections open instead of reconnecting for each 'execute' request).
> I was wondering if anyone knows about a good way of adding this
> functionality or if it has been done already (or why it would be a bad
> idea).
> 
> Regards, Seth
> 
> 
> 

Re: Connection pooling

Posted by Tino Wildenhain <ti...@wildenhain.de>.
Am Sonntag, den 17.04.2005, 18:13 +0200 schrieb Seth van der Maas:
> Hello,
> 
> I could not find any information about the possibility of having the
> xml-rpc client make use of a connection pool, i.e. keeping up to X
> connections open instead of reconnecting for each 'execute' request).
> I was wondering if anyone knows about a good way of adding this
> functionality or if it has been done already (or why it would be a bad
> idea).

Well HTTP does not really have persistent connections.
HTTP/1.1 defines a keep-alive which means semi persistence,
but server and client can break this contract anytime
they feel like. Not sure if it buys you anything.
This depends heavily on what you are doing and how much
control you have over server, client and intermediate
proxies.

Regards
Tino