Re: [Twisted-Python] Question on log time stamp precision

2014-01-20 Thread exarkun
On 02:16 am, dus...@v.igoro.us wrote: On Sun, Jan 19, 2014 at 8:55 PM, wrote: On 19 Jan, 11:47 pm, dus...@v.igoro.us wrote: From what I can tell in a few old bugs and the API docs, the key is to monkey-patch log.FileLogObserver.timeFormat. Or just politely set it on the instance of Fil

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