开发者

Rails background job with status monitoring

开发者 https://www.devze.com 2023-03-26 12:01 出处:网络
I have done quite a bit of reading on background libraries/engines for ruby/rails (including Resque, Starling and workling, BackgroundJob and delayed_job), however, I unsure of whether you can establi

I have done quite a bit of reading on background libraries/engines for ruby/rails (including Resque, Starling and workling, BackgroundJob and delayed_job), however, I unsure of whether you can establish the progress of a current job using any of the above, or other, engine?

I am stripping some audio out of a file with ffmpeg and would like to be ab开发者_开发问答le to provide some progress on how the job is coming along. I thought I could poll status of jobs using one of the above but I am unsure if that is possible.

Any suggestions on whether I can poll for progress using some job engine on ruby/rails?

Cheers


Does the resque-progress gem help you?

You could use it to pass the progress amount back that way.

0

精彩评论

暂无评论...
验证码 换一张
取 消