[SqueakDBX] Simple object pool 0.1.1 "released".

Panu Suominen panu.j.m.suominen at gmail.com
Mon Mar 7 07:28:25 UTC 2011


Long time ago I mailed that I have started to build new pooling
solution for objects because I could not find existing one with tests.
Then I promised to improve documentation. It has taken quite long time
but now I have created minimal documentation
that should enable people to try my implementation. Currenlty it is
nothing spectacular.

Project can be found at http://www.squeaksource.com/ObjectPool.html
the wiki there should get you started.

If one has loaded GlorpDBX one could start using pool with following
code to start pooling SqueakDBX connections:

Gofer new squeaksource:'ObjectPool';
package:'ConfigurationOfObjectPool';
load.

((Smalltalk at: #ConfigurationOfObjectPool) project version:'0.1.1')
load:#('default' 'dbx').
SqueakDatabaseAccessor DefaultDriver: OPSqueakDBXDriver.

Currently OPSqueakDBXDriver does not restrict the amount of active or
pooled connections.
I will improve that soon. One can load basic pooling implementation
without DBX-related stuff
by just executing:
((Smalltalk at: #ConfigurationOfObjectPool) project version:'0.1.1') load.

-- 
Panu


More information about the SqueakDBX mailing list