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
Post a Comment