Mike, Thanks for the reply!
I guess I'm a little confused (I'm only a so-so database guy), but I thought it was a little more difficult than what you describe to make SQLAlchemy work in a threaded environment. I've done some searching about making SQLAlchemy work in Twisted, and haven't had much luck finding solutions. Perhaps my understanding of the problem in twisted is misguided; perhaps SQLAlchemy wouldn't be running in a Twisted thread, but in the main thread as a deferred and would block to long. Maybe I should work on that, try to get SQLAlchemy to work in a thread in Twisted and then have all database calls in the Twisted app be queued to that thread. I'll have to read the links you provided and compare them to what (little) I know about Twisted and see what falls out. Again, thanks for your response, much appreciated! Doug -- View this message in context: http://pylons-discuss.1595796.n2.nabble.com/SQLAlchemey-in-a-threaded-environment-tp5001422p5005855.html Sent from the pylons-discuss mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
