[Zope-DB] How to do analysis? (was Re: Saga continues...)
Matthew T. Kromer
matt at zope.com
Wed Oct 29 11:55:30 EST 2003
That sounds like a plan.
FWIW, I'm currently planning on being in England from Nov 15 to about
Nov 21.
On Wednesday, October 29, 2003, at 05:47 AM, Chris Withers wrote:
> Matthew T. Kromer wrote:
>
>> I'd probably use a module level global with a thread lock and a
>> transaction registered thingy that requested context to be managed
>> from the module globals.
>
> Is the DA object currently that thingy?
>
> I'm planning on having a DA instance->pool of connections module-level
> mapping, where each DA object grabs a connection from the pool during
> transaction begin (stored as an integer connection id in a _v_
> variable) uses it in the query method, and gives in back during
> transaction finalise.
>
> Sound like a plan?
>
> cheers,
>
> Chris
>
More information about the Zope-DB
mailing list