[Stackless] Performance and slprofile Re: Comments on a Twisted/Stackless Integration Example

Edward Faulkner ef at alum.mit.edu
Tue Jul 3 23:44:59 CEST 2007


On 7/3/07, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
> I understand tasklets are cheap but still there are
> costs. For example given the round-robin scheduling(I
> figure this is an O(n) algorithm), the more tasklets
> one adds, it takes that much longer to service a
> tasklet.

I assume you mean that the time each tasklet will expect to wait is O(n).

This limitation really has nothing to do with tasklets -- it's simply
a question of how much load your server can handle.  When someone says
"tasklets are cheap", they mean that tasklets add little overhead --
not that the work will somehow get done faster.

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



More information about the Stackless mailing list