Good practice to write a daemon for Rails -


i run websocket listener on server listen message , update data or invoke worker accordingly. write rails module can update activerecord , enqueue sidekiq task seamlessly. practice in doing this?

i looked through many possible practices , found out rails runner best me.

you can rake tasks.

and absolutely sure can give try faye-rails handle work without running separate workers explicitly.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -