Hi guys - I&#39;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: <a href="http://code.activestate.com/recipes/413609/">http://code.activestate.com/recipes/413609/</a>) but if you are persisting quite often, doesn&#39;t the creation of threads on every persist-call make it very expensive?<div>
<br></div><div>Any pointers will be much appreciated.</div><div><br></div><div>Thanks guys!</div><div><br></div><div>Cheers,</div><div>Arun</div><div><br>-- <br>It&#39;s better to be a pirate than join the Navy - Steve Jobs<br>
<a href="http://arunthampi.wordpress.com">http://arunthampi.wordpress.com</a><br>
</div>