+1 on the general goals, however I have no idea if it's easy to implement.
Christian Theune wrote:
a while ago I realized that I liked the initial opening of network ports
immediately on server start.
After working on a busy site with ZEO in the summer I wished that this
feature would be configurable. There are different scenarios that ask
for opening the network ports early or late:
You are a developer and restart your server frequently. You want the
ports to be open as soon as possible, even if the site takes a while to
load, because your browser accepts a reload immediately. If you use
tabbed browsing this also notifies you when the server is ready and you
can read /. while waiting ...
You are have a site with only a single application server (w/ or w/o
ZEO) and have to restart your server. You want to minimize proxy errors
(via Apache) and connection losses experienced by people visiting your
site/using your application. So opening the ports early is good here.
You are have a site that uses a ZEO cluster. You have to restart the
application servers while people are using the site. As you have a load
balancer, there are always some application servers around that can
answer the queries. Now you want to open the network ports as late as
possible. In the ideal case, when the complete server is ready. This
avoids that people's connections go onto a still booting server and have
to wait for several seconds which results in a even more loaded queue on
the booting server ...
Does this sound reasonable to make the behaviour of opening the ports
configurable? Does anybody have an idea how hard this would be to do?
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -