[Python-ideas] Async API: some code to review
carlopires at gmail.com
Tue Oct 30 21:33:12 CET 2012
2012/10/30 Guido van Rossum <guido at python.org>
> Here's another unscientific benchmark: I wrote a stupid "http" server
> (stupider than echosvr.py actually) that accepts HTTP requests and
> responds with the shortest possible "200 Ok" response. This should
> provide an adequate benchmark of how fast the event loop, scheduler,
> and transport are at accepting and closing connections (and reading
> and writing small amounts). On my linux box at work, over localhost,
> it seems I can handle 10K requests (sent using 'ab' over localhost) in
> 1.6 seconds. Is that good or bad? The box has insane amounts of memory
> and 12 cores (?) and rates at around 115K pystones.
Take a look at
It is a bit outdated but can be useful to get some insight.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas