WEBINAR
2
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Benchmarks
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
3
4
+ The Real-Time Big Data Database
+ Drop-in replacement for Cassandra
+ 10X the performance & consistent, low latency
+ New: Scylla Cloud, DBaaS
+ Open source and enterprise editions
+ Founded by the creators of KVM hypervisor
+ HQs: Palo Alto, CA; Herzelia, Israel
5
90% 80% 50X
Reduce CAPEX and OPEX
Unstructured dataIncreasing cloud
budget
Unstructured data
growth compared
to structured
6
7
+ Symmetric Nodes (no master)
+ Deployed on multiple AWS Availability Zones per Region
+ Flexible Replication Factor (minimum: 3 copies of the data)
+ Eventual Consistency: Lose up to 2 nodes without data loss
8
+ Operated by Scylla’s skilled cloud DevOps team (24x7)
+ Always on the latest Scylla Enterprise release
+ Automatic daily health check reports
+ Automatic managed repairs
+ Automatic alerts
+ Complete Scylla support stack
+ Scylla Enterprise grade support (tiers 1 - 4)
+ Support Portal
+ PagerDuty and Slack notification
9
10
+ Daily backup to S3 buckets
+ Retention Policy:
+ Last 3 days
+ One week, 2 weeks
+ Restoring backup
+ By customer request
+ Restore into a new, independent cluster
+ Integrated with AWS Secrets Manager (no local keys)
+ Clusters are isolated with security groups, Virtual Private Cloud
Network (VPC)
+ Applying the principle of least privilege per element (AMI, roles, ...)
+ Hotfix for Scylla, underline OS and relevant libraries
+ Encryption At Rest
11
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Benchmarks
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
12
13
Cassandra
Compatibility
Drop-in
replacement,
compatible with
full C* ecosystem
(drivers, etc.)
No
Lock-in
Scylla runs
anywhere and
migrates easily
Less
Expensive
10X less expensive
vs DynamoDB and
Bigtable
High
Performance
Millions of
OPS on
a single node
Low
Latencies
Consistent
single-digit
millisecond
p99 latencies
ScyllaCassandra Scylla
14
15
Cassandra’s and Memcached latency
Scylla’s latency
+
Scylla Cassandra
Requests/
Minute
12,000,000 500,000
AVG Latency 4 ms 8 ms
Max Latency 8 ms 35 ms
+ CQL native protocol
+ JMX management protocol
+ Management command line
+ SSTable file format
+ Configuration file format
+ CQL language
16
17
18
https://www.scylladb.com/wp-content/uploads/comp-scylladb-vs-dynamodb.pdf
https://www.scylladb.com/2018/12/13/scylla-vs-amazon-dynamodb/
the cost of the latency of
1/10 1/3
19
How does compare to ?
+ YCSB, prepared statements
+ Workload A, 50%:50% read:update
+ Requested SLA: 60k write ops, 60k read ops, < 10ms P95
+ 1TB dataset
+ i3.8xlarge | 32 vCPU | 244 GiB RAM | 4 x 1.9TB NVMe
+ 3-node cluster on single DC | RF=3
20
21
+ YCSB, prepared statements
22
23
24
Provisioned
amount
Partitions
New Provisioned
amount
25
26
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Use Cases
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
27
28
29
— Jason Mills,
+ Multi-region deployment
+ Migrating from Apache Cassandra 2.1
+ Use VPC peering (per region)
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Benchmarks
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
30
31
Instance Type vCPUs RAM (GB) Storage (TB)
t2.micro 1 .5 .005 EBS
i3.large 2 15.25 0.475 SSD
i3.xlarge 4 30.5 0.95 SSD
i3.2xlarge 8 61 1.9 SSD
i3.4xlarge 16 122 3.8 SSD
i3.8xlarge 32 244 7.6 SSD
i3.16xlarge 64 488 15.2 SSD
Hourly Annual/Monthly Annual/Upfront
t2.micro ✔
i3 family ✔ ✔ ✔
Flexible Pricing OptionsRange of Instances
Zone A Zone B Zone C
Region
32
Rack A Rack B Rack C
DC
AWS Scylla
Region DC
Zone Rack
33
Rack A Rack B Rack C
DC
34
Rack A Rack B Rack C
DC
35
Rack A Rack B Rack C
DC
Zone A Zone B
36
Zone 1A Zone 1B Zone 1C
Region 1
Zone 2A Zone 2B Zone 2C
Region 2
Zone 3A Zone 3B Zone 3C
Region 3
37
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Benchmarks
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
38
App
App
App
App
App
App
Read and Write with
RF= { 'class' : 'NetworkTopologyStrategy', 'EU' : 3, US : 3};
CL=LOCAL_QUORUM
Write
39
Read and Write with
RF= { 'class' : 'NetworkTopologyStrategy', 'EU' : 3, US : 3};
CL=LOCAL_QUORUM
App
App
App
App
App
App Read
40
+ What happens if the server I’m connected to is gone?! How do we balance
+ Drivers can set HA policy and multi-dc setting for resiliency
>>> from cassandra.policies import DCAwareRoundRobinPolicy
>>> cluster = Cluster(
contact_points=['12.9.31.182, 12.9.31.183, 12.9.31.184'],
load_balancing_policy=
TokenAwarePolicy(DCAwareRoundRobinPolicy(local_dc='EU')),
default_retry_policy = RetryPolicy()
)
SSTable
Loader
SSTables CQL
CQL CQL
Client
CQLCQL
Client
42
+ Dual Write
Application logic is updated to write to
both DBs
+ Forklifting
Migrate historical data from Cassandra
SSTables to Scylla
+ Dual Reads
Ongoing validation of data sync
between the two DBs
+ Intro to ScyllaDB and Scylla Cloud
+ Benefits & Use Cases
+ Demo
+ Deployment Options
+ Working with Scylla Cloud
+ Next Steps
43
44
Take a class at Scylla University
Read our Scylla Cloud On-boarding blog post
Sign up for the Scylla Slack channel
Sign up and get started now
45
http://slack.scylladb.com/
scylladb.com/product/scylla-cloud/
scylladb.com/blog
university.scylladb.com

Introducing Scylla Cloud

  • 1.
  • 2.
  • 3.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Benchmarks + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 3
  • 4.
    4 + The Real-TimeBig Data Database + Drop-in replacement for Cassandra + 10X the performance & consistent, low latency + New: Scylla Cloud, DBaaS + Open source and enterprise editions + Founded by the creators of KVM hypervisor + HQs: Palo Alto, CA; Herzelia, Israel
  • 5.
    5 90% 80% 50X ReduceCAPEX and OPEX Unstructured dataIncreasing cloud budget Unstructured data growth compared to structured
  • 6.
  • 7.
  • 8.
    + Symmetric Nodes(no master) + Deployed on multiple AWS Availability Zones per Region + Flexible Replication Factor (minimum: 3 copies of the data) + Eventual Consistency: Lose up to 2 nodes without data loss 8
  • 9.
    + Operated byScylla’s skilled cloud DevOps team (24x7) + Always on the latest Scylla Enterprise release + Automatic daily health check reports + Automatic managed repairs + Automatic alerts + Complete Scylla support stack + Scylla Enterprise grade support (tiers 1 - 4) + Support Portal + PagerDuty and Slack notification 9
  • 10.
    10 + Daily backupto S3 buckets + Retention Policy: + Last 3 days + One week, 2 weeks + Restoring backup + By customer request + Restore into a new, independent cluster
  • 11.
    + Integrated withAWS Secrets Manager (no local keys) + Clusters are isolated with security groups, Virtual Private Cloud Network (VPC) + Applying the principle of least privilege per element (AMI, roles, ...) + Hotfix for Scylla, underline OS and relevant libraries + Encryption At Rest 11
  • 12.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Benchmarks + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 12
  • 13.
    13 Cassandra Compatibility Drop-in replacement, compatible with full C*ecosystem (drivers, etc.) No Lock-in Scylla runs anywhere and migrates easily Less Expensive 10X less expensive vs DynamoDB and Bigtable High Performance Millions of OPS on a single node Low Latencies Consistent single-digit millisecond p99 latencies
  • 14.
  • 15.
    15 Cassandra’s and Memcachedlatency Scylla’s latency + Scylla Cassandra Requests/ Minute 12,000,000 500,000 AVG Latency 4 ms 8 ms Max Latency 8 ms 35 ms
  • 16.
    + CQL nativeprotocol + JMX management protocol + Management command line + SSTable file format + Configuration file format + CQL language 16
  • 17.
  • 18.
  • 19.
  • 20.
    + YCSB, preparedstatements + Workload A, 50%:50% read:update + Requested SLA: 60k write ops, 60k read ops, < 10ms P95 + 1TB dataset + i3.8xlarge | 32 vCPU | 244 GiB RAM | 4 x 1.9TB NVMe + 3-node cluster on single DC | RF=3 20
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Use Cases + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 27
  • 28.
  • 29.
    29 — Jason Mills, +Multi-region deployment + Migrating from Apache Cassandra 2.1 + Use VPC peering (per region)
  • 30.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Benchmarks + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 30
  • 31.
    31 Instance Type vCPUsRAM (GB) Storage (TB) t2.micro 1 .5 .005 EBS i3.large 2 15.25 0.475 SSD i3.xlarge 4 30.5 0.95 SSD i3.2xlarge 8 61 1.9 SSD i3.4xlarge 16 122 3.8 SSD i3.8xlarge 32 244 7.6 SSD i3.16xlarge 64 488 15.2 SSD Hourly Annual/Monthly Annual/Upfront t2.micro ✔ i3 family ✔ ✔ ✔ Flexible Pricing OptionsRange of Instances
  • 32.
    Zone A ZoneB Zone C Region 32
  • 33.
    Rack A RackB Rack C DC AWS Scylla Region DC Zone Rack 33
  • 34.
    Rack A RackB Rack C DC 34
  • 35.
    Rack A RackB Rack C DC 35
  • 36.
    Rack A RackB Rack C DC Zone A Zone B 36
  • 37.
    Zone 1A Zone1B Zone 1C Region 1 Zone 2A Zone 2B Zone 2C Region 2 Zone 3A Zone 3B Zone 3C Region 3 37
  • 38.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Benchmarks + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 38
  • 39.
    App App App App App App Read and Writewith RF= { 'class' : 'NetworkTopologyStrategy', 'EU' : 3, US : 3}; CL=LOCAL_QUORUM Write 39
  • 40.
    Read and Writewith RF= { 'class' : 'NetworkTopologyStrategy', 'EU' : 3, US : 3}; CL=LOCAL_QUORUM App App App App App App Read 40
  • 41.
    + What happensif the server I’m connected to is gone?! How do we balance + Drivers can set HA policy and multi-dc setting for resiliency >>> from cassandra.policies import DCAwareRoundRobinPolicy >>> cluster = Cluster( contact_points=['12.9.31.182, 12.9.31.183, 12.9.31.184'], load_balancing_policy= TokenAwarePolicy(DCAwareRoundRobinPolicy(local_dc='EU')), default_retry_policy = RetryPolicy() )
  • 42.
    SSTable Loader SSTables CQL CQL CQL Client CQLCQL Client 42 +Dual Write Application logic is updated to write to both DBs + Forklifting Migrate historical data from Cassandra SSTables to Scylla + Dual Reads Ongoing validation of data sync between the two DBs
  • 43.
    + Intro toScyllaDB and Scylla Cloud + Benefits & Use Cases + Demo + Deployment Options + Working with Scylla Cloud + Next Steps 43
  • 44.
    44 Take a classat Scylla University Read our Scylla Cloud On-boarding blog post Sign up for the Scylla Slack channel Sign up and get started now
  • 45.