We currently have three services: web, worker and scheduler. They are all on the same repository and really should all be running the same code. If we deploy to the latest version, they ALL need to be on the latest version. If we revert, they ALL should be reverted to that other version.
How are other’s handling this situation? Do they have 3 services? Or are you combining them into a single service and running multiple processes on that service?
This also relates to the cron job too. Our scheduler is firing off 20 different scheduled jobs. Having a built-in scheduler seemed like a nice way to go but it does seem to compound this same issue 20 fold. Now instead of 3 we’d have 22 services running that require a build each time and we have to coordinate what version it’s running on.