Over a million developers have joined DZone.
Platinum Partner

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

· Performance Zone

The Performance Zone is brought to you in partnership with New Relic. Quickly learn how to use Docker and containers in general to create packaged images for easy management, testing, and deployment of software.

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?

The Performance Zone is brought to you in partnership with New Relic. Read more about providing a framework that gets you started on the right path to move your IT services to cloud computing, and give you an understanding as to why certain applications should not move to the cloud.

Topics:

Published at DZone with permission of Sean Hull .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}