Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3212026
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T14:47:44+00:00 2026-05-17T14:47:44+00:00

If for any reason MySql server goes down, What are the ways I could

  • 0

If for any reason MySql server goes down,

  1. What are the ways I could still show my page to user? Probably having a backup DB server would help?
  2. 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)?
  3. Approach to maintain copy of main DB on temporary server? Master slave replica method?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T14:47:44+00:00Added an answer on May 17, 2026 at 2:47 pm
    1. If your service depends on database heavily, yes you need to have a backup DB. Otherwise, if it’s only supporting some minor functionality, you could apply the principle of “degradable experience” in that case.

    2. Why not write a small service/daemon that acts as an interface to your DB, runs on your server machine and polls your servers for activity? This service would then handle all of the DB-related queries independently, select the appropriate server, etc so your www service would only forward requests to the daemon and receive results accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There's a lot of information out there regarding installing the ruby/rails mysql gem on
bit of a curly one here let me know if you have any ideas..
Background I am developing a social web app for poets and writers, allowing them
I just joined a web dev project that uses Symfony 1.4 on CentOS 5.4
I'm a php newbie (but long time developer in other languages) and I'm trying
There's an InnoDB table for storing comments for blog posts used by a custom
I have found several topics with this title, but none of their solutions worked
Can the php function mysql_insert_id() return no result after processing the INSERT query in
I have a Ruby on Rails application that has two active environments, Stage and
I am not new to software developing, but in the last years I was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.