Swimminginthought

A place for all things technical and my mind..

Menu
  • About Me / Hire Me
Menu

Redundant Application and Database Infrastructures

Posted on May 10, 2012 by Percy Kwong

Most people don’t backup their databases, much less set up redundancy.  It’s an important thing to consider when your application / website just cannot go down.

This article discusses what it will take to set up that type of redundancy and I will be following up with a document on how to do it in Mysql.

There are many types of redundancy.  The most important thing to consider when creating redundant infrastructures is to set up a Master-Master situation or Master-Slave situation.

The problem with a Master / Slave situation is when the master goes down, you’re up and running, but recovering the master could be a problem.

The other thing to consider is to NOT place both database servers on the same machine or even in the same location.

It’s important to consider that.

My suggestion is to put one in the cloud and load balance across the masters.  If you’re running a CMS or a database-backed website, you need to set up a duplicate application server in the secondary location as well.  Data will be duplicated in real-time and regardless of whether you hit one application server or the other, the data is replicated.

My personal suggestion is to set up a master-to-master on two locations that are adjacent on the same internet backbone.  This gives you fiber connectivity in most cases between the sites and replication is near instant (usually in the millliseconds range).

People don’t think about this very often and all it leads to is problems.  Having one webserver up and one database is a recipe for disaster.  If your solution is to set it up and then forget about it, you could end up losing a lot of data, uptime, and money.

It happens more than you would think.

I’m available to set this up on a consulting basis for anybody that needs this type of redundancy.

It also load balances your system / applications and will give you more speed and service your customers better, thus giving them a happier experience.

Remember, a happy customer is a returning customer.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Kubernetes install gotcha on CentOS-7.x
  • Infrastructure as Code using AWS Cloudformation
  • Does SSL matter? It does and it’s not just web encryption.
  • Apache can’t serve the .well-known directory
  • Cloudy with a chance of Meatballs
  • Resurrection of the Blog
  • Encryption type Matters with Deep Packet Inspection – solved
  • Completely off topic.. Just a personal note.

Recent Posts

  • Kubernetes install gotcha on CentOS-7.x
  • Infrastructure as Code using AWS Cloudformation
  • Does SSL matter? It does and it’s not just web encryption.
  • Apache can’t serve the .well-known directory
  • Cloudy with a chance of Meatballs

Recent Comments

  • Percy Kwong on Boosting Octane Yourself. I did the research, made it, and proved it.
  • Nick Doelman on Boosting Octane Yourself. I did the research, made it, and proved it.
  • Percy Kwong on International Text solutions – A solution
  • Muzahid Ul Islam on The Browser Wars; Which One is Best?
  • Muzahid Ul Islam on International Text solutions – A solution

Archives

  • September 2019
  • August 2019
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • August 2011
  • June 2011
  • March 2011
  • February 2011
  • November 2010
  • October 2010
  • September 2010
  • July 2010
  • January 2010
  • November 2009
  • October 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008

Categories

  • Activism
  • All
  • Amazon S3
  • Announcements
  • Apache
  • Apple
  • Applications
  • Automation
  • AWS
  • Azure
  • Backups
  • Blogging
  • Books
  • Bootcamp
  • CentOS – RHEL
  • Cloud Computing
  • Cloudformation
  • Consulting Advice
  • Craigslist
  • Databases
  • Deep Packet Inspection
  • Doing the right thing
  • e-Book Readers
  • E-Mail
  • EC2
  • energy-efficiency
  • environment
  • Expose
  • firewalls
  • General Observations
  • Hardware
  • Hope
  • Hosting
  • IaC
  • Important things to do in life
  • Infrastructure as Code
  • Kubernetes
  • Linux
  • Media and Encoding
  • Miscellany
  • Mobile Phones
  • MySql
  • Networking
  • Performance
  • Personal
  • pfsense
  • Politics
  • Privacy
  • Redundancy
  • Routers
  • security
  • SPAM
  • Tech that doesn't work like it should
  • Tips and Tricks
  • Tools that work
  • Tout
  • Video
  • Virtual Computing
  • VOIP-Voice Over IP
  • VPN
  • Web Browsers
  • Web Hosting
  • Websites
  • Windows
  • Wordpress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2026 Swimminginthought | Built using WordPress and Responsive Blogily theme by Superb