[Stackless] Connecting To A Database Re: Stackless Digest, Vol 41, Issue 2

Andrew Francis andrewfr_ice at yahoo.com
Sun Jun 10 17:18:10 CEST 2007


Hello Seun:

>On my development system, threading with Stackless
>absolutely destroys performance.
>That's why I had to write my own tiny SCGI server.
>Being able to do all the processing in one thread
>really speeds things up in my benchmarks.
>Flup, monkey-patched BasicHTTPserver, etc are slow
for >this reason.

A few months ago, I posted a Twisted/Stackless server
that used a thread (I currently don't use this
approach but it is useful to know). Carlos pointed out
that if one inserted a time.sleep() the performance
went up. Try this.

Cheers,
Andrew



      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list