Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sciurus
· 10y ago · 0 comments
Have your load balancer drain connections to a web server. When it has no request in progress, deploy to it. When that's done, move on the the next web server.
Comments
[–]
singlow
10y ago
This doesn't solve the problem when there is a DB migration.
[–]
sciurus
OP
10y ago
This is covered by herge's parent comment. Deploy code that can work with either the old or new DB structure before you perform the migration.