[Zope] Database connections

Oleg Broytmann phd2@earthling.net
Fri, 26 Mar 1999 12:59:33 +0300 (MSK)


Hello.

   Continuing the subject...
   Next question. If Zope opens one connection to a database, how does Zope
manage concurrency?
   Currently, when two CGIs run in parallel, every CGI opens its own
connection to the database, lock neccessary tables, and Postgres manage
concurrency very good (even detecting deadlocks). Next Postgres version
(6,5) will have Multi-version Concurrency Control. But all this is for
different sessions. Zope opens only one session. Is it a problem with
concurrency?

Oleg.
---- 
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.