Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17...

Preview:

Citation preview

Continuous MySQL

Availability and Scalability

ScaleBase Lite and Enterprise

December 17, 2014

2

Agenda

• App and Database Lifecycle

• Continuous High Availability

• Quick & Simple Scale Out

– R/WR splitting

– Load balancing

– Data distribution

– Data usage analytics

• Demo

• Q & A

– Please enter your questions on the GTW side panel

3

Vladi Vexler

Vice President, Technology and Product Marketing

Over 15 years experience in software development and product management within cloud, web and enterprises. Author of patents in field of databases innovation, dynamic data caching and machine learning analytics.

4

Application and Database Lifecycle

Tasks

Develop Reliable, Fast and Scalable Apps

Deploy and Operate in High Availability mode

Scale Out/Up Load and Data

Maintain and Optimize

5

Challenges

Time = key resource: Dev, Admin, Time-to-market, Down/Up time

Complexity: Growing mix of apps and their relations: OLTP, BI, Ops

Innovation with Reliability: Retain tools, skills & functionality

Flexible and Resource Efficient:Costs, Time, Tools, DevOps

Application and Database Lifecycle Challenges

6

Web-scale (Application) Challenges

Availability Scalability Performance Operational

More Users More Data More Transactions More Connections More Everything…

7

Scale Out (Database) Challenges

• Cloud infrastructure (Amazon EC2 & RDS)

– Provides tools for easy launch of new EC2/RDS instances

– Does not manage load balance, distribute or aggregate data

• Do-it-yourself approach

– Requires a major development effort

– Complexity escalates over time

– Maintenance (patches, updates, etc.)

• NoSQL

– Not Relational

– Reliability: ACID vs BASE

– Requires major redesign

– Interoperability issues to meet various apps and business needs

8

ScaleBase enables scalability and availability, while

increasing effectiveness and efficiency at all lifecycle stages

Application and Database Lifecycle

9

Who Are We?

Distributed Database Management System

Architected for the Cloud

Simple. Distributed. Powerful.

Continuous High Availability

11

Continuous Availability

• High Availability

– Ability to avoid unplanned outages by eliminating single points of failure

• Continuous Operation

– Ability to avoid planned outages, including maintenance, SW and HW upgrades

• Continuous Availability:

High Availability + Continuous Operation

Availability Downtime per year

99.9% 8:45 hours

99.99% 1 hour (52 min)

99.999% 5 minutes

The average Fortune 500 company loses 80+ hours a year to

downtime, costing companies up to $5 billion a year!

12

MySQL Continuous Availability with ScaleBase

• Your part: N+1 replicated MySQL nodes (MySQL Replication, Galera,

Tungsten, Percona)

• ScaleBase Lite:

– Smart Automatic Failover

– Short Failover Time: 5-10 seconds

– Continuous Operations:

– Smart connection management:

no connection errors during failover

– Reads re-routed to replicas;

Writes held temporarily until complete failover

– Manual Failover and Failback for zero downtime at maintenance

– Transparent to application. Simple to deploy and manage

Scaling out

14

Quick Scale Out

Medium scale needs

Multiple database

replicas performing load

balancing with

read/write splitting

Techniques for MySQL scalability

Massive Scale Out

High scale needs

Complete distributed

database environment,

with policy-based data

sharding/distribution

15

ScaleBase Lite: Quick Scale Out and HA

• Empowers reliable MySQL (InnoDB, MariaDB, Percona, RDS)

• Intelligent load balancing via read/write splitting

• Continuous high availability

• Deploys in minutes

• Connect/disconnect

nodes on the fly

• Retains existing MySQL ecosystem (tools, skill sets, etc.),

while preserving full MySQL functionality (ACID/SQL)

16

Extends Throughput Capacity

AWS recommends: “Scale out your data across multiple DB instances!”

17

Extends Throughput Capacity

AWS recommends: “Scale out your data across multiple DB instances!”

Massive Scale Out

19

Architecture

20

Effective Data Distribution Is Not Easy

Data

relationships

are extremely

complex

21

ScaleBase Analysis Genie Brings Order to the Chaos

Understanding

and mapping

complex

relationships

22

ScaleBase Analysis Genie

• Advanced analytics

– Your schemas, data & queries

• Auto identification of best

data distribution policy

– Customized for even the

most complex apps

• Complete policy control

• Quality assurance

– Review before production

• Simulation of results

– “What-if” analysis

Demo

24

ScaleBase Lite Demo Environment

• Continuous availability with automatic failover

• Scale out load with read/write splitting

ScaleBase

Management

Console

Application

(Linux)

Summary

26

In The Cloud: Amazon & Rackspace

“We welcome ScaleBase to AWS Marketplace with their Distributed Database Platform. Customers with growing application and MySQL database requirements can benefit from migrating to a scalable, virtualized deployment on the cloud.”

Terry HanoldVP, Cloud Commerce, AWS

“The Marketplace is designed to help solve many of the problems with moving businesses to cloud, such as migrating a growing database. Rackspace customers migrating apps to the cloud can leverage a solution that distributes a single MySQL database into smaller, more manageable ones.”

John EngatesCTO, Rackspace

27

Select ScaleBase Customers

28

Customer: Million+ User Online Gaming Company

Who:

• Mobile gaming company expanding globally

• Hosted on SoftLayer cloud in Hong Kong

Problem:

• Over a million downloads - peak period overload

• Needed scaling in place for expansion

Alternatives considered:

• Manually sharding/open source tools

• Other commercial solutions were too costly

Solution:

• Up and running within a few weeks of initial download

• Now supporting hundreds of thousands of daily users

• Fully operational using data distribution and anticipating additional

scale out within next quarter

29

Scale out to unlimited users

Continuous availability

Dynamic workload optimization

Fast and simple deployment

Easily scale out a single

MySQL instance

Optimized for the Cloud

Reduces time-to-market

No changes needed to app or database

Database usage analytics

Intelligent load balancing

Centralized data management

ScaleBase Distributed Database Management System

Questions?

Contact Info:Paul Campaniello

paul.campaniello@scalebase.com

Vladi Vexler

vladi.vexler@scalebase.com

Resources:www.scalebase.com

www.scalebase.com/resources

www.scalebase.com/blog

info@scalebase.com

(617) 630.2800

Recommended