On Saturday, 2 January 2016 at 10:05:56 UTC, Sebastiaan Koppe
wrote:
That is nice. Didn't know that. That would enable
zero-downtime-updates right?
Yes, although you might still break existing connections unless
you can make the previous process wait for the existing
connections to close after killing it.
I use docker a lot so normally I run a proxy container in front
of the app containers and have it handle ssl and virtual hosts
routing.
I haven't needed to migrate out of my linux server yet (12c/24t
128gb) but when I do, I'll just add another one and go for DNS
round robin. I use cloudflare currently and in practice you can
add/remove A records and it'll round robin through them.
If your server application is capable of running as multiple
instances, it's only a matter of having the database/cache
servers accessible from another server and you've got a very
efficient load balancing that doesn't require any proxies.