Short and simple question:
fork { something_that_takes_a_few_seconds_and_doesnt_concern_the_user }
respond_to ...
Is there a reason not to do this kind of thing in a rails application? In PHP, we currently rely on external queuing systems such as beanstalk or Amazon SQS, combined with an asynchronous workflow that pulls things out of the queue to run in the background. Depending on the complexity of the task, a simple plug will work better in many cases.
source
share