When deploying Rails via Passenger or Mongrel you have multiple instances of the application running. What is the best practice or pattern to establish a mutex on shared res
You could use a background job scheduler to do the actual work, for example delayed_job (http://github.com/tobi/delayed_job).