durusmail: quixote-users: scgi and zodb
scgi and zodb
2004-09-08
2004-09-08
scgi and zodb
Thomas Guettler
2004-09-08
Hi,

I want to use scgi and zodb. I looked at the source
of Dulcinea0.2.1 which seems the last release for zodb.

Since scgi uses fork to create new processes, every
child gets the same connection to zodb. I use
ZEO with a socket file.

If several child processes read and write to this socket without
syncronization, something will get broken if the load gets
high.

I looked at dulcineas start_request(), which only
calls connection.sync(). No own connection is created.

Do you understand what I mean?

Is there something syncronizing the several processes
talking the the zeo socket? Is this done in the
commit method of ZODB?

 Regards,
   Thomas



reply