When responding to a request, is it possible to send the response and then continue processing?
Or do you need to run a background process? What is the simplest solution?
Sinatra app on Heroku, Ruby 1.9.3.
You can have another thread running, see for example:
http://mark-watson.blogspot.com/2011/11/ruby-sinatra-web-apps-with-background.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With