[socal-piggies] Next meeting: Thursday March 15th at USC (7 PM)

Michael Carter Michael.Carter at pomona.edu
Wed Feb 28 14:13:54 PST 2007


Yes, I can present on Stackless then. Alternatively (or additionally) if interest warrants it, I've been doing a lot of stuff with pyevent recently. Here is a brief description of the two so we can figure out who is interested in what.


Pyevent is a python wrapper for the libevent library. Libevent is a event polling network library that is extremely fast. Lighttpd and Memcached are two applications written with libevent. A comparison of python webservers reveals that fapws and apricot, python servers written with pyevent, perform 3-4 times as many request per second as cherrypy, and twice as many as twisted. In fact these pyevent based servers perform more req/second than apache does. In addition, they respond to heavy loads far better. Pyevent can be used for any type of network programming.

Stackless python is a fork of CPython with changes to the interaction between the python stack and the c stack. Stackless python provides a simple message passing api for concurrency. Most applications can feasibility handle a couple dozen threads. Stackless can handle tens of thousands of concurrent lines of execution. Stackless python can be used the same as python for all other tasks, so any code you've written for CPython should work fine with stackless python, though it won't take advantage of the concurrency model unless its specifically written that way.

In fact, Stackless and pyevent can be used together to great effect. Pyevent provides a fast async IO, and the main app logic can then be written in stackless. If there are many requests at once, stackless works well to handle all of them concurrently and also keeps pyevent from being blocked. 

-Michael



-----Original Message-----
From: socal-piggies-bounces at lists.idyll.org on behalf of Grig Gheorghiu
Sent: Wed 2/28/2007 12:01 PM
To: SoCal Piggies
Subject: [socal-piggies] Next meeting: Thursday March 15th at USC (7 PM)
 
Daniel managed to secure the room already.

Of course, it would also be nice to have presenters.

Michael Carter offered to present on Stackless -- Michael, can you
present on 03/15?

Anybody else stepping up to the plate? If not, we can always chat and
gossip about Python stuff, esp. PyCon-related stuff.

Grig

_______________________________________________
socal-piggies mailing list
socal-piggies at lists.idyll.org
http://lists.idyll.org/listinfo/socal-piggies



-------------------------------------------------------------
This message has been scanned by Postini anti-virus software.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3988 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/socal-piggies/attachments/20070228/56d35536/attachment.bin>


More information about the socal-piggies mailing list