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

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -