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

30
Continuous MySQL Availability and Scalability ScaleBase Lite and Enterprise December 17, 2014

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

Page 1: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Continuous MySQL

Availability and Scalability

ScaleBase Lite and Enterprise

December 17, 2014

Page 2: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 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

Page 3: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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.

Page 4: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 5: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 6: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

6

Web-scale (Application) Challenges

Availability Scalability Performance Operational

More Users More Data More Transactions More Connections More Everything…

Page 7: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 8: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

8

ScaleBase enables scalability and availability, while

increasing effectiveness and efficiency at all lifecycle stages

Application and Database Lifecycle

Page 9: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

9

Who Are We?

Distributed Database Management System

Architected for the Cloud

Simple. Distributed. Powerful.

Page 10: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Continuous High Availability

Page 11: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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!

Page 12: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 13: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Scaling out

Page 14: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 15: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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)

Page 16: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

16

Extends Throughput Capacity

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

Page 17: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

17

Extends Throughput Capacity

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

Page 18: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Massive Scale Out

Page 19: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

19

Architecture

Page 20: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

20

Effective Data Distribution Is Not Easy

Data

relationships

are extremely

complex

Page 21: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

21

ScaleBase Analysis Genie Brings Order to the Chaos

Understanding

and mapping

complex

relationships

Page 22: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 23: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Demo

Page 24: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

24

ScaleBase Lite Demo Environment

• Continuous availability with automatic failover

• Scale out load with read/write splitting

ScaleBase

Management

Console

Application

(Linux)

Page 25: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Summary

Page 26: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 27: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

27

Select ScaleBase Customers

Page 28: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 29: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

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

Page 30: Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterprise (Webinar Dec 17 2014)

Questions?

Contact Info:Paul Campaniello

[email protected]

Vladi Vexler

[email protected]

Resources:www.scalebase.com

www.scalebase.com/resources

www.scalebase.com/blog

[email protected]

(617) 630.2800