Hi Sergey,

Unfortunately, the thought of a connection pool for the client transports hadn't even cross my mind :)

What kind of api do you have in mind for exposing such functionality? Max. connections per ip, or keep connections open for x number of seconds to wait for another request, or just a global limit to the number of outgoing simultaneous connections?

Best,
Burak

On 26.07.2012 11:43, Sergey Anufrienko wrote:
Hello, everyone!

I've got a pretty high-load system written in Python, using soaplib
0.8 for making SOAP requests to a remote web service. Recently I've
got complaints from the owner of the service about a very high number
(thousands) of TCP connections from my system in TIME_WAIT state on
their server, so I started looking into implementing a connection
pool. As far as I have understood from the source code of both,
soaplib 0.8 and the new Spyne library, they issue a short-living HTTP
request for every call to a RPC method. Is there a
documented/recommended way to implement a connection pool for use with
these libraries, or perhaps a Python SOAP library which supports
keeping an open connection alive and reusing it for future requests
out of the box? Thank you!
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to