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

2015-11-16 Thread Tobias Oberstein
Are you sure IOCP is able to share sockets between process? It would be great if you can share some info about this. I only use No, I am not sure. But this SO reply seems to suggest http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they

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

2015-11-15 Thread Gelin Yan
On Sun, Nov 15, 2015 at 8:25 PM, Gelin Yan wrote: > > 2015年11月15日 下午6:09,"Tobias Oberstein" 写道: > >> > > What's required for high-performance on Windows is the Twisted IOCP > reactor. For Python 2 that works quite well. For Python 3 some bits are > missing in Twisted (Hawkie is working on that).

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

2015-11-15 Thread Gelin Yan
2015年11月15日 下午6:09,"Tobias Oberstein" 写道: >> > What's required for high-performance on Windows is the Twisted IOCP reactor. For Python 2 that works quite well. For Python 3 some bits are missing in Twisted (Hawkie is working on that). For shared sockets (which Crossbar.io uses for multi-core scalin

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

2015-11-15 Thread Tobias Oberstein
Hi Tobias Have you tried to test crossbar on windows? I heard that stdio Yes, I have tried that;) Crossbar.io supports Windows! performs very bad on windows. I noticed crossbar use pipe to transfer data between process. Only for control/management: that is traffic between the node con

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

2015-11-11 Thread Gelin Yan
On Wed, Nov 11, 2015 at 9:55 PM, Tobias Oberstein < tobias.oberst...@tavendo.de> wrote: > Those are some nice numbers, to be sure! Twisted really benefits from >> running in a pypy vm. I have read that pypy still doesn’t optimize >> old-style classes as efficiently as new-style classes; I wonder

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

2015-11-11 Thread Tobias Oberstein
Those are some nice numbers, to be sure! Twisted really benefits from running in a pypy vm. I have read that pypy still doesn’t optimize old-style classes as efficiently as new-style classes; I wonder if there would be any meaningful change in the metrics if resource.Resource was a new-style

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

2015-11-10 Thread Louis D. Burr
Hi Tobias, > On Nov 10, 2015, at 4:54 PM, Tobias Oberstein > wrote: > > 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 rep