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

snacktime snacktime at gmail.com
Wed Feb 9 14:56:42 EST 2005

On Wed, 09 Feb 2005 14:48:41 -0500, Itamar Shtull-Trauring
<itamar at itamarst.org> wrote:
> 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.

Ah nice.  So I could completely get rid of starting a new thread for
every request by using adbapi.

More information about the Twisted-Python mailing list