[Zope-dev] Timing the opening of network ports

Dieter Maurer dieter at handshake.de
Tue Aug 29 12:50:43 EDT 2006


Jens Vagelpohl wrote at 2006-8-28 20:14 +0200:
>On 28 Aug 2006, at 19:19, Andreas Jung wrote:
>
>> Some time ago the following patch was proposed to control the timing
>> for opening the socket ports upon startup:
>>
>> <http://mail.zope.org/pipermail/zope-dev/2005-November/025709.html>
>>
>> I propose to adapt the patch for Zope 2.11 since it is pretty  
>> useful especially when you deal with loadbalancers and have Zope  
>> instances that
>> take a lot time for starting up (e.g. Plone :-)). Any objections?
>
>+1
>
>If you have load balancers that only look for open ports (or a single  
>instance with no load balancers even) this will improve the user  
>experience for people who hit the site upon startup. IMHO it's more  
>helpful to get a "connection refused" reply in a browser than a  
>browser that sits and sits and sites...

Can we make this configurable?

Earlier Zope versions had bound the ports rather late.
When later Zope versions bound the ports early, I was quite happy.

Unlike you, I prefer when the browser waits until Zope
has come up over me  having to reload manually until it
finally is ready...



-- 
Dieter


More information about the Zope-Dev mailing list