[Fedora-suds-list] Performance problem
nstudt at ku.edu
Thu Sep 10 15:16:34 UTC 2009
The version of suds.
- 0.3.6 and 0.3.7 (tried both)
A public link or copy of the WSDL.
A description of the problem including sample code (if possible).
Everything works, however the amount of time that it takes for
client.service.<function>() to return exceeds the transport time by at
least a minute for one function, another ran for an hour before I killed
I was able to see that transport time from turning on logging, but I
haven't found the right combination of logging to find what is causing
the slowdown after the http request is complete.
The function that takes a minute has about 403 records with 9 elements
each. The one that never returned had 2979 records with 12 elements
client = Client(options.wsdl)
token = client.factory.create('AuthenticationSoapHeader')
token.Username = username
token.Password = b64encode(hashlib.md5(password).digest())
print "Start: %s" % datetime.now()
result = client.service.get_Organizations()
print "End: %s" % datetime.now()
Any help or suggestions would be appreciated.
Nicholas Studt <nstudt at ku.edu>
More information about the suds