Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-13 Thread Nagy, Attila
On 03/13/15 11:28, Glyph wrote: On Mar 13, 2015, at 3:03 AM, Nagy, Attila > wrote: Sounds logical. Do you plan a nicer interface for this maybe? :) Plan? Not right now. Hope for? Yes, for many years :). I would very much like to have Twisted contain a straightforward proc

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-13 Thread Glyph
> On Mar 13, 2015, at 3:03 AM, Nagy, Attila wrote: > > Sounds logical. Do you plan a nicer interface for this maybe? :) Plan? Not right now. Hope for? Yes, for many years :). I would very much like to have Twisted contain a straightforward process-pool interface, perhaps a deferToProcess. But

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-13 Thread Nagy, Attila
On 03/12/15 18:42, Glyph Lefkowitz wrote: On Mar 11, 2015, at 11:57 PM, Nagy, Attila wrote: Hi, On 01/20/14 15:30, Laurens Van Houtven wrote: The first answer by JP Calderone (exarkun) on the following stackoverflow question may be of some assistance. http://stackoverflow.com/questions/1007

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-12 Thread Glyph Lefkowitz
> On Mar 11, 2015, at 11:57 PM, Nagy, Attila wrote: > > Hi, > > On 01/20/14 15:30, Laurens Van Houtven wrote: >> The first answer by JP Calderone (exarkun) on the following stackoverflow >> question may be of some assistance. >> >> http://stackoverflow.com/questions/10077745/twistedweb-on-mul

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2015-03-12 Thread Nagy, Attila
Hi, On 01/20/14 15:30, Laurens Van Houtven wrote: The first answer by JP Calderone (exarkun) on the following stackoverflow question may be of some assistance. http://stackoverflow.com/questions/10077745/twistedweb-on-multicore-multiprocessor What is the best way to use this capability from a

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2014-01-21 Thread Sumanth Puram
Nice. Thanks for the info. On Jan 20, 2014 8:02 PM, "Laurens Van Houtven" <_...@lvh.io> wrote: > Hi Sumanth, > > > The first answer by JP Calderone (exarkun) on the following stackoverflow > question may be of some assistance. > > > http://stackoverflow.com/questions/10077745/twistedweb-on-multico

Re: [Twisted-Python] Better usage of Twisted on multi core processor

2014-01-20 Thread Laurens Van Houtven
Hi Sumanth, The first answer by JP Calderone (exarkun) on the following stackoverflow question may be of some assistance. http://stackoverflow.com/questions/10077745/twistedweb-on-multicore-multiprocessor This answer is from 2012; the good news is that the good API that JP talks about in his an

[Twisted-Python] Better usage of Twisted on multi core processor

2014-01-20 Thread Sumanth Puram
Hi all, I have a twisted TCP server to listens to client, processes requests, do mysql database operations if needed (using adbapi Connection pool) and return the result. Before deploying this in production, I want to know right way to configure the server. Since twisted is single threaded, how c