[Twisted-Python] what is the status of storm integration with twisted?
free at 64studio.com
Thu Jul 14 06:33:49 MDT 2011
|--==> On Tue, 12 Jul 2011 13:02:43 +0200, Jamu Kakar <jkakar at kakar.ca> said:
JK> Hi Ilja,
JK> On Tue, Jul 12, 2011 at 9:38 AM, Ilja Livenson <ilja.livenson at gmail.com> wrote:
>>basically, $subj. I really like the DeferredStore concept introduced
>>in storm/twisted-integration, but it seems that that branch is lagging
>>behind on merging (for 2 years now). Any inside info, perhaps?
JK> The branch is not being actively maintained, though I do believe some
JK> folks are using it in production systems. The way we've been
JK> recommending people use Storm with Twisted is by running transactions
JK> in threads with deferToThread. Free recently landed some code in
JK> storm.twisted.transact that makes pursuing this model, with a thread
JK> pool, fairly straightforward.
What Jamu said. Considering that the branch you're mentioning does use
threads as well, the storm.twisted.transact is probably easier and
virtually identical as far as performance goes.
More information about the Twisted-Python