[Twisted-Python] twisted.enterprise.adbapi appropriate?

Itamar Shtull-Trauring itamar at itamarst.org
Wed Feb 9 14:48:41 EST 2005

On Wed, 2005-02-09 at 10:41 -0800, snacktime wrote:

> If twisted.enterprise.adbapi is going to open a new thread anyways,
> what advantages would there be to restructuring my code as outlined
> above?  The only thing I can think of is that I would get connection
> pooling and not have to open/close a new connection on each request
> (which is definitely a plus).  Am I on track here or am I missing

adbapi also does thread pooling, not just connection pooling. So it
won't start a new thread after the first few queries.

More information about the Twisted-Python mailing list