
9 Feb
2005
9 Feb
'05
8:56 p.m.
On Wed, 09 Feb 2005 14:48:41 -0500, Itamar Shtull-Trauring itamar@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.