Keeping your latency
SLAs No Matter What
Eyal Gutkind, VP of Solutions, ScyllaDB
Presenter
2
Eyal Gutkind
Eyal Gutkind is VP of Solutions at ScyllaDB leading the
solutions team focused on user experience and
satisfaction with Scylla products. Prior to joining ScyllaDB,
Eyal held product management roles at Mirantis and
DataStax, and spent 12 years with Mellanox Technologies
in various engineering management and product marketing
roles.
Why should you care about DB latency?
+ User experience
+ System stability
+ Liability
Where do latencies
come from?
Hardware has all the faults, Right?!
+ Disk seek time
+ SSD latency
+ Media buffering
Hardware has all the faults, Right?!
+ How far are you from your data?
+ Data routing
+ Network technologies
Hardware has all the faults, Right?!
+ Compute resources
Database Architecture Contribution
+ Primary-Secondary architecture Databases
Database Architecture Contribution
+ Primary-Secondary architecture Databases
+ Single threaded Databases
Database Architecture Contribution
+ Primary-Secondary architecture Databases
+ Single threaded Databases
+ Virtual Machine dependent Databases
What about your data model?
+ Hot partitions
+ Full table scans
+ Reverse ordering of data
+ Cross data center transactions
Sizing poll
Solved by Scylla
C++ instead of Java
14
Shard per Core
Threads Shards
15
Unified Cache
Cassandra Scylla
Key
cache
Row
cache
Linux page cache
SSTables
Unified cache
SSTables
Complex Tuning
On-heap /
Off-heap
16
I/O Scheduler
17
Self-Optimizing
18
Driver opens connections to all CPUs,
and learns which tokens
belong to each CPU.
Request is sent directly to owner.
CPU that owns
the token
Token
Shard-aware drivers - Scylla
How our customers
solved the latency
issues
22
+
+
+
Ok, can we have
the recipe?
Size your application properly
+ Business needs
+ High Availability
+ Application performance tuning
Hardware
+ Select non-blocking building blocks
+ Ample amount of CPU, memory, media and network bandwidth
+ IaaS
+ NVMe based instances
+ On - Prem
+ Focus on media and network bandwidth
Data modeling
+ Partition Key entropy
+ Query design
+ Monitoring, Monitoring, Monitoring
Summary
+ We can control latencies
+ Developers, DevOps and System operators need to collaborate
+ Database architecture has an impact on your tail-end latencies
+ Low hanging fruits
+ Data modeling
+ Traffic patterns
+ Test drive your application
Stay in touch
eyal@scylladb.com
@gutkinde
Q&A
United States
2445 Faber St, Suite #200
Palo Alto, CA USA 94303
Israel
Maskit 4
Herzliya, Israel 4673304
www.scylladb.com
@scylladb
Thank You!

Keeping your application’s latency SLAs no matter what