[Twisted-Python] is it possible to use an ORM in Twisted?

slowtech chen slowtech.chen at yahoo.com
Mon Feb 12 05:57:59 EST 2007


Hey guys,

I know there is adbapi to do database operations for twisted. The way adbapi works is similar to deferToThread in some ways, I guess the difference is adbapi handles some thread issues automatically, and provides a connection pool. So here comes my question:

    Is it possible to use an ORM by calling deferToThread(ORM operations...),  it seems to me that if you take care of the thread issues, this is doable. Even so I  have no any clue though :). 

I am new to Twisted and the above is my confusion, any suggestion very welcome.

Regards,
Chen




 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20070212/9a516801/attachment.htm 


More information about the Twisted-Python mailing list