[Twisted-Python] Re: So how does everyone use an ORM in twisted?

Don Dwiggins ddwiggins at advpubtech.com
Tue Mar 17 10:24:00 MDT 2009


David Bolen wrote:

> It's much trickier if you want to use the ORM, unless you are very
> careful to fully eager load every thing in any possible database
> operation if you have need of the information subsequently in your
> twisted code.  Otherwise you may block unexpectedly simply when
> accessing your objects, and end up with database operations from the
> main twisted thread.

So if someone wanted the use of the ORM, would you say that they should 
access the objects through deferreds, just as they would with SQL?  Or 
is it worse than that?

-- 
Don Dwiggins
Advanced Publishing Technology





More information about the Twisted-Python mailing list