Hello Twisted Developers/Users,
This is my first concurrent application design and my first trial with
twisted. I have read the documentation and understand where twisted
plays its part. Unfortunately, I could not directly relate it to my
requirements and hence, could not go forward with designing
On Wed, Jun 03, 2009 at 10:43:34AM -0700, Minesh Patel wrote:
> For this, since your data is huge and seems like it will need a lot of
> CPU utilization, you might have to deferToThread, since Twisted runs
> in a single thread and will block AFAIK.
>
> d = threads.deferToThread(do_a, arg1_to_do_a
On Wed, Jun 03, 2009 at 02:55:47PM -0400, John Santos wrote:
>
> This is not an issue specifically related to Python or Twisted, but
> there is a very serious synchronization issue that needs to be
> addressed with this application design. (Trust me, I've seen this
> issue come up dozens of times
Hello,
My current application structure is like this:
If something:
d = defertoThread(func1,params1)
if something2:
d = defertoThread(func2, params2)
...
d.addCallback(lambda r: transport.write(r)
I had designed it this way because, the functions, func1, func2 etc..
were all assumed to b
On Tue, Sep 28, 2010 at 12:51:22PM -, exar...@twistedmatrix.com wrote:
>
> If you're removing the code that blocks, then you should be able to stop
> using deferToThread. Then you just have to call getProcessOutput to get
> your `d` above (or another function that calls it and perhaps adds
Hi Matt,
On Fri, Aug 23, 2013 at 3:31 PM, Matt Haggard wrote:
> Thanks for positive response, everyone!
>
> There are now two legitimate articles (yeah, they're small)
> iffy.github.io/twistedftw
This is great. It will be appealing to new audience, who value UI design
highly.
I hope you have