[Zope] Re: zeo.conf socket

John Poltorak jp at warpix.org
Wed Dec 15 11:46:36 EST 2004


On Wed, Dec 15, 2004 at 11:39:08AM -0500, Tres Seaver wrote:
> Michele Marcionelli wrote:
> 
> > Since I am planing to run two zope clients on the same (dual 
> > processor) machine, I think that it is better to use socket (faster) 
> > instead of tcp/ip. Is that correct?
> 
> Configuring the ZEO server to listen only on a Unix-domain socket 
> doesn't allow you to scale as well, because it requires that the 
> appserver(s) run on the same machine as the storage.  Given that 
> restrictin, it should be faster than talking through the 'localhost' 
> interface (although 'localhost' access is often optimized by the kernel).
> 
> > You said that the 'socket-name' key in the <runner> section is not 
> > related to ZEO... but what is the <runner> section for?
> 
> The 'zopectl' process is a shell which talks to a "daemon manager" 
> process, which in turn forks and runs Zope as a daemon.  zopectl 
> communicates with the daemon manager via a Unix-domain socket, which is 
> configured (among other options) in the <runner> section.

Do you have an example of this?

I've been looking for a way of specifying the name of a socket, but have 
been able to do it so far.
 
> Tres.
> -- 
> ===============================================================
> Tres Seaver                                tseaver at zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com


-- 
John





More information about the Zope mailing list