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

2015-11-10 Thread Tobias Oberstein
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

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

Re: [Twisted-Python] Dumb Logger API question

2015-11-10 Thread Glyph Lefkowitz
> On Nov 9, 2015, at 2:29 PM, Kevin Mcintyre wrote: > > http://twistedmatrix.com/documents/current/core/howto/logger.html > > > I'm looking at the new-ish logger api and wonder how to log to console as a > first step to trans

Re: [Twisted-Python] Dumb Logger API question

2015-11-10 Thread Kevin Mcintyre
yes, I stared at that section for a bit. Not to get off topic, but the readability of the api docs from back when is slightly better in my opinion. So the topic being I'm an idiot - thanks for both examples...that's a perfect example. I got confused by "from myobservers import PrintingObserver"