I have a couple of processes in my Rails application that call to an external web API - and take a long time to finish. I've considered moving them to process in the background.
I would like to be able to show the user the progress of the background process (i.e. a progress bar).
First, are there any good tutorials/learning resources on implementing a progress bar with jQuery in Rails (not related to a file upload process)? I've seen a lot of resources on displaying the graphic - but not a lot of information on how to hook the graphic updating to the actual background process.
Second, as I consider the various gems for background processing, is there one that would work better with a progress bar (i.e. Delayed Jobs, Resque, Sidekiq)?
Thank you