[Zenoss-dev] DB connection pooling testing

Marc Irlandez mirlandez at zenoss.com
Wed Feb 21 16:21:59 EST 2007


Devs,

I've uploaded a changeset to the trunk that includes a performance  
optimization...MySql DB connection pooling.

Basically, a single synchronized pool (using Queue) of connections is  
created holding 0 to n DB connections. They are created when needed  
and placed into the pool when you are done using them, thus avoiding  
the open and closing of connections for any event related call.

Since this change touches a bunch of files and affects a pretty big  
piece of functionality, it would be good if everyone downloaded it  
and tested.

Let me know if you feel a difference.

Marc






More information about the zenoss-dev mailing list