On 14.11.18 17:42,
[email protected] wrote:
> We are using pyramid for our insured portal at Unique Insurance.
> We have had great success with pyramid and still use it to this day!
> However we have hit a problem, when we use the pyramid.registry and
> register an SOAP object to the registry object our server seems to block
> us because we are making to many connections to the server.
> I have tried using a singleton, which I will try again today. Is there a
> way in the registry to force it to only create one instance of the object?
[...]

I do not know you SOAP Client implementation and can't help in detail here.

But recently I had a similar use-case
I used the Zeep library https://python-zeep.readthedocs.io/ for our SOAP
connections. It is a very cleanly written, well documented and easy to
use SOAP client library. It is using the famous Requests library for all
HTTP connections. So, it offers all session/connection pooling features
Requests has. This really helps getting the number of connections down.

hth Jens
-- 
Klein & Partner KG, member of BlueDynamics Alliance

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/psm7o7%2424s%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to