Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan

ScyllaDB 195 views 47 slides Mar 12, 2025
Slide 1
Slide 1 of 47
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47

About This Presentation

This talk will explore why ScyllaDB Cloud is a cost-effective alternative to DynamoDB, highlighting efficient design implementations like shared compute, local NVMe storage, and storage compression. It will also discuss new X Cloud features, better plans and pricing, and a direct cost comparison bet...


Slide Content

A ScyllaDB Community
Reduce Your Cloud
Spend with ScyllaDB
Tzach Livyatan
VP of Product

Agenda
■Reduce cost with ScyllaDB
■Reduce cost with ScyllaDB Cloud
■Coming Soon

Reduce cost with ScyllaDB

UNIQU
E
Guaranteed SLAPerfect horizontal & Vertical Scale
Query
Stream
Compac
tion
OLAP
task
CPU
Our Technology
1000 Nodes Cluster
8000 Cluster
K8S Deployment
60TB per Node 256 Cores per Node
1B Operations
per Second
Userspace
I/O Scheduler
Disk
Query
Commitlog
Compaction
Queue
Queue
Queue
0.5msec
Shards (per core)

Scylla Design Decisions
1C++ instead of Java

2All Things Async

3Shard per Core

4Unified Cache

5
I/O Scheduler

6
Autonomous

Scylla Design Decisions
1C++ instead of Java

2All Things Async

3Shard per Core

4Unified Cache

5
I/O Scheduler

6
Autonomous

Scylla Design Decisions
Threads







Shards
1C++ instead of Java

2All Things Async

3
4Unified Cache

5I/O Scheduler
6
Autonomous
Shard per Core

ScyllaDB Design Decisions
Legacy NoSQL Scylla
Key cache
Row cache
On-heap /
Off-heap
Linux page cache
SSTables
Unified cache
SSTables
Complex
Tuning
1
2All Things Async

3Shard per Core

4Unified Cache
5
I/O Scheduler

6
Autonomous
C++ instead of Java

Andy Pavlo
Are You Sure You Want to Use MMAP in Your Database Management System? (CIDR 2022)

ScyllaDB Design Decisions
Query
Commitlog
Compaction
Userspace
I/O
Scheduler
Disk
Max useful disk concurrency
I/O queued in
FS/device
No
queues
Queue
Queue
Queue
1
2All Things Async
3Shard per Core
4Unified Cache

5I/O Scheduler

6
Autonomous
C++ instead of Java

ScyllaDB is Different
11
■Multi queue
■Poll mode
■Userspace
■TCP/IP
■Thread per core
■lock-free
■Task scheduler
■Reactor programing
■C++14/17/20…
■NUMA friendly
■Log structured
allocator
■Zero copy
■DMA
■Log structured
■merge tree
■DB Aware cache
■Userspace I/O
■scheduler

Introducing
Tablets!

RAFT group
No. 299238
RAFT group
No. 299236 RAFT group
No. 299237
Tablets
key1key2
tablet
tablet
replica
tablet
replica

Replica Writes

Reduce cost with ScyllaDB Cloud

XCloud
Reduce Network Cost

XCloud Goals
■Reduce Costs with Just In Time scaling
■Reduce Costs with higher Storage utilization
■Improve UX with faster boot and scale

Mix Size + Fast Scaling =
Higher Storage Utilization

ScyllaDB Cloud
Available and Used Storage per zone
i4i.16xlarge i4i.16xlarge
i4i.16xlarge
i4i.16xlarge
i4i.16xlarge
i4i.16xlarge

ScyllaDB Cloud
Available and Used Storage per zone
Scale Trigger in 70%
Take a day
Initial reservation 15TB

ScyllaDB X Cloud
Available and Used Storage per zone
Scale Trigger in 90%
Effected Immediately

ScyllaDB X Cloud
Available and Used Storage per zone
i4i.16xlarge
I4i.2xlarge 1.875 TB
I4i.16xlarge 15 TB

ScyllaDB X Cloud
Available and Used Storage per zone
i4i.16xlarge
I4i.2xlarge 1.875 TB
I4i.2xlarge 1.875 TB

ScyllaDB X Cloud
Available and Used Storage per zone
i4i.16xlarge
I4i.2xlarge 1.875 TB
Consolidation to
I4i.4xlarge 3.75 TB

ScyllaDB X Cloud
Available and Used Storage per zone

ScyllaDB X Cloud
Allocated Resources

ScyllaDB X Cloud
XCloud Allocated Resources

ScyllaDB X Cloud

ScyllaDB X Cloud Summary
Tablets allow ScyllaDB Cluster to:
■Scale fast
■Run on heterogeneous servers

Which allows Scylla Cloud to:
■Just In Time Scaling
■Higher Storage Utilization

Which allow the user to Save Costs

Reduce Network Cost

Tablet File-based streaming
■Similar to Cassandra Zero-copy Streaming
■But better ;-)
■Tablets are always owned by the replica
■Simply copy, done.
■Up to x25 faster streaming compare to older versions

ScyllaDB X Cloud (2025.X)
Up to 3 times better compression, less network and storage usage.

Active/Active, replicated, auto-sharded
33
Multi-zone Deployment
us-east-1a
us-east-1b
us-east-1c

Active/Active, replicated, auto-sharded
34
Single-zone Deployment
us-east-1a

Coming Soon

Obj Storage Backend
Flexible Pricing

Today NVMe
■Local
■Ultra Fast
■Ephemeral
■Cheaper than EBS/SAN

Object Store / S3 based
■Remote
■Higher Latency
■Persistent
■Cheaper than SSD

NVMe vs S3 Obj Storage

S3 & Tablets = Win^2
tablet
tablet
replica
tablet
replica
Node
Node
Node
Node
Node
Node
Node

Tiered Storage
Cheap, Huge, Slow S3
■Latency < 100 ms
■No Size Limit
■Persistent, (more HA)
Expensive, Big, Fast SSD
■Latency < 1 ms
■Storage < 50TB per node
■Persistent, HA
Expensive, Small, Super Fast Cache
■Latency < 1 microsecond
■RAM < 1TB
■Not persistent

Scylla Cloud Pricing
$$$ On Demand > $$ Flex Credit > $ Reserved

Pricing On Demand
On Demand

Pricing Reserved
Reserved

Pricing Reserved + On Demand
Reserved
On Demand

Pricing Reserved + Flex
Reserved
Flex

Billing & Metering Progress

DynamoDB 50%
ScyllaDB Cloud guarantee to provide a 50% cost reduction compare to
DynamoDB

Summary
You can should use ScyllaDB to reduce cost in the cloud

ScyllaDB reduce costs using:
■Core Engineering
■Cloud Engineering
■Flexible Pricing

Thank You
Tags