SlideShare a Scribd company logo
DynamoDB
to ScyllaDB
A technical comparison
and path to success
Tim Koopmans, Product Experience
Guilherme Nogueira, Technical Director
Presentation Agenda
+ Introduction
+ Understanding ScyllaDB
+ Comparing DynamoDB and ScyllaDB
+ Migration Options and Tools
+ Case Studies and Best Practices
+ Conclusion
About ScyllaDB
Why ScyllaDB?
On-Prem
Cloud Hosted
Scylla Cloud
Best High Availability in the industry
Best Disaster Recovery in the industry
Best scalability in the industry
Best Performance in the industry
Auto-tune - out of the box performance
Fully compatible with Cassandra & DynamoDB
Best Elasticity in the industry
Best Price/Performance in the industry
Tablets
Schedulers
Shard per Core
Tiered Storage
Built in caching, Load balancing
What sets us apart?
Why do DynamoDB customers switch?
+ Adequate provisioned capacity but high throttling
+ Throttling despite activated AWS Application Auto Scaling
+ Throttling in on-demand capacity mode
+ Presence of a hot partition
+ Traffic exceeding account throughput quotas
ProvisionedThroughputExceededException
Comparing DynamoDB
and ScyllaDB
The benchmark
Provisioned Throughput
200K RCU
250K WCU
Cluster Size
i4i.2XL x 3
YCSB Loaders
c5.2XL x 8
18-150K ops/sec
lp.scylladb.com/price-performance-dynamoDB-benchmark-offer
Latency
Latency
Throughput
Throughput
+ DynamoDB
+ Throughput limited
at partition level
+ ScyllaDB
+ Balanced / prioritized workloads across the
entire cluster
Cost
DynamoDB ScyllaDB
Provisioned cost $30k/mo $4.5k/mo
On-demand cost $206k/mo* $4.5k/mo
P99 latency 20.2 ms 11.1 ms
Migrating from
DynamoDB to
ScyllaDB
+ ScyllaDB is closely related to DynamoDB
Similarities
Dynamo Paper
(Amazon)
BigTable Paper
(Google)
2006 2007 2008 2015
2012
+ ScyllaDB implements CQL
+ Query language
+ Protocol
+ Data model
+ Alternator brought in DynamoDB API compatibility
+ Not a translation layer!
+ Popular standards as transport
+ HTTP/S and JSON
What ScyllaDB brings to the table
Comparison
Aspect CQL DynamoDB API
Transport CQL binary protocol HTTP/S and JSON
Protocol Cluster-aware Single endpoint
Query language Prepared statements No prepared statements
Write model
Conflict-free Replicated Data
Types (CRDT) / Lightweight
Transactions (LWT)
Read-Modify-Write
Comparison - Schema
+ CQL enforces a schema
+ Partition Key(s), Clustering Key(s)
+ CQL types
+ UDTs
+ Materialized Views, Local Secondary Indexes, Global Secondary Indexes
+ CDC
+ DynamoDB enforces Keys
+ Primary Key, Sorting Key
+ DynamoDB Types
+ Local Secondary Indexes, Global Secondary Indexes
+ DynamoDB Streams
Depending on the chosen path
+ DynamoDB to ScyllaDB Alternator
+ No application rewrite
+ Table should work as-is
+ Run DDB-compatible workloads anywhere!
+ DynamoDB to CQL
+ Application and Table changes required
+ Feature-rich, cluster aware
+ High performance
Migration Paths
+ DynamoDB to ScyllaDB Alternator
+ Use DynamoDB-API compatible libraries and tools
+ Dual writes
+ Change application to target both DDB and Alternator
+ Leverage DynamoDB Streams + Lambda
+ Historical data lift-and-shift
+ Read from DDB table
+ Consumes RCUs
+ Beware of throttling and $
+ Export to S3
Migration Paths - DDB to Alternator
+ DynamoDB to ScyllaDB using CQL
+ Use DynamoDB-API compatible tools
+ Python boto3 and Java AWS SDK
+ Native CQL libraries for interacting with ScyllaDB
+ Dual writes
+ Change application to target both DDB and ScyllaDB
+ Historical data lift-and-shift
+ ETL from DDB types to CQL types
+ Read from table or S3
Migration Paths - DynamoDB to CQL
Libraries designed to work with DynamoDB API works with Alternator
+ Python boto3, Java AWS SDK…
+ Kafka Streams Connector
+ NoSQL Workbench
+ Spark
Tooling - Alternator
Tooling - CQL
+ Built-in shard awareness on ScyllaDB drivers
+ Enabled by default
+ Supports many languages:
+ Leveraged by connectors:
+ Rack awareness (save on Cloud networking)
+ Reading tables can trip throttling
+ Impact to Production apps
+ Reading JSON from S3 has its challenges
+ Not everything abides to JSON standards
+ Better to stick with official libraries to import data
+ Schema changes over the years
Challenges
Case Studies And Best
Practices
+ Cost
+ Limited SDK
+ Write throughput
+ Why ScyllaDB?
+ Multi-region
+ ICS, CDC, Seastar shared-nothing, drivers
+ 1ms writes, single-digit read p99
Why did Disney Streaming move out of
DynamoDB?
Real World Examples
Digital Turbine migrated from DynamoDB to ScyllaDB Alternator on GCP
+ Ease of migration
+ No application refactor
+ Reduce cost (20% cost reduction upfront, with opportunity for more)
+ Better performance
+ ScyllaDB Alternator cluster, Cluster ~2,000 ops/sec (90% reads , 10% Writes)
+ Leveraging DynamoDB API
+ DynamoDB ~1,400 ops/sec (90% reads , 10% Writes)
+ Observed light throttling on the DynamoDB side
Real World Examples
Yieldmo migrated from DynamoDB to ScyllaDB Alternator on AWS
+ Billions of ad auctions per day – in milliseconds
+ No room for error
+ No code changes required
+ Improve latencies
+ Reduce cost
+ Keep vital metrics close
+ Use Scylla Monitoring stack
+ Know your data and your application
+ Learn about historical changes to your application
+ Keep it simple
Best Practices
+ Know the technology
+ Use the best tool for the job
+ Apples to Apples migration might be easier
+ Migrating to a different protocol might open many possibilities
+ PoC the technology
+ Application integration, smoke tests
+ Performance comparison
+ Cost
Do’s and Don’ts
+ Use the best tool for the job
+ When interacting with DDB use default libraries
+ CQL Shard-aware drivers
+ Full compatibility is impossible
+ Direct S3 export
+ Lambda triggers
+ CloudFormation integration for creating tables
Do’s and Don’ts - Cont'd
Conclusion
Conclusion
+ ScyllaDB University is 100% FREE
+ Lessons on Alternator and CQL
+ Migration
+ Many useful blogs
+ Customer success stories
+ Migrating from DynamoDB to ScyllaDB can be extremely beneficial
+ Easy to get started
+ Also available as a Managed Service
A ScyllaDB Community
Extreme Scale Engineering | ONLINE | MARCH 11 + 12
Thank you
for joining us today.
@scylladb scylladb/
slack.scylladb.com
@scylladb company/scylladb/
scylladb/

More Related Content

PPTX
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
PDF
Build DynamoDB-Compatible Apps with Python
PDF
Eliminating Volatile Latencies Inside Rakuten’s NoSQL Migration
PDF
New Ways to Reduce Database Costs with ScyllaDB
PDF
Introducing Scylla Cloud
PDF
Use ScyllaDB Alternator to Use Amazon DynamoDB API, Everywhere, Better, More ...
PDF
Alternator webinar september 2019
PPTX
Real-time Fraud Detection for Southeast Asia’s Leading Mobile Platform
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
Build DynamoDB-Compatible Apps with Python
Eliminating Volatile Latencies Inside Rakuten’s NoSQL Migration
New Ways to Reduce Database Costs with ScyllaDB
Introducing Scylla Cloud
Use ScyllaDB Alternator to Use Amazon DynamoDB API, Everywhere, Better, More ...
Alternator webinar september 2019
Real-time Fraud Detection for Southeast Asia’s Leading Mobile Platform

Similar to Moving from DynamoDB to ScyllaDB: Technical Comparison and the Path to Success (20)

PDF
Using ScyllaDB for Extreme Scale Workloads
PDF
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
PDF
Understanding The True Cost of DynamoDB Webinar
PPTX
Scylla Virtual Workshop 2022
PDF
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
PDF
Introducing Project Alternator - Scylla’s Open-Source DynamoDB-compatible API
PDF
Exploring ScyllaDB’s DynamoDB-Compatible API by Guilherme Nogueira & Nadav Ha...
PDF
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
PDF
Running a DynamoDB-compatible Database on Managed Kubernetes Services
PPTX
Free & Open DynamoDB API for Everyone
PDF
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
PDF
Improving Transactional Applications with Analytics
PPTX
AquaQ Analytics Kx Event - Data Direct Networks Presentation
PDF
ScyllaDB Virtual Workshop
PDF
ScyllaDB Virtual Workshop: Getting Started with ScyllaDB 2024
PDF
Moving to Databricks & Delta
PDF
Serverless on AWS : Understanding the hard parts at Froscon 2019
PDF
"Serverless Java Applications" at Froscon 2018 by Vadym Kazulkin/Elmar Warken
PDF
AWS Meetup Paris - Short URL project by Pernod Ricard
PDF
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Using ScyllaDB for Extreme Scale Workloads
Leapfrog into Serverless - a Deloitte-Amtrak Case Study | Serverless Confere...
Understanding The True Cost of DynamoDB Webinar
Scylla Virtual Workshop 2022
Production Ready Serverless Java Applications in 3 Weeks AWS UG Cologne Febru...
Introducing Project Alternator - Scylla’s Open-Source DynamoDB-compatible API
Exploring ScyllaDB’s DynamoDB-Compatible API by Guilherme Nogueira & Nadav Ha...
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
Running a DynamoDB-compatible Database on Managed Kubernetes Services
Free & Open DynamoDB API for Everyone
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
Improving Transactional Applications with Analytics
AquaQ Analytics Kx Event - Data Direct Networks Presentation
ScyllaDB Virtual Workshop
ScyllaDB Virtual Workshop: Getting Started with ScyllaDB 2024
Moving to Databricks & Delta
Serverless on AWS : Understanding the hard parts at Froscon 2019
"Serverless Java Applications" at Froscon 2018 by Vadym Kazulkin/Elmar Warken
AWS Meetup Paris - Short URL project by Pernod Ricard
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Ad

More from ScyllaDB (20)

PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
PDF
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
PDF
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
PDF
Powering a Billion Dreams: Scaling Meesho’s E-commerce Revolution with Scylla...
PDF
Leading a High-Stakes Database Migration
PDF
Achieving Extreme Scale with ScyllaDB: Tips & Tradeoffs
PDF
Securely Serving Millions of Boot Artifacts a Day by João Pedro Lima & Matt ...
PDF
How Agoda Scaled 50x Throughput with ScyllaDB by Worakarn Isaratham
PDF
How Yieldmo Cut Database Costs and Cloud Dependencies Fast by Todd Coleman
PDF
ScyllaDB: 10 Years and Beyond by Dor Laor
PDF
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
PDF
Migrating 50TB Data From a Home-Grown Database to ScyllaDB, Fast by Terence Liu
PDF
Vector Search with ScyllaDB by Szymon Wasik
PDF
Workload Prioritization: How to Balance Multiple Workloads in a Cluster by Fe...
PDF
Two Leading Approaches to Data Virtualization, and Which Scales Better? by Da...
PDF
Scaling a Beast: Lessons from 400x Growth in a High-Stakes Financial System b...
PDF
Object Storage in ScyllaDB by Ran Regev, ScyllaDB
PDF
Lessons Learned from Building a Serverless Notifications System by Srushith R...
PDF
A Dist Sys Programmer's Journey into AI by Piotr Sarna
PDF
High Availability: Lessons Learned by Paul Preuveneers
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 1 - Benchmarking F...
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Powering a Billion Dreams: Scaling Meesho’s E-commerce Revolution with Scylla...
Leading a High-Stakes Database Migration
Achieving Extreme Scale with ScyllaDB: Tips & Tradeoffs
Securely Serving Millions of Boot Artifacts a Day by João Pedro Lima & Matt ...
How Agoda Scaled 50x Throughput with ScyllaDB by Worakarn Isaratham
How Yieldmo Cut Database Costs and Cloud Dependencies Fast by Todd Coleman
ScyllaDB: 10 Years and Beyond by Dor Laor
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
Migrating 50TB Data From a Home-Grown Database to ScyllaDB, Fast by Terence Liu
Vector Search with ScyllaDB by Szymon Wasik
Workload Prioritization: How to Balance Multiple Workloads in a Cluster by Fe...
Two Leading Approaches to Data Virtualization, and Which Scales Better? by Da...
Scaling a Beast: Lessons from 400x Growth in a High-Stakes Financial System b...
Object Storage in ScyllaDB by Ran Regev, ScyllaDB
Lessons Learned from Building a Serverless Notifications System by Srushith R...
A Dist Sys Programmer's Journey into AI by Piotr Sarna
High Availability: Lessons Learned by Paul Preuveneers
Ad

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Moving from DynamoDB to ScyllaDB: Technical Comparison and the Path to Success

  • 1. DynamoDB to ScyllaDB A technical comparison and path to success Tim Koopmans, Product Experience Guilherme Nogueira, Technical Director
  • 2. Presentation Agenda + Introduction + Understanding ScyllaDB + Comparing DynamoDB and ScyllaDB + Migration Options and Tools + Case Studies and Best Practices + Conclusion
  • 4. Why ScyllaDB? On-Prem Cloud Hosted Scylla Cloud Best High Availability in the industry Best Disaster Recovery in the industry Best scalability in the industry Best Performance in the industry Auto-tune - out of the box performance Fully compatible with Cassandra & DynamoDB Best Elasticity in the industry Best Price/Performance in the industry
  • 5. Tablets Schedulers Shard per Core Tiered Storage Built in caching, Load balancing What sets us apart?
  • 6. Why do DynamoDB customers switch?
  • 7. + Adequate provisioned capacity but high throttling + Throttling despite activated AWS Application Auto Scaling + Throttling in on-demand capacity mode + Presence of a hot partition + Traffic exceeding account throughput quotas ProvisionedThroughputExceededException
  • 9. The benchmark Provisioned Throughput 200K RCU 250K WCU Cluster Size i4i.2XL x 3 YCSB Loaders c5.2XL x 8 18-150K ops/sec lp.scylladb.com/price-performance-dynamoDB-benchmark-offer
  • 13. Throughput + DynamoDB + Throughput limited at partition level + ScyllaDB + Balanced / prioritized workloads across the entire cluster
  • 14. Cost DynamoDB ScyllaDB Provisioned cost $30k/mo $4.5k/mo On-demand cost $206k/mo* $4.5k/mo P99 latency 20.2 ms 11.1 ms
  • 16. + ScyllaDB is closely related to DynamoDB Similarities Dynamo Paper (Amazon) BigTable Paper (Google) 2006 2007 2008 2015 2012
  • 17. + ScyllaDB implements CQL + Query language + Protocol + Data model + Alternator brought in DynamoDB API compatibility + Not a translation layer! + Popular standards as transport + HTTP/S and JSON What ScyllaDB brings to the table
  • 18. Comparison Aspect CQL DynamoDB API Transport CQL binary protocol HTTP/S and JSON Protocol Cluster-aware Single endpoint Query language Prepared statements No prepared statements Write model Conflict-free Replicated Data Types (CRDT) / Lightweight Transactions (LWT) Read-Modify-Write
  • 19. Comparison - Schema + CQL enforces a schema + Partition Key(s), Clustering Key(s) + CQL types + UDTs + Materialized Views, Local Secondary Indexes, Global Secondary Indexes + CDC + DynamoDB enforces Keys + Primary Key, Sorting Key + DynamoDB Types + Local Secondary Indexes, Global Secondary Indexes + DynamoDB Streams
  • 20. Depending on the chosen path + DynamoDB to ScyllaDB Alternator + No application rewrite + Table should work as-is + Run DDB-compatible workloads anywhere! + DynamoDB to CQL + Application and Table changes required + Feature-rich, cluster aware + High performance Migration Paths
  • 21. + DynamoDB to ScyllaDB Alternator + Use DynamoDB-API compatible libraries and tools + Dual writes + Change application to target both DDB and Alternator + Leverage DynamoDB Streams + Lambda + Historical data lift-and-shift + Read from DDB table + Consumes RCUs + Beware of throttling and $ + Export to S3 Migration Paths - DDB to Alternator
  • 22. + DynamoDB to ScyllaDB using CQL + Use DynamoDB-API compatible tools + Python boto3 and Java AWS SDK + Native CQL libraries for interacting with ScyllaDB + Dual writes + Change application to target both DDB and ScyllaDB + Historical data lift-and-shift + ETL from DDB types to CQL types + Read from table or S3 Migration Paths - DynamoDB to CQL
  • 23. Libraries designed to work with DynamoDB API works with Alternator + Python boto3, Java AWS SDK… + Kafka Streams Connector + NoSQL Workbench + Spark Tooling - Alternator
  • 24. Tooling - CQL + Built-in shard awareness on ScyllaDB drivers + Enabled by default + Supports many languages: + Leveraged by connectors: + Rack awareness (save on Cloud networking)
  • 25. + Reading tables can trip throttling + Impact to Production apps + Reading JSON from S3 has its challenges + Not everything abides to JSON standards + Better to stick with official libraries to import data + Schema changes over the years Challenges
  • 26. Case Studies And Best Practices
  • 27. + Cost + Limited SDK + Write throughput + Why ScyllaDB? + Multi-region + ICS, CDC, Seastar shared-nothing, drivers + 1ms writes, single-digit read p99 Why did Disney Streaming move out of DynamoDB?
  • 28. Real World Examples Digital Turbine migrated from DynamoDB to ScyllaDB Alternator on GCP + Ease of migration + No application refactor + Reduce cost (20% cost reduction upfront, with opportunity for more) + Better performance + ScyllaDB Alternator cluster, Cluster ~2,000 ops/sec (90% reads , 10% Writes) + Leveraging DynamoDB API + DynamoDB ~1,400 ops/sec (90% reads , 10% Writes) + Observed light throttling on the DynamoDB side
  • 29. Real World Examples Yieldmo migrated from DynamoDB to ScyllaDB Alternator on AWS + Billions of ad auctions per day – in milliseconds + No room for error + No code changes required + Improve latencies + Reduce cost
  • 30. + Keep vital metrics close + Use Scylla Monitoring stack + Know your data and your application + Learn about historical changes to your application + Keep it simple Best Practices
  • 31. + Know the technology + Use the best tool for the job + Apples to Apples migration might be easier + Migrating to a different protocol might open many possibilities + PoC the technology + Application integration, smoke tests + Performance comparison + Cost Do’s and Don’ts
  • 32. + Use the best tool for the job + When interacting with DDB use default libraries + CQL Shard-aware drivers + Full compatibility is impossible + Direct S3 export + Lambda triggers + CloudFormation integration for creating tables Do’s and Don’ts - Cont'd
  • 34. Conclusion + ScyllaDB University is 100% FREE + Lessons on Alternator and CQL + Migration + Many useful blogs + Customer success stories + Migrating from DynamoDB to ScyllaDB can be extremely beneficial + Easy to get started + Also available as a Managed Service
  • 35. A ScyllaDB Community Extreme Scale Engineering | ONLINE | MARCH 11 + 12
  • 36. Thank you for joining us today. @scylladb scylladb/ slack.scylladb.com @scylladb company/scylladb/ scylladb/