[Twisted-web] Mysterious behavior w/ XMLRPC plus adbapi

L. Daniel Burr ldanielburr at mac.com
Mon May 22 21:17:15 CDT 2006


On Mon, 22 May 2006 19:24:36 -0500, Sean Scoggins <seanscoggins at gmail.com>  
wrote:

> Hello from a new list member!  I'm evaluating Twisted for use in my
> company's product, and I'm currently stuck on a problem that I don't know
> how to debug.
>

Welcome to twisted.web!

> I am creating an XMLRPC server that uses twisted.enterprise.adbapi to  
> query
> a database.  The symptom I've seeing is that the *third* call to an  
> xmlrpc
> method that queries the database delays for some time (a minute or so)
> before returning with the correct results.  The first two calls always
> return very quickly.  Calls after the third one usually return quickly as
> well.
>
> I've narrowed down the code as far as I can, and I'm not sure what to  
> check
> next.  Any help would be appreciated.  Here's what I've found so far
> (complete code is at the bottom of the email):

[description of problem, symptoms, code, etc]

Can you tell us what platform you are on?  From your choice of db  
adapters, I'd guess you are using Windows.  What database?  MS SQL Server?

L. Daniel Burr



More information about the Twisted-web mailing list