Best practice for Rails App to run a long task in the background?

后端 未结 14 1453
时光取名叫无心
时光取名叫无心 2020-12-07 20:49

I have a Rails application that unfortunately after a request to a controller, has to do some crunching that takes awhile. What are the best practices in Rails for providin

14条回答
  •  时光取名叫无心
    2020-12-07 21:18

    I personally use active_messaging plugin with a activemq server (stomp or rest protocol). This has been extremely stable for us, processing millions of messages a month.

提交回复
热议问题