Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Martin Bright <Martin.Bright <at> casero.com>
Subject: database best practices
Newsgroups: gmane.comp.python.twisted.web
Date: Tuesday 25th November 2008 05:28:21 UTC (over 9 years ago)
Hi!

What is the best way to implement synchronous DB access in a twisted
application?  I've read about defer.deferredGenerator, and various threads
about how it's a stupid idea to even attempt this. Do I have restructure my
code such that everything that depends on results from a database query is
in a callback to a deferred object?

-martin
 
CD: 3ms