Background Processing for CSV Exports of data

Hello Everyone,

I’d like to provide a page where the user can click to export some
data as a csv file. It would be great to have the page show a
progress value for percent complete on generating the file (file
generation takes between 1 and 4 minutes currently). Once complete, I
can show a link to download the temporary file.

I’ve looked into BackgrounDrb and found some examples with monitoring
the worker’s progress, but with Rails on the scene for a few years
now, I find it difficult to google an example, tutorial, or
recommendation that is not outdated with respect to BackgrounDrb.

Can anyone point me in a direction that is current?

Thank you for your time and help with this issue.