a ridiculously easy & seriously powerful sql cloud database itamar haber avp ops & solutions

22
A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Upload: logan-moreno

Post on 26-Mar-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

A Ridiculously Easy & Seriously Powerful SQL Cloud Database

Itamar Haber

AVP Ops & Solutions

Page 2: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Agenda

• About Us

• Common pains with the database tier

• Xeround’s SQL Cloud Database

• Demonstration Create Your New DB Instance

Connect to Your DB Instance

Scale Your Database

Survive a Server Crash

Page 3: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

About Us

• About Xeround, the company: Founded in 2005 and backed by solid VC investors

Initial premise: Telco-Grade, Real-Time DBMS

Already deployed in live Telco production – T-Mobile US, Pelephone ISR

• About Xeround, the technology and service: Designed from day one for a Cloud ecosystem

Patented native Virtualized Cloud DB, balancing Innovation with Traditional SQL

Simple to use, seriously powerful

• About myself: 17+ years around database-based applications and DBMSs in various

capacities

Last 4.5 years with Xeround doing product, project and operations management

There is a crack in everything – that’s how the light gets in (Leonard Cohen)

Page 4: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

(Some) Common Pains with the Database Tier

• Database server installation Operating system installation

Configuration: storage, networking…

• Database server maintenance Patches and upgrades

Backup (and restore) policies

• Database operation Monitoring

High Availability: fail over (& failback)

Scaling

Page 5: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Xeround SQL Cloud Database-as-a-Service

• Elastic, Available & Simple!

• Worry Free philosophy – operational aspects all handled by the service

• Robust functionality, full compatibility with MySQL

• Self-service management portal

Page 6: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Demonstration:

Create Your New DB Instance

Page 7: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

General Architecture

DB Instance Manager

DBaaSResourceManager

DBaaSResourceManager

Serv

ice A

PI

Serv

ice A

PI

DBaaSOperator

webPortal

CustomerSelf Serve

Web Portal

Page 8: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

• The virtualized Database is built from three separate elements: Load Balancer

SQL Engine

Data Store

• Each element is scalable

• Physical resources for each element are managed individually

LoadBalancer

LoadBalancer

LoadBalancer

SQLEngine

SQLEngine

SQLEngine

SQLEngine

SQLEngine

DataStore

DataStore

DataStore

DataStore

Virtualized Database Layers

Page 9: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

• Load Balancer – The gateway to a database instance

Maintains transaction stickiness and balances the load between the SQL engine instances

Handles failover of SQL engines

• SQL Engine - MySQL Façade implementation

Processes SQL statements into distributed parallel plan of execution

Gathers the results from the different processes and assembles the final result for the application

• Data Store - Distributed data stores, which maintain the data in its different representations

DHT, Distributed B-Tree and Object Store, which are the basic data services required by the database

Pluggable persistency layer

Virtualized Database Layers, cont.

Page 10: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

DBaaS Resource Manager uses the Cloud API to acquire resources for the database service and to provision the service elements on those resources

Cloud ResourcesLoad

BalancerLoad

BalancerLoad

Balancer

SQLEngine

SQLEngine

SQLEngine

SQLEngine

SQLEngine

DataStore

DataStore

DataStore

DataStore

DBaaSResourceManager

DBaaSResourceManager

Cloud API

DBaaS Resource Management

Page 11: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Demonstration:

Connect to Your DB Instance

Page 12: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Connecting to Your Cloud Database

• 100% compatible with MySQL

• No code changes required to port an existing application

• Built-in advanced features (e.g., replication, load balancing…) are transparent to the user

Page 13: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

The DB Instance Manager is responsible for creating databases, by allocating slices from the Load Balancer, the SQL Engine and the Data Store physical resources.

DBaaSResourceManager

DBaaSResourceManager

DataStore

DataStore

DataStore

DataStore

DataStore

DataStore

LoadBalancer

LoadBalancer

LoadBalancer

SQLEngine

SQLEngine

SQLEngine

SQLEngine

SQLEngine

DB InstanceManager

Database Instance

Database Instance Management

Page 14: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Demonstration:

Scale Your Database, Automatically!

Page 15: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

3 Ways to Scale Your Database Instance

1. Manual Scaling - via the self-service portal GUI

2. Auto-Scaling Currently: thresholds-based rules

Near-future: advanced rule- and policy-based scaling

3. API - enables programmatic access to the service’s capabilities

Page 16: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

DBaaSResourceManager

DBaaSResourceManager

DataStore

DataStore

DataStore

DataStore

DataStore

DataStore

LoadBalancer

LoadBalancer

LoadBalancer

SQLEngine

SQLEngine

SQLEngine

SQLEngine

SQLEngine

DB InstanceManager

Database Instance

Database Instance Scaling

Each element may be scaled separately:

Load Balancer = More connections

SQL Engine = More queries/ complexity

Data Store =More data

Page 17: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Demonstration:

Server Crashes, Your Database Survives

Page 18: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

P1

P2

P3

P4

P1

P2

P4

P2

P3

P4

P1

P3

A database With 4 virtualpartitions

Each Virtual partition is replicated across multiple servers. If any one of the servers fails, all data is still available and the DB is still operational

This enables a recovery process to occur, by acquiring a replacement server, and re-sync the server from existing partitions

Host Host Host

Data Distribution

Page 19: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

P1

P2

P3

P4

P1

P2

P4

P2

P3

P4

Host Host Host

Fault Tolerance & Automatic Healing

1) When a server fails, surviving replicas maintain the service

P1

P3

2) The system heals itself by automatically “re-growing” the missing replicas

3) A pool of failover servers is kept online to expedite process

P1

P3

Page 20: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Summary

• Xeround offers a SQL Cloud DBaaS that is: Simple to use

Elastic so it always fits your requirements

Highly available

Fully-compatible with MySQL

• Xeround’s DBaaS frees you from worrying about: Patching and upgrading your database server

Operating a backup policy

Planned and unplanned downtime

Page 21: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

Xeround DBaaS Deployments

• Xeround Cloud DB service is currently deployed on Amazon US(East), Amazon Europe and Rackspace US

Additional Cloud Service Providers coming soon…

NORTH AMERICA

EUROPE

Page 22: A Ridiculously Easy & Seriously Powerful SQL Cloud Database Itamar Haber AVP Ops & Solutions

A Ridiculously Easy & Seriously Powerful Cloud Database - See it in Action!

Questions?

Thank You!

http://xeround.com/

Visit us in Booth 407