From: Robert Klemme Date: 2009-09-11T15:05:12+09:00 Subject: Re: Global Mutex? On 11.09.2009 04:30, Aryk Grosz wrote: > I actually ran into that global bottleneck issue when ruby processes > would get KILLED midprocess leaving this lock file. I added a "cleanup" > action which makes sure the PID file is no being occupied by a process > that doesn't exist. Actually that was not what I meant. I referred to the fact that if you have a single global lock that all concurrent processes must acquire, then your overall performance will suffer. > Thanks for the pointers guys. I think my solution is 98% robust. Let's see... That makes 365 days * 2% = 7.3 days downtime per year. ;-) Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/