3 Mar
2001
3 Mar
'01
7:12 p.m.
Erik Stephens writes:
I've been working on an implementation of connection pooling for the MySQLDA. Basically, Zope connections will be pooled by connection string to reduce the number of unecessary connections to MySQL. Isn't that trivial with Zope (thanks to acquisition)?
Just instantiate a single MySQL Database Connection per connect string (sufficiently high above in the site hierarchy). Use it below through acquisition. Dieter