Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Re: Upgrading Perl in production environmentby jfroebe (Parson) |
on Mar 19, 2004 at 17:36 UTC ( [id://338073]=note: print w/replies, xml ) | Need Help?? |
Actually it is best to have both with deferred as the default. Why? Because sometimes it is better to fail completely and restart the process then to hang forever. This would be primarily useful in production environments where time is the critical factor (i.e. Trading systems). update I guess I should have been more clear... the scripts for maintenance mostly and information gathering not for the trading itself. The maintenance windows tend to be very short. If a scripts hangs on say a gethostbyaddr() then abort the call, and retry the gethostbyaddr().. if the script goes down, start the entire job over. If the process normally takes 10 mins and if the script hangs on 9 mins 59seconds, then I would rather risk restarting that hanging operation then having to start all over again... if it goes down, then I will start it all over again. I'm using "trading systems" as an example..
In Section
Seekers of Perl Wisdom
|
|