ruby on rails - Sidekiq servers in different machines consuming from one Redis -


right have rails application hosted in heroku , have sidekiq workers managed there.

i thinking on having rails in heroku client push jobs redis queue, , have n machines have sidekiq daemons jobs redis queue rails pushing jobs.

my question is:

  • can have several sidekiq daemons process jobs same queue? can't find example specifies how so. have seen sidekiq pure ruby, fail see how write server starts fetching jobs.

  • (this concerns me most) once job done, how send results rails? thinking on posting result via json. appreciate feedback on too.

  • finally, if possible have several sidekiq servers, should manage workers/jobs/ - set ui in rails side enough?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -