[Twisted-Python] Scaling problem
itamar at itamarst.org
Wed Nov 5 10:11:51 EST 2003
On Tue, 4 Nov 2003 23:05:26 -0800 (PST)
Nathan Seven <scosol at yahoo.com> wrote:
> But cant I write my code in a manner so that even if
> every database call timed out infinitely, my
> non-blocking access to it will simply deferr every
> response until my machine runs out of resources to
> handle the stalled db connections?
Yes. If you run the database query in a thread.
Itamar Shtull-Trauring http://itamarst.org/
Available for Python & Twisted consulting
More information about the Twisted-Python