I dont know if twisted can really be counted as a scheduler. Its purpose is more to do with nonblocking IO. To improve IO performance in stackless you would need to add multiplexing to its scheduler(if it doesnt already have it). <a href="http://eventlet.net/">http://eventlet.net/</a> seems to to this. <div>
<br></div><div>Dan<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 9:22 AM, Andrew Francis <span dir="ltr"><<a href="mailto:andrewfr_ice@yahoo.com">andrewfr_ice@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Folks:<br>
<br>
My talk "Prototyping Go's Select for Stackless with Stackless.py" recently got accepted to EuroPython. In the talk, I modified stackless.py to support the Go language's Select statement. I support Select as a method rather than a Python language feature. Implementing Select turns out to be relatively. However my original interest in stackless.py was about subclassing the Twisted Reactor and making it stackless's scheduler. As opposed to running Twisted in a separate tasklet so an application does not deadlock under certain edge cases. In part I wanted to experiment with changing the stackless scheduler in such a way as to improve the performance of IO driven applications. I am wondering if I would see a speed up if compiled into pypy-c (unfortunately right now I don't believe the JIT and Stackless are integrated)? Is this too wild an idea?<br>
<br>
Cheers,<br>
Andrew<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br></div>