SlideShare a Scribd company logo
ScyllaDB as a DynamoDB
Alternative
Felipe Cardeneti Mendes
Felipe Cardeneti Mendes
● Technical Director at ScyllaDB
● Linux and Open Source enthusiast
● ScyllaDB Passionate
ScyllaDB and
DynamoDB
When is ScyllaDB an overkill?
■ ScyllaDB is a distributed leaderless database
○ 3 nodes at least
○ NVMe flash storage:
■ Faster
■ Less Expensive than EBS
■ Primary dimensions to watch out:
○ Low Throughput – Infrastructure underutilization;
○ Storage Growth – High density tables → Infrastructure overhead
■ Did you know DynamoDB charges you for RAW uncompressed data? :-)
■ Secondary dimensions:
○ Dependency on AWS ecosystem – Requires considerable refactoring effort
○ Feature set – Expiration Events, Accounting/Capping, Multi-item transactions
Comparison
Overview (and gotchas)
ScyllaDB Specific Considerations (and Features)
■ Workload Prioritization
○ Helps with workload consolidation
○ Adaptability to Changing Conditions
○ Addresses the "too many tables" problem
■ Excess capacity is shared
■ Enhanced infrastructure utilization
ScyllaDB Specific Considerations (and Features)
■ Specialized Cache
○ Read-through – No consistency
concerns
○ Built-in
○ Simplified operations
ScyllaDB Specific Considerations (and Features)
■ Elasticity
○ Tablets are here! :-)
○ Still no "autoscaling" – but easily
achievable
○ Instant request serving
DynamoDB: When to
Move Out?
Reason 1: You Keep Throwing Money at it
You know how much you pay, very little about why?
■ Writes are considerably more expensive than Reads
■ Single table design → More indexes → Higher price/ops
■ Global Tables, Dynamo Streams, S3, DAX, Streams… Woot!
Reason 2: Throttling
Also known as ProvisionedThroughputExceededException:
■ Force you to back-off, introducing a latency penalty
■ Far easy to hit
■ Non-tunable load shedding mechanics
Reason 3: You know what DAX stands for
… and now you have two different animals to manage! :-)
■ Doesn't sustain single-digit millisecond latencies at scale
■ Cache helps, but comes with its own nuances:
○ Write to DDB → Read from cache → Stale read!
○ Writes are still synchronous
○ No tightly coupling: Strongly consistent reads still require Dynamo
■ Adds latency!
Reason 4: Limits, Troubleshooting & Observability
Common blockers:
■ 400KB Item size limit
■ Local Secondary Indexes require… Re-creating the table?
■ Developer Flexibility: DynamoDB Local?
■ Little integration off AWS ecosystem
■ Single-table organization & Querying inflexibility
Reason 5: Auto-scaling
No silver bullet, and still requires thorough planning:
■ Avoids provisioning for peak capacity, BUT;
■ Works best for gradual increases or decreases in traffic
■ Burst capacity handles occasional spikes
AWS DynamoDB Auto Scaling is not a magic bullet
DynamoDB: How to
Move Out?
Query Language
Supported protocols:
■ CQL – Binary protocol
○ Native load balancing
○ Parallel Request Multiplexing
○ Prepared statements, token/shard awareness…
■ DynamoDB API – JSON over HTTP(S)
○ Requires a load balancer
○ Drivers tend to need to open more connections
○ No notion of prepared statements nor consistent hashing
Migration Nutshell
Client
Writes / Reads
Enable DynamoDB
Streams
Reads Writes
Consume Changes
Sync Changes
Writes / Reads
ScyllaDB Migrator
What Else?
Keep in touch!
Felipe Mendes
Technical Director
ScyllaDB
felipemendes@scylladb.com
LinkedIn

More Related Content

Similar to DynamoDB Cost Optimization Masterclass: ScyllaDB as a DynamoDB Alternative (20)

PDF
Build DynamoDB-Compatible Apps with Python
ScyllaDB
 
PDF
ScyllaDB Virtual Workshop
ScyllaDB
 
PPTX
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
ScyllaDB
 
PDF
How Development Teams Cut Costs with ScyllaDB.pdf
ScyllaDB
 
PDF
Using ScyllaDB for Extreme Scale Workloads
MarisaDelao3
 
PPTX
Free & Open DynamoDB API for Everyone
ScyllaDB
 
PDF
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
DevOps.com
 
PDF
ScyllaDB Virtual Workshop: Getting Started with ScyllaDB 2024
ScyllaDB
 
PDF
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
ScyllaDB
 
PDF
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
PPTX
Why We Chose ScyllaDB over DynamoDB for "User Watch Status"
ScyllaDB
 
PDF
Recent ScyllaDB Cloud Highlights and Future Roadmap by Michael Hollander & Iv...
ScyllaDB
 
PDF
5 Factors When Selecting a High Performance, Low Latency Database
ScyllaDB
 
PDF
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
ScyllaDB
 
PDF
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
 
PDF
Using ScyllaDB for Real-Time Write-Heavy Workloads
ScyllaDB
 
PDF
Scylla Summit 2022: How ScyllaDB Powers This Next Tech Cycle
ScyllaDB
 
PPTX
Replacing Your Cache with ScyllaDB
ScyllaDB
 
PPTX
MongoDB vs Scylla: Production Experience from Both Dev & Ops Standpoint at Nu...
ScyllaDB
 
PDF
Replacing Your Cache with ScyllaDB by Felipe Cardeneti Mendes and Tomasz Grabiec
ScyllaDB
 
Build DynamoDB-Compatible Apps with Python
ScyllaDB
 
ScyllaDB Virtual Workshop
ScyllaDB
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
ScyllaDB
 
How Development Teams Cut Costs with ScyllaDB.pdf
ScyllaDB
 
Using ScyllaDB for Extreme Scale Workloads
MarisaDelao3
 
Free & Open DynamoDB API for Everyone
ScyllaDB
 
Running a Cost-Effective DynamoDB-Compatible Database on Managed Kubernetes S...
DevOps.com
 
ScyllaDB Virtual Workshop: Getting Started with ScyllaDB 2024
ScyllaDB
 
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
ScyllaDB
 
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Why We Chose ScyllaDB over DynamoDB for "User Watch Status"
ScyllaDB
 
Recent ScyllaDB Cloud Highlights and Future Roadmap by Michael Hollander & Iv...
ScyllaDB
 
5 Factors When Selecting a High Performance, Low Latency Database
ScyllaDB
 
Reduce Your Cloud Spend with ScyllaDB by Tzach Livyatan
ScyllaDB
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
 
Using ScyllaDB for Real-Time Write-Heavy Workloads
ScyllaDB
 
Scylla Summit 2022: How ScyllaDB Powers This Next Tech Cycle
ScyllaDB
 
Replacing Your Cache with ScyllaDB
ScyllaDB
 
MongoDB vs Scylla: Production Experience from Both Dev & Ops Standpoint at Nu...
ScyllaDB
 
Replacing Your Cache with ScyllaDB by Felipe Cardeneti Mendes and Tomasz Grabiec
ScyllaDB
 

More from ScyllaDB (20)

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

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Ad

DynamoDB Cost Optimization Masterclass: ScyllaDB as a DynamoDB Alternative

  • 1. ScyllaDB as a DynamoDB Alternative Felipe Cardeneti Mendes
  • 2. Felipe Cardeneti Mendes ● Technical Director at ScyllaDB ● Linux and Open Source enthusiast ● ScyllaDB Passionate
  • 4. When is ScyllaDB an overkill? ■ ScyllaDB is a distributed leaderless database ○ 3 nodes at least ○ NVMe flash storage: ■ Faster ■ Less Expensive than EBS ■ Primary dimensions to watch out: ○ Low Throughput – Infrastructure underutilization; ○ Storage Growth – High density tables → Infrastructure overhead ■ Did you know DynamoDB charges you for RAW uncompressed data? :-) ■ Secondary dimensions: ○ Dependency on AWS ecosystem – Requires considerable refactoring effort ○ Feature set – Expiration Events, Accounting/Capping, Multi-item transactions
  • 6. ScyllaDB Specific Considerations (and Features) ■ Workload Prioritization ○ Helps with workload consolidation ○ Adaptability to Changing Conditions ○ Addresses the "too many tables" problem ■ Excess capacity is shared ■ Enhanced infrastructure utilization
  • 7. ScyllaDB Specific Considerations (and Features) ■ Specialized Cache ○ Read-through – No consistency concerns ○ Built-in ○ Simplified operations
  • 8. ScyllaDB Specific Considerations (and Features) ■ Elasticity ○ Tablets are here! :-) ○ Still no "autoscaling" – but easily achievable ○ Instant request serving
  • 10. Reason 1: You Keep Throwing Money at it You know how much you pay, very little about why? ■ Writes are considerably more expensive than Reads ■ Single table design → More indexes → Higher price/ops ■ Global Tables, Dynamo Streams, S3, DAX, Streams… Woot!
  • 11. Reason 2: Throttling Also known as ProvisionedThroughputExceededException: ■ Force you to back-off, introducing a latency penalty ■ Far easy to hit ■ Non-tunable load shedding mechanics
  • 12. Reason 3: You know what DAX stands for … and now you have two different animals to manage! :-) ■ Doesn't sustain single-digit millisecond latencies at scale ■ Cache helps, but comes with its own nuances: ○ Write to DDB → Read from cache → Stale read! ○ Writes are still synchronous ○ No tightly coupling: Strongly consistent reads still require Dynamo ■ Adds latency!
  • 13. Reason 4: Limits, Troubleshooting & Observability Common blockers: ■ 400KB Item size limit ■ Local Secondary Indexes require… Re-creating the table? ■ Developer Flexibility: DynamoDB Local? ■ Little integration off AWS ecosystem ■ Single-table organization & Querying inflexibility
  • 14. Reason 5: Auto-scaling No silver bullet, and still requires thorough planning: ■ Avoids provisioning for peak capacity, BUT; ■ Works best for gradual increases or decreases in traffic ■ Burst capacity handles occasional spikes AWS DynamoDB Auto Scaling is not a magic bullet
  • 16. Query Language Supported protocols: ■ CQL – Binary protocol ○ Native load balancing ○ Parallel Request Multiplexing ○ Prepared statements, token/shard awareness… ■ DynamoDB API – JSON over HTTP(S) ○ Requires a load balancer ○ Drivers tend to need to open more connections ○ No notion of prepared statements nor consistent hashing
  • 17. Migration Nutshell Client Writes / Reads Enable DynamoDB Streams Reads Writes Consume Changes Sync Changes Writes / Reads ScyllaDB Migrator
  • 19. Keep in touch! Felipe Mendes Technical Director ScyllaDB [email protected] LinkedIn