• Contact Us
  • Support
  • Questions? Contact Us Today: 617.630.2800
  • Follow us on Twitter
  • Join our Facebook Group
  • Find us on LinkedIn
  • Subscribe to our RSS Feed
  • Search Site

  • Solutions
    • By Use Case
    • By Industry
    • By Delivery Model
  • Product
    • Product Architecture
    • Scale Out via Data Distribution
    • Scale Out via Read/Write Splitting
    • Data Traffic Management
    • Availability
    • Key Features / Benefits
    • Easing Capacity Planning
    • What is Database Sharding?
  • Resources
    • Datasheets
    • Case Studies
    • Whitepapers
    • Webinars
    • Videos
    • Scale Out Readiness Calculator
    • Database Assessment
    • Benchmark
    • Frequently Asked Questions
    • Documentation
  • Blogs
    • ScaleBase Blog
    • CTO Blog
  • Company
    • Customers
    • Management
    • News
      • Press Releases
      • Coverage
      • Events
    • Partners
    • Investors
    • Careers
    • Contact Us

You are here: ScaleBase / Blog / Architecture / ScaleBase High Availability

ScaleBase High Availability

10 Jan 2011 / 1 Comment / in Architecture, Blog, Performance, ScaleBase/by scalebase

As ScaleBase moves closer to its public beta stage, it is an opportune time to explain more about how the ScaleBase High Availability solution works. Many customers are already using this solution. I have summarized its main capabilities below.

Database High Availability

Let’s begin by describing ScaleBase’s database high availability options. Database availability in public cloud environments is not a common topic of discussion. Probably since it is very difficult to configure an acceptable high availability solution.

Solutions already exist for data replication between two databases, such as MySQL, and even though MySQL currently only supports asynchronous replication, Most database replication installations around the world are asynchronous, even those involving non-MySQL databases.

So, if we have replication, does that mean that everything works just fine? No. There is a problem with the failover process itself. How do you recognize when a database crashes? And, once such a situation is identified, how do you perform a failover to the backup database? This requires coding applications correctly, so that when specific types of exceptions occur, the connection is closed and then reopened. During that process, running transactions should be closed and rolled back, which is very difficult to implement at the application level.

Another important issue regarding database high availability failover is that failover itself is a destructive action that should not be taken lightly. Database failover typically implies the loss of data, which makes the primary (former) database unusable. After a failover, when the backup database is updated, these updates are often not populated back to the primary database, thereby making the database unusable. In this case, such updates must be manually recreated.

How does ScaleBase handle this scenario?The first problem involves immediate failover, which is quite simple to handle. The ScaleBase Database Load Balancer gets the database exceptions and redirects the commands to the backup database. Transactions can continue running after the lag is handled.

The second problem, which involves consistency lag, is handled by storing a small transaction log in a distributed cache. When a database crashes, the ScaleBase Database Load Balancer detects it and moves all the requests to the backup database. Before doing so, it ensures that all INSERT and UPDATE operations are re-synched to the backup database. Although this may affect performance for a very short period of time, it does ensure data consistency.

Load Balancer High Availability

Simply placing a piece of software in front of the database is not sufficient. This software itself must be highly available. Because the ScaleBase Database Load Balancer uses a share-nothing architecture, except for configuration and a small transaction log, it is easy to add additional load balancers to the Database Load Balancer cluster. However, this requires that the customer know each load balancer, which is not what we at ScaleBase envisioned when trying to build a transparent database high availability SQL Server solution.

Running multiple share-nothing servers on the cloud is simple. Cloud infrastructure providers offer that exact capability. For example, Amazon offers the Elastic Load Balancer solution, which supports both HTTP and TCP/IP. It is a great tool (you can read more about it here http://aws.amazon.com/elasticloadbalancing/), and is totally transparent to the user.

The diagram below shows the architecture of the ScaleBase high availability SQL Server solution:

ScaleBase High Availability Architecture

ScaleBase High Availability Architecture

The Elastic Load Balancer by Amazon, shown in the center of the diagram above, ensures that the ScaleBase Database Load Balancer is highly available. The Database Load Balancer ensures that the databases are highly available.

For more information, you can write a comment here, or reach us via the Contact us link at the top of this page.

One Response to ScaleBase High Availability

  1. ScaleBase High Availability « IT Primer says:
    August 15, 2011 at 8:54 am

    [...] Courtesy:  ScaleBase [...]

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Blog


 

Tweet
database assessment
Popular
  • Can Prepared Statements Improve Your Scalability?May 23, 2011, 5:57 pm
  • MemoryImageSeptember 6, 2011, 10:33 am
  • Backing Up MySQL With ScaleBaseSeptember 12, 2011, 8:34 am
  • Running TPC-C on MySQL/RDSJune 15, 2011, 8:45 pm
Recent
  • ScaleBase presents a Webinar on how to Optimize MySQL Scalability...May 19, 2013, 3:30 pm
  • MySQL Sharding Blog Series: Does Sharding Make Sense on...May 16, 2013, 10:03 am
  • MySQL Sharding Blog Series: Does Sharding Work in the Cloud?May 13, 2013, 9:45 am
  • MySQL Sharding Blog Series: How to Avoid Re-writing ApplicationsMay 6, 2013, 11:54 am
Comments
  • [...] business model, and a strong executive. Scalebase,...February 4, 1:49 am by The Investing Edge of Enterprise IT
  • [...] Recently some customers running on Amazon EC2 asked...December 28, 3:27 pm by High Availability for your ScaleBase instance | MySQL | Syngu
  • [...] ScaleBase Releases Database TPC-C Performance Results...December 12, 2:29 pm by ScaleBase achieves 180K NO-TPM TPCC results on... | MySQL | Syngu
  • Hi Milo - I totally agree. You need to understand how you're...September 6, 10:33 am by liran
Tags
Amazon RDS application re-write Big Data Funding cloud sharding Database Availability database capacity database cloud database scalability database scalability strategy database sharding database virtualization data traffic manager Elastic Load Balancing Hadoop high availability Industry News MySQL MySQL 5.6 MySQL Clustering MySQL Scalability MySQL Scalability Issues MySQL scale out MySQL Sharding MySQL Tuning NewSQL next gen apps NOSQL scalability of databases Sharding single point of failure thread pool

Recent Comments

  • The Investing Edge of Enterprise IT on Management
  • High Availability for your ScaleBase instance | MySQL | Syngu on High Availability for your ScaleBase instance

Solutions

  • Solutions
    • Centralized Database Management & Visibility
    • Scalability
    • Database Availability
    • Delivery Models
    • Industry Solutions

Products

  • Product Overview
    • Product Architecture
    • Scale Out via Data Distribution
    • Scale Out via Read/Write Splitting
    • Data Traffic Management
    • Availability
    • Key Features / Benefits
    • Easing Capacity Planning
    • Database Sharding

Resources

  • Datasheets
  • Case Studies
  • Whitepapers
  • Webinars
  • Videos
  • Scale Out Readiness Calculator
  • Benchmark
  • Frequently Asked Questions
  • Documentation
  • Database Assessment

Company

  • Company
    • Customers
    • Management
    • News
    • Partners
    • Investors
    • Careers
© 2012 Scalebase Inc.

  • |Home
  • |Sitemap
  • |Privacy Policy
  • |Contact Us
  • |Blog