[Stackless] pyevent + stackless + mysql or pgsql
Andrew Francis
andrewfr_ice at yahoo.com
Thu Nov 27 16:39:18 CET 2008
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 <joelr1 at gmail.com>
> Subject: [Stackless] pyevent + stackless + mysql or pgsql
> To: stackless at stackless.com
> Message-ID:
> <B12967F7-22B0-4140-83D7-6C98F2119C23 at gmail.com>
> 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
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
>
> End of Stackless Digest, Vol 58, Issue 13
> *****************************************
More information about the Stackless
mailing list