Performance Zone is brought to you in partnership with:

Sean Hull is a renowned author, speaker and advisor on MySQL & Oracle databases, web performance and scalability, EC2, Linux & Internet Architecture. He is the author of "Oracle & Open Source" O'Reilly, 2001, and speaks widely at conferences and forums. With 20 years of professional experience, he consults with large enterprises and startups in New York City and the San Francisco Bay Area. Sean is a DZone MVB and is not an employee of DZone and has posted 64 posts at DZone. You can read more from them at their website. View Full User Profile

High Availability – What is it and why is it Important?

07.20.2012
| 8660 views |
  • submit to reddit

Highly available systems build redundancy into the application and the architecture layers to mitigate against disasters.  Since computing systems are made from commodity hardware and components which are prone to failure, having redundancy at every layer is key.

Redundancy of switches, network interfaces, and load balanced webservers are fairly straightforward and run-of-the-mill.  But clustering your database tier is another trick entirely.  With MySQL, master-master active-passive can work quite well, running circular replication to send all changes to both nodes.  Both nodes are able to handle production traffic, and you pick the one that is active simply by configuring your application to point to that.  Use a technology like MMM or Pacemaker to front your database cluster with a virtual IP (vip), so no application or webserver changes are required to switch which node takes on the master role.

Redundant components are important in a single datacenter, but what if that datacenter goes out or gets hit by a natural disaster?  Is your whole business out?  That’s where geographic redundancy comes in.  Geographic redundancy and geo load balanced DNS comes in.  Having redundant copies of your whole site on both the east and west coast with geo-dns provides the next level of high availability.

Sean Hull discusses on Quora – What is High Availability and why is it important?

Published at DZone with permission of Sean Hull, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)