Re: Twisted: 1 thread in the reactor pattern

2009-09-26 Thread exarkun
On 25 Sep, 05:25 am, jacopo.pe...@gmail.com wrote: On Sep 24, 7:54�pm, exar...@twistedmatrix.com wrote: On 07:10 am, jacopo.pe...@gmail.com wrote: >On Sep 23, 5:57�pm, exar...@twistedmatrix.com wrote: >[snip] [snip] If you have a function that takes 5 minutes to run, then you're blocking the

Re: Twisted: 1 thread in the reactor pattern

2009-09-24 Thread jacopo
On Sep 24, 7:54 pm, exar...@twistedmatrix.com wrote: > On 07:10 am, jacopo.pe...@gmail.com wrote: > > > > > > >On Sep 23, 5:57 pm, exar...@twistedmatrix.com wrote: > >[snip] > > >>It isn't possible.  While the remote methods are running, other events > >>are not being serviced.  This is what is mea

Re: Twisted: 1 thread in the reactor pattern

2009-09-24 Thread exarkun
On 07:10 am, jacopo.pe...@gmail.com wrote: On Sep 23, 5:57�pm, exar...@twistedmatrix.com wrote: [snip] It isn't possible. �While the remote methods are running, other events are not being serviced. �This is what is meant when people describe Twisted as a "*cooperative* multitasking" syste

Re: Twisted: 1 thread in the reactor pattern

2009-09-24 Thread jacopo
On Sep 23, 5:57 pm, exar...@twistedmatrix.com wrote: > On 06:08 am, jacopo.pe...@gmail.com wrote: > > >I am diving into Twisted and Perspective Broker (PB) in particular and > >I would like to understand more about what happens behind the > >curtains. > >Say I have a client and a server on two diff

Re: Twisted: 1 thread in the reactor pattern

2009-09-23 Thread exarkun
On 06:08 am, jacopo.pe...@gmail.com wrote: I am diving into Twisted and Perspective Broker (PB) in particular and I would like to understand more about what happens behind the curtains. Say I have a client and a server on two different machines, the server gets callRemote() 19s in an asynchronous

Twisted: 1 thread in the reactor pattern

2009-09-22 Thread jacopo
I am diving into Twisted and Perspective Broker (PB) in particular and I would like to understand more about what happens behind the curtains. Say I have a client and a server on two different machines, the server gets callRemote()’s in an asynchronous way, these requests are parked in a queue and