Re: [Twisted-Python] HTTP/2 and Twisted

2015-11-15 Thread Steve Waterbury
On 11/15/2015 09:07 PM, Oon-Ee Ng wrote: On Mon, Nov 16, 2015 at 1:56 AM, Itamar Turner-Trauring wrote: On 11/13/2015 07:45 PM, Tristan Seligmann wrote: 1) The Twisted project has already experimentally demonstrated the imprudence of an approach that massively breaks backwards compatibility

Re: [Twisted-Python] HTTP/2 and Twisted

2015-11-15 Thread Oon-Ee Ng
On Mon, Nov 16, 2015 at 1:56 AM, Itamar Turner-Trauring wrote: > On 11/13/2015 07:45 PM, Tristan Seligmann wrote: >> >> >> 1) The Twisted project has already experimentally demonstrated the >> imprudence of an approach that massively breaks backwards compatibility with >> old APIs (even if it does

Re: [Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-15 Thread Oon-Ee Ng
On Mon, Nov 16, 2015 at 1:54 AM, Itamar Turner-Trauring wrote: > On 11/15/2015 10:19 AM, Oon-Ee Ng wrote: >> >> I'm also unable to find any information about connecting to self (for >> example, to send messages from one reactor to itself). >> >> > > You can just have a single reactor. E.g. if you

Re: [Twisted-Python] HTTP/2 and Twisted

2015-11-15 Thread Itamar Turner-Trauring
On 11/13/2015 07:45 PM, Tristan Seligmann wrote: 1) The Twisted project has already experimentally demonstrated the imprudence of an approach that massively breaks backwards compatibility with old APIs (even if it does this in concordance with the compatibility policy, by adding a bunch of ne

Re: [Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-15 Thread Itamar Turner-Trauring
On 11/15/2015 10:19 AM, Oon-Ee Ng wrote: Based on my reading/searching, multiple reactors in the same process (even in multiple threads) is pretty much a no-go because twisted.internet.reactor is a global singleton. I'm also unable to find any information about connecting to self (for example, t

[Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-15 Thread Oon-Ee Ng
Based on my reading/searching, multiple reactors in the same process (even in multiple threads) is pretty much a no-go because twisted.internet.reactor is a global singleton. I'm also unable to find any information about connecting to self (for example, to send messages from one reactor to itself)

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] Streaming HTTP

2015-11-15 Thread Tobias Oberstein
We should then move to an API that is much more like the one used by Go: specifically, that by default all requests/responses are streamed. > Request objects (and, logically, any other object that handles requests/responses, such as Resource) should be extended to have a chunkReceived method >

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] Migration to Git / GitHub

2015-11-15 Thread Jonathan Lange
On Wed, 11 Nov 2015 at 22:41 Adi Roiban wrote: > Hi, > > So I am bringing this to the list for a greater audience and to reach > all borders and timezones :) > Thanks! > General rules by Glyph as they were sent to me :) > > Development can't stop, the website can't go down, and we can't lose >