[Zope-dev] RDB connections and cursors
Leonardo Rochael Almeida
leo@hiper.com.br
20 Nov 2002 16:05:29 -0200
On Tue, 2002-11-19 at 20:10, Dieter Maurer wrote:
> Leonardo Rochael Almeida writes:
> > ...
> > Assuming my reasoning above is correct we should be able to create a
> > single connection and a single cursor on __setstate__ of the DA
> > connector instance of the ZODB. The transaction boundaries would be
> > handled normally, but since a worker thread only handles one request at
> > a time, there's no need to close the cursor nor the connection at the
> > transaction end.
> Isn't this precisely how most existing DA's work?
erm... indeed yes. I Should've researched a bit more...
--
Ideas don't stay in some minds very long because they don't like
solitary confinement.