by methodover · 11y ago · 0 comments
In our own Django web app, we basically just use the load balancer for deploys. Our service provider (Linode) has a nice API, so when deploying we just do one server at a time and direct traffic away from the ones doing the upgrade. It's not complicated and works just fine... At least when there are just two machines.
It sends traffic to a new instance only after the healthchecks are passing. Makes for a really nice rolling restart workflow.