Yeah, that makes sense to me, so I already implemented it on this way. 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.
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. 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. 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. Best Regards. 2010/5/11 James Henstridge <[email protected]> > On Tue, Apr 27, 2010 at 6:03 AM, Oscar Campos > <[email protected]> wrote: > > Ty very much for the quick reply. > > > > I see. > > > > Btw, is DeferredStore meant to be threadsafe? > > The DeferredStore does all its database access in a thread, so calls > from multiple threads will be serialised. With that in mind though, > it doesn't mean that using a single store for unrelated concurrent > work is a good idea. Things will be serialised on the connection, so > if you want parallelism you really need multiple connections (and > hence multiple DeferredStores). > > James. > -- Oscar Campos Ruiz-Adame [email protected] Consultor - Consultant Open Phoenix IT Consultoría Tecnológica - IT Consulting _________________________________________________ Tel. +34 644569088 http://www.open-phoenix.com
-- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
