If for any reason MySql server goes down,
- What are the ways I could still show my page to user? Probably having a backup DB server would help?
- If I've multiple DB servers and one goes down, I can fetch data from another temporary server? How to detect that main server is down? Who would select alternate server? role of reverse proxy server here? Is Varnish capable of doing this kind of switching via VCL (Varnish Configuration Language)?
- Approach to maintain copy of main DB on temporary server? Master slave replica method?
Thanks