Creating an Agile Data Environment for Apps in the Cloud

Creating an Agile Data Environment
for Apps in the Cloud
Summer 2014
© 2014 ScaleArc. All Rights Reserved.
1
Agenda
• ScaleArc overview
• How ScaleArc enables the cloud
• How ScaleArc works
− Live product demo
• Reference architectures for the cloud
• Discussion – opportunities to collaborate
© 2014 ScaleArc. All Rights Reserved.
2
ScaleArc Overview
© 2014 ScaleArc. All Rights Reserved.
3
ScaleArc at a Glance
• Strong backing by top-tier partners
• Third generation of software platform
“Top 10
Hot Big
Data
Startups”
by CIO.com
• Three broad patents granted – four more in process
• For on-prem or cloud – strong partnerships with cloud providers
© 2014 ScaleArc. All Rights Reserved.
4
4
Apps are Hamstrung by Today’s Database Structure
• 1:1 tie between app and database
• Database = common source of outage
− Planned (maintenance) and unplanned
• Failover causes app errors
• Scaling is challenging and costly
© 2014 ScaleArc. All Rights Reserved.
5
ScaleArc – Enabling An Agile Data Tier, w/ Zero Downtime
• Database traffic management software
− Inserts between apps and databases
− Provides an abstraction layer
• Deploys transparently, in minutes
• Fastest, most cost-effective path to
higher availability and scale
• Supports full range of SQL offerings
© 2014 ScaleArc. All Rights Reserved.
6
Customers Benefitting from Zero Downtime for Apps
© 2014 ScaleArc. All Rights Reserved.
7
How ScaleArc Enables The Cloud
© 2014 ScaleArc. All Rights Reserved.
8
Top Use Cases and Projects for Enterprise Customers
Customer choose ScaleArc for:
Continuous App
Availability
Auto Failover
In or Across
Data Centers
Zero
Downtime
Maintenance
Add Capacity
with No
Downtime
As part of projects for:
Data Center
Modernization
SQL Server
2012/2014
Upgrades
Cloud
Migration
All enabled without any changes to the app or database
© 2014 ScaleArc. All Rights Reserved.
9
Challenges in Cloud Deployments
• Smaller instance sizes
• Inability to architect failover mechanisms
− No support for DNS or IP migration
• Lack of geo control
• Slow performance across WAN boundaries
© 2014 ScaleArc. All Rights Reserved.
10
Key Value Props for ScaleArc in the Cloud
• Enables simple application migration
− Move enterprise workloads to the cloud with no app changes
− Aggregate smaller cloud database instances to behave like one large server
• Provides high-availability solutions with auto failover
− Within one locale or across regions/availability zones
• Delivers high-performance – for cloud and hybrid deployments
− No performance compromise for apps in the cloud
− Supports app in the cloud, database on prem
• Solves future scaling issues
− Scale up and scale out without any app modifications
© 2014 ScaleArc. All Rights Reserved.
11
We are Targeting the Same Work Loads
• eCommerce & SaaS
• Financial services
• Healthcare
• content/media
• Corporate and/ or media-rich sites
Image of
cloud
provider’s
offering
• Dynamic OLTP workloads
• CRM / ERP
• Email / SharePoint
© 2014 ScaleArc. All Rights Reserved.
12
Top Use Cases – Business Perspective (Sales Rep)
#1 – Help me use what I am paying for
• Use both primary and failover database servers (database load balancing)
#2 – Stop my app from locking up during database failover
• Leverage auto failover without having to reboot app servers
#3 – Help me scale out
• Simply add another database server to the pool to get more capacity
#4 – Speed up my slow database
• Split read vs. write queries and cache various reads
© 2014 ScaleArc. All Rights Reserved.
13
Top Three Use Cases – Technical Perspective (SE)
#1 – Continuous application availability
• Customers have implemented failover, but it leaves the app in shambles –
ScaleArc enables the app to survive a database failover
#2 – Visibility
• ScaleArc exposes the query request/response relationship between the
application and the database, especially critical for cloud deployments
#3 – Performance
• ScaleArc’s connection multiplexing, connection management,
authentication offload, caching, and seamless failover speed throughput
© 2014 ScaleArc. All Rights Reserved.
14
14
How ScaleArc Works
© 2014 ScaleArc. All Rights Reserved.
15
ScaleArc in Action
Primary
Secondary
© 2014 ScaleArc. All Rights Reserved.
Secondary
16
Read/Write Split
Primary
Secondary
© 2014 ScaleArc. All Rights Reserved.
Secondary
17
Automatic Failover that Maintains Application Uptime
1
ScaleArc performs
read/write split
2
Upon database
failure, ScaleArc
queues queries
3
ScaleArc directs
queries to new write
server
4
Apps see delay but
not errors
5
Applies to zerodowntime patching
Primary
Secondary
Primary
© 2014 ScaleArc. All Rights Reserved.
Secondary
18
Replication-Aware Load Balancing
10:00:04
10:00:02
10:00:06
10:00:04
10:00:06
10:00:02
10:00:02
10:00:04
Secondary
Secondary
Primary
© 2014 ScaleArc. All Rights Reserved.
19
Query Response Caching
Primary
Secondary
© 2014 ScaleArc. All Rights Reserved.
Secondary
20
ScaleArc Also Improves Availability for Single Servers
Database offload capabilities
• Connection management
− Multiplexing and other
features smooth input to
server to improve efficiency
• Caching
Sysbench Response Time
Faster through ScaleArc
than directly to database
− NoSQL cache accelerates
response time for related
app and offloads database
to better serve non-cached
content
© 2014 ScaleArc. All Rights Reserved.
21
Live Product Demo
© 2014 ScaleArc. All Rights Reserved.
22
Customer Case Studies
© 2014 ScaleArc. All Rights Reserved.
23
Full Cloud Deployment: App and Database in Cloud
App Tier
…
Challenges
•
Smaller database instances
ScaleArc Solution
•
•
•
© 2014 ScaleArc. All Rights Reserved.
Deploy ScaleArc in the cloud in < 30 min
Improve performance
• Local serving of reads with response-time aware load balancing
• Caching for fast throughput
Provide visibility into SQL transactions for additional troubleshooting
24
Cloud Deployment: Cross-Region Failover
App Tier
…
App Tier
…
Challenges
•
•
Enable failover despite lack of DNS/IP migration
App hanging from long timeout
ScaleArc Solution
Replication
•
•
© 2014 ScaleArc. All Rights Reserved.
Enable active/active deployment
• With auto failover to secondary in either location
Queue “in flight” queries during failover to reduce app errors
25
Hybrid Deployments: App in Cloud, Data on Prem
App Tier
…
Challenge
•
WAN latency slows app performance
In
cloud
ScaleArc Solution
•
•
On
prem
© 2014 ScaleArc. All Rights Reserved.
•
Deploy ScaleArc in the cloud in < 30 min
Improve performance
• Local serving of reads with response-time aware load balancing
• Caching for fast throughput
Provide visibility into SQL transactions for additional troubleshooting
26
Thank You
© 2014 ScaleArc. All Rights Reserved.
27