Fwd: [SqueakDBX] Simple object pool 0.1.1 "released".

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [SqueakDBX] Simple object pool 0.1.1 "released".

Mariano Martinez Peck
Thanks Panu. This is awesome. We will integrate your info in our website!!

:)

mariano

---------- Forwarded message ----------
From: Panu Suominen <[hidden email]>
Date: Mon, Mar 7, 2011 at 8:28 AM
Subject: [SqueakDBX] Simple object pool 0.1.1 "released".
To: The complete and open-source solution to relational database access <[hidden email]>


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
_______________________________________________
SqueakDBX mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx