ruby on rails - Dockerizing Delayed Job -


we working on dockerizing our ruby on rails application, includes delayed job. question buzzing within our development team whether and/or how dockerize delayed job component separately application.

this allow delayed job start new containers when necessary high traffic within jobs queue. in addition, since delayed job starts rails application each time when first booting up, thought following benefits follow:

  1. the delayed job container might start quicker
  2. application code start regardless of delayed job container startup time

so know guy responsible rails app uses delayed jobs. when came time dockerize said app, got container each. both containers using same codebase 1 runs frontend , 1 jobs. it's not devops microservice-eriffic works.

outside of logical separation between two, docker containers supposed have single process running inside. could've hacked seemed wrong break docker fundamental out of gate.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -