by moralestapia · 4y ago · 0 comments
Nothing bad with that, thought, and part of its genius is how simple it is.
This also gives you a bit more resilience, if the app on node dies (out of memory/disk/bug/whatever), the proxy will just send the traffic to the other node without having to wait for DNS to switch
It's perfectly ok to immediately flip the entire traffic if you are a one man shop and your customers will tolerate it.
> I’ve already mentioned my 2 application servers. But the magic thing that makes it all possible is a floating IP address from DigitalOcean.
To the user nothing changes, including IP.