[Zope] Re: Zope and mod_python

Tres Seaver tseaver at zope.com
Tue Feb 8 08:18:48 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
| Pascal Peregrina wrote:
|
|> This is because each request is handled in a dedicated Apache process,
|> which is linked to an independent python process.
|
| Hmmm, how and where are connections made to the ZODB?

Each mod_python child process is its own ZEO client.

| Is there still a long-running process with this method?

Not except for the ZEO storage server.  Apache is responsible for
managing the lifetime of its child processes (which would likely persist
across some number of requests).

This is the major benefit of the approach:  sysadmins don't have to
monitor / manage a separate daemon.  Another potential benefit is that
each child behaves as a single-threaded appserver, with no
GIL-contention issues.  A potential downside is that the child processes
will not be able to reused the local ZEO client cache.

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCLw4GqWXf00rNCgRAvH9AJ48xgV31DG2JQIG/JwvcfwQ2OsV/wCfRbol
cYfTEYTOhnQ0oIqxcSkhya0=
=5tiT
-----END PGP SIGNATURE-----



More information about the Zope mailing list