[Twisted-Python] Twisted Web at 630k reqs/sec

Tobias Oberstein tobias.oberstein at tavendo.de
Tue Nov 10 15:54:23 MST 2015


Hi,

maybe it's of interest how far it's possible to drive Twisted Web on 
modern multi-core CPUs.

Here are 2 data points from measuring:

* 627990 HTTP requests/s at 360 us avg latency
* 12.6 GB/s HTTP reply traffic

This is using 40 Xeon cores and serves HTTP over loopback TCP to 8 
threads of wrk. The Twisted Web resource served was

https://github.com/crossbario/crossbarexamples/blob/master/benchmark/web/myresource.py

Details, figures and more results are here:

https://github.com/crossbario/crossbarexamples/tree/master/benchmark/web

Cheers,
/Tobias



More information about the Twisted-Python mailing list