[Twisted-web] Good ROM tool ?

Valentino Volonghi aka Dialtone dialtone at divmod.com
Tue Jan 17 09:51:35 MST 2006


On Tue, Jan 17, 2006 at 06:54:57AM -0500, Paul G wrote:
> it would be interesting to hear where the problem points are from 
> valentino, since sqlalchemy is what i'm looking at using right now and he's 
> obviously looked into it already. i suspect that doing unspeakable things 
> to the 'Unit Of Work' part of sqlalchemy might be needed to get the ORM 
> stuff working with twisted. thoughts?

SQLAlchemy is failry simple and little. There are only a bunch of things that
run queries and you only have to be sure that those are the only things that
need to run in a thread.

things like the execute/fetch*/commit/select calls need to go in a separate
thread, everything else can be done inthread without worries. SQLAlchemy is
thread safe (it may contain bugs anyway) and it should work without problems.

-- 
Valentino Volonghi aka Dialtone
Now Running MacOSX 10.4
Blog: http://vvolonghi.blogspot.com
http://weever.berlios.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20060117/3328037d/attachment.pgp


More information about the Twisted-web mailing list