[Twisted-Python] File persistence without blocking the main event loop?
arun.thampi at gmail.com
Mon May 18 07:34:20 EDT 2009
Hi guys - I'm just beginning to learn about Twisted and was wondering if
there is a way to use the built-in Twisted persistence libraries such as
dirdbm etc. without blocking the main event loop? I read about an approach
which uses deferToThread (comment#3 here:
http://code.activestate.com/recipes/413609/) but if you are persisting quite
often, doesn't the creation of threads on every persist-call make it very
Any pointers will be much appreciated.
It's better to be a pirate than join the Navy - Steve Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python