Simple non-network concurrency with Twisted
Posted
by Rince
on Stack Overflow
See other posts from Stack Overflow
or by Rince
Published on 2010-03-29T16:31:27Z
Indexed on
2010/03/29
16:33 UTC
Read the original article
Hit count: 353
Dear pythoners,
I have a problem with using Twisted for simple concurrency in python. The problem is - I don't know how to do it and all online resources are about Twisted networking abilities. So I am turning to SO-gurus for some guidance.
Python 2.5 is used.
Simplified version of my problem runs as follows:
- A bunch of scientific data
- A function that munches on the data and creates output
- ??? < here enters concurrency, it takes chunks of data from 1 and feeds it to 2
- Output from 3 is joined and stored
My guess is that Twisted reactor
can do the number three job. But how?
Thanks a lot for any help and suggestions.
© Stack Overflow or respective owner