[SqueakDBX] Connection Pooling

John Toohey jt at parspro.com
Fri Mar 26 19:45:26 UTC 2010


Found GlorpSeaside to-day, and looking at that. Think it will be perfect,
just starting to play with it now, hopefully it will play nice with
GlorpDBX.


On Fri, Mar 26, 2010 at 15:16, Esteban Lorenzano <estebanlm at gmail.com>wrote:

> oops, I'm very sorry for the delay, I completely forgot to answer this
> email.
> My Pool implementation can be download from here:
>
> http://www.squeaksource.com/Officious (package name: Pool)
>
> it is a very small, very simple (and probably buggy) implementation.
> Here are some example of it's use:
>
>
>        pool :=  (Pool creator: [ self createSession ])
>                maxObjects: 10;
>                maxRetries: 3;
>                waitTimeInMilliseconds: 50;
>                yourself.
>
>        session := pool borrow.
>        ... your glorp code...
>        pool release: session.
>
>
> Cheers,
> Esteban
>
>
> El 17/03/2010, a las 5:02p.m., John Toohey escribió:
>
> > As soon as I get it, I will get to work on it, and let you know the
> > progress. Once I have it fully testing, I'll be in touch to publish
> > it.
> >
> > On Wed, Mar 17, 2010 at 08:18, Mariano Martinez Peck
> > <marianopeck at gmail.com> wrote:
> >> John, feel free to take Esteban's one, change it, make it better, write
> >> tests, whatever... and we can publish in SqueakDBX repository as an
> >> "offical" package.
> >>
> >> Thanks!!
> >>
> >> Mariano
> >>
> >> On Wed, Mar 17, 2010 at 1:09 PM, John Toohey <jt at parspro.com> wrote:
> >>>
> >>> Hey,
> >>> That would be great. I was going to write my own, but wanted to see
> >>> what was available first.
> >>>
> >>> Thanks.
> >>>
> >>> On Tue, Mar 16, 2010 at 17:46, Esteban Lorenzano <estebanlm at gmail.com>
> >>> wrote:
> >>>> Hi,
> >>>> I did my own connection pooling using with GlorpDBX... a very simple
> >>>> one... if you are interested, I can send to you the class and some
> example
> >>>> :P
> >>>>
> >>>> El 16/03/2010, a las 1:36p.m., John Toohey escribió:
> >>>>
> >>>>> Hi,
> >>>>> I was wondering if anyone has done something with DB connection
> >>>>> pooling for GlorpDBX? I know about,
> >>>>> http://onsmalltalk.com/making-a-connection-pool-for-glorp-in-seaside
> ,
> >>>>> but would like to know if someone has implemented it in the GlorpDBX
> >>>>> layer.
> >>>>>
> >>>>> --
> >>>>> -JT
> >>>>> _______________________________________________
> >>>>> SqueakDBX mailing list
> >>>>> SqueakDBX at lists.squeakfoundation.org
> >>>>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
> >>>>
> >>>> _______________________________________________
> >>>> SqueakDBX mailing list
> >>>> SqueakDBX at lists.squeakfoundation.org
> >>>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> -JT
> >>> _______________________________________________
> >>> SqueakDBX mailing list
> >>> SqueakDBX at lists.squeakfoundation.org
> >>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
> >>
> >>
> >> _______________________________________________
> >> SqueakDBX mailing list
> >> SqueakDBX at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
> >>
> >>
> >
> >
> >
> > --
> > -JT
> > _______________________________________________
> > SqueakDBX mailing list
> > SqueakDBX at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>
> _______________________________________________
> SqueakDBX mailing list
> SqueakDBX at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>



-- 
-JT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20100326/1fb5965f/attachment.htm


More information about the SqueakDBX mailing list