I am designing a simple fail over system with just a primary and standby server. The main one will be in our office, while the standby will be on the cloud. I was reading about virtual IPs and how they provide 'failover' typically for load balancers.
My question:
How are they able to switch so fast?
My limited understanding of DNS data is that they are cached on dns servers worldwide. Surely, it will take time to propagate any changes.