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 -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -