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:
- the delayed job container might start quicker
- 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
Post a Comment