Hi Joel: The first thing that comes to mind is using Stackless with Twisted. Twisted has an ADBAPI package. The only downside I can think of is I believe ADBAPI internally uses threads.
Cheers, Andrew > Message: 1 > Date: Sat, 22 Nov 2008 19:56:41 +0000 > From: Joel Reymont <[EMAIL PROTECTED]> > Subject: [Stackless] pyevent + stackless + mysql or pgsql > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; format=flowed; > delsp=yes > > Folks, > > How do you use stackless with mysql or pgsql and async io > (pyevent)? > > I saw the example that implements a web server with > stackless and > pyevent but I'm wondering what to do about long-running > database > transactions. > > My expectation is for something that fires of asynchronous > queries and > picks up the results once they are available on the socket. > > This question is in the context of rewriting a poker server > from > erlang to stackless. > > > > Thanks, Joel > > -- > http://wagerlabs > > > > > ------------------------------ > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless > > End of Stackless Digest, Vol 58, Issue 13 > ***************************************** _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
