Yeah, that makes sense to me, so I already implemented it on this way.<br><br>In my application I have twisted web resources loaded as "controllers", each resource can have a model object (storm object) attached on it that represents a database table, each model object owns a DeferredStore (or a Store) that depends on application configuration.<br>
<br>I'm developing a Web Applications Framework using Twisted, Storm, Evoque and ExtJS so I think I'll ask a lot around here and twisted lists also.<br><br>I get some troubles with DeferredResults but I'm busy now implementing Authentication, and ACL, so I'll ask when I'll back to the code that gave me the problems.<br>
<br>Btw, do you guys know any decent ACL implementation (not based on file system like POSIX one) in Python?, I'm developing it from zero so I'm not a very big fan of reinventing the wheel.<br><br>Best Regards.<br>
<br><div class="gmail_quote">2010/5/11 James Henstridge <span dir="ltr"><<a href="mailto:james@jamesh.id.au">james@jamesh.id.au</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Apr 27, 2010 at 6:03 AM, Oscar Campos<br>
<<a href="mailto:oscar.campos@open-phoenix.com">oscar.campos@open-phoenix.com</a>> wrote:<br>
> Ty very much for the quick reply.<br>
><br>
> I see.<br>
><br>
> Btw, is DeferredStore meant to be threadsafe?<br>
<br>
</div>The DeferredStore does all its database access in a thread, so calls<br>
from multiple threads will be serialised. With that in mind though,<br>
it doesn't mean that using a single store for unrelated concurrent<br>
work is a good idea. Things will be serialised on the connection, so<br>
if you want parallelism you really need multiple connections (and<br>
hence multiple DeferredStores).<br>
<font color="#888888"><br>
James.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Oscar Campos Ruiz-Adame -<a href="mailto:oscar.campos@open-phoenix.com">oscar.campos@open-phoenix.com</a><br>Consultor - Consultant<br>Open Phoenix IT Consultoría Tecnológica - IT Consulting<br>
_________________________________________________<br>Tel. +34 644569088<br><a href="http://www.open-phoenix.com">http://www.open-phoenix.com</a><br>