[Zenoss-dev] DB connection pooling testing
Erik A. Dahl
edahl at zenoss.com
Wed Feb 21 17:44:31 EST 2007
Marc,
Looks good. Will we ever use it this way? doesn't everyone call
connect() on EventManagerBase? Does the code hide the pool?
-EAD
On Feb 21, 2007, at 5:35 PM, Marc Irlandez wrote:
> http://dev.zenoss.org/trac/wiki/HowToGetADBConnectionFromThePool
>
> On Feb 21, 2007, at 4:44 PM, Erik A. Dahl wrote:
>
>> Marc,
>>
>> Can you write a how to on using the new functionality and put it
>> on dev? Last thing we want is for people to be doing the wrong
>> thing as they implement new functionality.
>>
>> -EAD
>>
>> On Feb 21, 2007, at 4:21 PM, Marc Irlandez wrote:
>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> zenoss-dev mailing list
>>> zenoss-dev at zenoss.org
>>> http://lists.zenoss.org/mailman/listinfo/zenoss-dev
>>
>> _______________________________________________
>> zenoss-dev mailing list
>> zenoss-dev at zenoss.org
>> http://lists.zenoss.org/mailman/listinfo/zenoss-dev
>
> _______________________________________________
> zenoss-dev mailing list
> zenoss-dev at zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-dev
More information about the zenoss-dev
mailing list