SlideShare une entreprise Scribd logo
1  sur  63
Télécharger pour lire hors ligne
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Scale fearlessly with Amazon
DynamoDB adaptive capacity
Kai Zhao
Senior Product Manager
Amazon DynamoDB
A D B 3 0 2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
25x increase
Requestsperhour
900 writes/sec
25,000 writes/sec
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Objectives
Use DynamoDB more effectively
How DynamoDB scaling really works, from 1 RPS to millions of RPS
What’s new in adaptive capacity
When to use provisioned mode vs. on-demand mode
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Related sessions (online)
DAT201 – What’s New For Amazon DynamoDB
Tony Petrossian, Jeff Wierer
DAT321 – Amazon DynamoDB Under the Hood
Jaso Sorensen
DAT401 – Advanced Design Patterns for DynamoDB
Rick Houlihan
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Database capacity planning
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Vertical scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Scaling NoSQL DBsHorizontal scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
The uneven access problem common to NoSQL
across data and time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Just design for uniform access to your data, right?
Can be quite difficult in practice
Most NoSQL databases aren’t very forgiving
If your database isn’t flexible, you must handle more in your application
How does DynamoDB solve this for customers?
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DynamoDB adapts to your application, not vice versa
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Core functions of adaptive capacity
Dynamic partitioning Throughput governance
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1.p1
Table1 Table2 Table3
Server N
T1.p2
Behind the scenes…
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
T1
Server 1
p.A
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 2
A B
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 2
A B
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 2 Server 3
A B C
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 2 Server 3
A B C
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 4 Server 2 Server 3
A D B C
Storage scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Scenario: Census application
Statistics Canada (Canada's national statistical agency) hires you to build an online
census application.
You choose DynamoDB with the following key schema:
Partition key: province
Sort key: id
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What you didn’t realize…
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
Table
Server 2 Server 3 Server 4
Census traffic
64%
Ontario, Quebec, Newfoundland,
and Labrador Prince Edward
Island
British Columbia, Alberta,
Saskatchewan
Manitoba, Nova Scotia,
Northwest Territories
New Brunswick, Nunavut,
Yukon
28% 6% 2%
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Dynamic partitioning
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Dynamic partitioning
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1 Server 2 Server 3 Server 4
Dynamic partitioning – behind the scenes
Ontario, Quebec, Newfoundland,
and Labrador Prince Edward
Island
British Columbia, Alberta,
Saskatchewan
Manitoba, Nova Scotia,
Northwest Territories
New Brunswick, Nunavut,
Yukon
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 2 Server 3 Server 4
Dynamic partitioning – behind the scenes
British Columbia, Alberta,
Saskatchewan
Manitoba, Nova Scotia,
Northwest Territories
New Brunswick, Nunavut,
Yukon
Server 1
Ontario
Server 5
Quebec, Newfoundland and
Labrador, Prince Edward Island
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 2 Server 3 Server 4
Dynamic partitioning – behind the scenes
British Columbia, Alberta,
Saskatchewan
Manitoba, Nova Scotia,
Northwest Territories
New Brunswick, Nunavut,
Yukon
Server 1
Ontario.A
Server 5
Quebec, Newfoundland and
Labrador, Prince Edward Island
Server 6
Ontario.B
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 7 Server 3 Server 4
Dynamic partitioning – behind the scenes
Alberta, Saskatchewan Manitoba, Nova Scotia,
Northwest Territories
New Brunswick, Nunavut,
Yukon
Server 1
Ontario.A
Server 5
Quebec, Newfoundland and
Labrador, Prince Edward Island
Server 6
Ontario.B
Server 2
British Columbia
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Summary of dynamic partitioning
DynamoDB adapts to your application, not vice versa
Automatic partitioning to equalize storage and throughput
Throughput-based partitioning currently available for on-demand mode
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Table
(items)
Per-item limits:
1,000 writes per sec
6,000 reads per sec (EC)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DynamoDB Key Diagnostics Library
Graphs of frequently accessed
items
Lightweight wrapper around
DynamoDB SDK
AWS CloudFormation
template
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1
Server 4 Server 2 Server 3
A D B C
Adaptive capacity governance in 2018
A
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1 Server 4 Server 2 Server 3
D B C
Adaptive capacity governance in 2018
AA
T1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Adaptive capacity governance in 2018
Pros:
Accommodates imbalanced workloads
Helps you be more efficient (provision fewer WCUs and RCUs)
Cons:
Reactive process with 5–30 minute response
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
New in 2019 – Instant adaptive capacity
No more response time
Partitions respond instantly in response to changing traffic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1.p1
Table1 Table2 Table3
Server N
T1.p2
Instant adaptive capacity – How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1.p1
Table1
Table2
Table3
Server N
T1.p2
Instant adaptive capacity – How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1.p1
Table1
Table2
Table3
Server N
T1.p2
Instant adaptive capacity – How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Server 1
T1.p1
Table1
Table2
Table3
Server N
T1.p2
Instant adaptive capacity – How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Instant adaptive capacity
DynamoDB looks at what your table can do, not what partitions can do.
Key benefits:
• Instantly accommodates imbalanced workloads
• Sustains imbalanced workloads indefinitely
• Helps you reduce your DynamoDB bill
• On by default, no extra cost
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Get massive scalability and consistent performance
without worrying about partitions and uneven access
patterns
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DynamoDB on-demand
Features
• No capacity planning, provisioning, or
reservations—simply make API calls
• Pay only for the reads and writes you perform
Key benefits
• Eliminates tradeoffs of overprovisioning or
underprovisioning
• Instantly accommodates your workload as
traffic ramps up or down
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What are the maximum scaling
capabilities of on-demand mode?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-demand scaling properties
Minimum throughput
• Up to 4,000 write request units (WRU): 4,000 writes per second
• Up to 12,000 read request units (RRU): 24,000 EC reads per second
• Any linear combination of the two
Maximum throughput
• Unlimited!
Pay per request: use nothing, pay nothing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DynamoDB request
rate
Maximum
throughput
“Up to twice your previous peak”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
“Up to twice your previous peak”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Dynamic partitioning
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Instant high throughput
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Things to keep in mind
Initial doubling takes up to 30 minutes
Subsequent traffic scales instantly
Continuously monitored
• No need to achieve 2x previous peak to get more throughput
• Gracefully accommodates growth without throttling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
On-demand mode use case – Infrequent workloads
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Business impact
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
When to use provisioned vs. on-demand
Use provisioned mode for:
• Steady workloads
• Gradual ramps
• Events with known traffic
• Ongoing monitoring
Use on-demand mode for:
• Unpredictable workloads
• Frequently idle workloads
• Events with unknown traffic
• “Set it and forget it”
Consider your tolerance for operational overhead
and overprovisioning
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DynamoDB adaptive capacity at a glance
Provisioned Mode On-demand mode
Governance Instant (provisioned capacity) Instant (account limits)
Default limits
(increasable)
40,000 WCU, 40,000 RCU 40,000 WRU, 40,000 RRU
Dynamic partitioning
(storage)
Automatic Automatic
Dynamic partitioning
(throughput)
Not available yet Automatic
Key Diagnostics Library Supported Supported
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Key takeaways
DynamoDB adapts to your application, not vice versa
Scale up or down at will, even with skewed data access patterrns
Focus on application traffic to your table and items, not on partitions
Provisioned mode for gradual ramps, on-demand mode for spikes
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kai Zhao
kazh@amazon.com
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Contenu connexe

Tendances

Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...
Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...
Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...Amazon Web Services
 
Database Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitDatabase Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitAmazon Web Services
 
AWS networking fundamentals - SVC303 - Santa Clara AWS Summit
AWS networking fundamentals - SVC303 - Santa Clara AWS SummitAWS networking fundamentals - SVC303 - Santa Clara AWS Summit
AWS networking fundamentals - SVC303 - Santa Clara AWS SummitAmazon Web Services
 
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Amazon Web Services
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...Amazon Web Services
 
Getting started with AWS IoT Core - SVC306 - New York AWS Summit
Getting started with AWS IoT Core - SVC306 - New York AWS SummitGetting started with AWS IoT Core - SVC306 - New York AWS Summit
Getting started with AWS IoT Core - SVC306 - New York AWS SummitAmazon Web Services
 
Introduction to AWS Global Accelerator - SVC212 - New York AWS Summit
Introduction to AWS Global Accelerator - SVC212 - New York AWS SummitIntroduction to AWS Global Accelerator - SVC212 - New York AWS Summit
Introduction to AWS Global Accelerator - SVC212 - New York AWS SummitAmazon Web Services
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitAmazon Web Services
 
Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...Amazon Web Services
 
[NEW LAUNCH] Introducing AWS Deep Learning Containers
[NEW LAUNCH] Introducing AWS Deep Learning Containers[NEW LAUNCH] Introducing AWS Deep Learning Containers
[NEW LAUNCH] Introducing AWS Deep Learning ContainersAmazon Web Services
 
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...Amazon Web Services
 
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...Amazon Web Services
 
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...Amazon Web Services
 
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...The evolution of continuous cloud security and compliance - DEM05-S - New Yor...
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...Amazon Web Services
 
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...Amazon Web Services
 
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...Amazon Web Services
 
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS SummitTwelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS SummitAmazon Web Services
 
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Amazon Web Services
 
從業人員指南-如何像技術專家一樣守護您的雲端安全
從業人員指南-如何像技術專家一樣守護您的雲端安全從業人員指南-如何像技術專家一樣守護您的雲端安全
從業人員指南-如何像技術專家一樣守護您的雲端安全Amazon Web Services
 
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...Amazon Web Services
 

Tendances (20)

Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...
Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...
Technical deep dive: Cloud data management with Veeam and AWS - SVC202-S - Ch...
 
Database Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitDatabase Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS Summit
 
AWS networking fundamentals - SVC303 - Santa Clara AWS Summit
AWS networking fundamentals - SVC303 - Santa Clara AWS SummitAWS networking fundamentals - SVC303 - Santa Clara AWS Summit
AWS networking fundamentals - SVC303 - Santa Clara AWS Summit
 
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
Next generation intelligent data lakes, powered by GraphQL & AWS AppSync - MA...
 
CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...CI/CD best practices for building modern applications - MAD310 - New York AWS...
CI/CD best practices for building modern applications - MAD310 - New York AWS...
 
Getting started with AWS IoT Core - SVC306 - New York AWS Summit
Getting started with AWS IoT Core - SVC306 - New York AWS SummitGetting started with AWS IoT Core - SVC306 - New York AWS Summit
Getting started with AWS IoT Core - SVC306 - New York AWS Summit
 
Introduction to AWS Global Accelerator - SVC212 - New York AWS Summit
Introduction to AWS Global Accelerator - SVC212 - New York AWS SummitIntroduction to AWS Global Accelerator - SVC212 - New York AWS Summit
Introduction to AWS Global Accelerator - SVC212 - New York AWS Summit
 
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS SummitPlanning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
Planning advanced AWS networking architectures - SVC304 - Chicago AWS Summit
 
Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...Using automation to drive continuous-compliance best practices - SVC309 - Chi...
Using automation to drive continuous-compliance best practices - SVC309 - Chi...
 
[NEW LAUNCH] Introducing AWS Deep Learning Containers
[NEW LAUNCH] Introducing AWS Deep Learning Containers[NEW LAUNCH] Introducing AWS Deep Learning Containers
[NEW LAUNCH] Introducing AWS Deep Learning Containers
 
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...
Journey into the Cloud with VMware Cloud on AWS: Deep Dive - CMP303 - Anaheim...
 
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...
Aligning to the NIST Cybersecurity Framework in the AWS Cloud - SEC204 - Chic...
 
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...
A tale of two customers - Simplified data protection with Veeam, N2WS & AWS -...
 
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...The evolution of continuous cloud security and compliance - DEM05-S - New Yor...
The evolution of continuous cloud security and compliance - DEM05-S - New Yor...
 
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...How Millennium Management achieves provable security with AWS Zelkova - FSV30...
How Millennium Management achieves provable security with AWS Zelkova - FSV30...
 
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...
Accelerating your Cloud Migration with VMware Cloud on AWS - SVC210 - Atlanta...
 
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS SummitTwelve-Factor serverless applications - MAD311 - Chicago AWS Summit
Twelve-Factor serverless applications - MAD311 - Chicago AWS Summit
 
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
Storing data long term with Amazon S3 Glacier Deep Archive - STG302 - Chicago...
 
從業人員指南-如何像技術專家一樣守護您的雲端安全
從業人員指南-如何像技術專家一樣守護您的雲端安全從業人員指南-如何像技術專家一樣守護您的雲端安全
從業人員指南-如何像技術專家一樣守護您的雲端安全
 
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...
Fraud detection using machine learning with Amazon SageMaker - AIM306 - New Y...
 

Similaire à Scale fearlessly with Amazon DynamoDB adaptive capacity - ADB302 - Santa Clara AWS Summit

Introduction to AWS Global Accelerator - SVC211 - Chicago AWS Summit
Introduction to AWS Global Accelerator - SVC211 - Chicago AWS SummitIntroduction to AWS Global Accelerator - SVC211 - Chicago AWS Summit
Introduction to AWS Global Accelerator - SVC211 - Chicago AWS SummitAmazon Web Services
 
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyRunning Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyAmazon Web Services
 
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...All Databases Are Equal, But Some Databases Are More Equal than Others: How t...
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...javier ramirez
 
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS Summit
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS SummitHow Nubank is building a customer-obsessed bank - FSV201 - New York AWS Summit
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS SummitAmazon Web Services
 
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ..."How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...Provectus
 
BuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfBuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfAmazon Web Services
 
BuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfBuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfAmazon Web Services
 
Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Amazon Web Services
 
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservicesKim Kao
 
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲Amazon Web Services
 
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...Amazon Web Services
 
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...Amazon Web Services
 
Essential capabilities behind Microservices
Essential capabilities behind MicroservicesEssential capabilities behind Microservices
Essential capabilities behind MicroservicesAmazon Web Services
 
Monolithic to Microservices Demystified
Monolithic to Microservices DemystifiedMonolithic to Microservices Demystified
Monolithic to Microservices DemystifiedTom Laszewski
 
AWS DevDay Berlin - Resiliency and availability design patterns for the cloud
AWS DevDay Berlin - Resiliency and availability design patterns for the cloudAWS DevDay Berlin - Resiliency and availability design patterns for the cloud
AWS DevDay Berlin - Resiliency and availability design patterns for the cloudCobus Bernard
 
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Amazon Web Services
 
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移Amazon Web Services
 
利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdf利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdfAmazon Web Services
 
利用 AWS Step Functions 建構穩健的資料處理流程
利用 AWS Step Functions 建構穩健的資料處理流程利用 AWS Step Functions 建構穩健的資料處理流程
利用 AWS Step Functions 建構穩健的資料處理流程Amazon Web Services
 

Similaire à Scale fearlessly with Amazon DynamoDB adaptive capacity - ADB302 - Santa Clara AWS Summit (20)

Introduction to AWS Global Accelerator - SVC211 - Chicago AWS Summit
Introduction to AWS Global Accelerator - SVC211 - Chicago AWS SummitIntroduction to AWS Global Accelerator - SVC211 - Chicago AWS Summit
Introduction to AWS Global Accelerator - SVC211 - Chicago AWS Summit
 
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit SydneyRunning Lean Performant Yet Cost Optimised - AWS Summit Sydney
Running Lean Performant Yet Cost Optimised - AWS Summit Sydney
 
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...All Databases Are Equal, But Some Databases Are More Equal than Others: How t...
All Databases Are Equal, But Some Databases Are More Equal than Others: How t...
 
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS Summit
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS SummitHow Nubank is building a customer-obsessed bank - FSV201 - New York AWS Summit
How Nubank is building a customer-obsessed bank - FSV201 - New York AWS Summit
 
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ..."How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
"How to build a global serverless service", Alex Casalboni, AWS Dev Day Kyiv ...
 
BuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfBuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdf
 
BuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdfBuildingGlobalServices_DevDays2019.pdf
BuildingGlobalServices_DevDays2019.pdf
 
Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...Build data-drive, high performance, internet scale applications with AWS Data...
Build data-drive, high performance, internet scale applications with AWS Data...
 
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
2019 06-12-aws taipei summit-dev day-essential capabilities behind microservices
 
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲
進化中的遊戲產業-以微服務架構-全球布局與現代化資料庫策略來打造高成長遊戲
 
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...
Amazon Redshift tips and tricks - Scaling storage and compute - ADB301 - Sant...
 
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...
Wild Rydes: Build a full-stack serverless ride-sharing app with Lambda - MAD2...
 
Essential capabilities behind Microservices
Essential capabilities behind MicroservicesEssential capabilities behind Microservices
Essential capabilities behind Microservices
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
Monolithic to Microservices Demystified
Monolithic to Microservices DemystifiedMonolithic to Microservices Demystified
Monolithic to Microservices Demystified
 
AWS DevDay Berlin - Resiliency and availability design patterns for the cloud
AWS DevDay Berlin - Resiliency and availability design patterns for the cloudAWS DevDay Berlin - Resiliency and availability design patterns for the cloud
AWS DevDay Berlin - Resiliency and availability design patterns for the cloud
 
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
 
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移新一代電子商務架構與核心商用TB級資料庫的雲端遷移
新一代電子商務架構與核心商用TB級資料庫的雲端遷移
 
利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdf利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdf
 
利用 AWS Step Functions 建構穩健的資料處理流程
利用 AWS Step Functions 建構穩健的資料處理流程利用 AWS Step Functions 建構穩健的資料處理流程
利用 AWS Step Functions 建構穩健的資料處理流程
 

Plus de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Scale fearlessly with Amazon DynamoDB adaptive capacity - ADB302 - Santa Clara AWS Summit

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Scale fearlessly with Amazon DynamoDB adaptive capacity Kai Zhao Senior Product Manager Amazon DynamoDB A D B 3 0 2
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 25x increase Requestsperhour 900 writes/sec 25,000 writes/sec
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Objectives Use DynamoDB more effectively How DynamoDB scaling really works, from 1 RPS to millions of RPS What’s new in adaptive capacity When to use provisioned mode vs. on-demand mode
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Related sessions (online) DAT201 – What’s New For Amazon DynamoDB Tony Petrossian, Jeff Wierer DAT321 – Amazon DynamoDB Under the Hood Jaso Sorensen DAT401 – Advanced Design Patterns for DynamoDB Rick Houlihan
  • 5. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Database capacity planning
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Vertical scaling
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Scaling NoSQL DBsHorizontal scaling
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T The uneven access problem common to NoSQL across data and time
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Just design for uniform access to your data, right? Can be quite difficult in practice Most NoSQL databases aren’t very forgiving If your database isn’t flexible, you must handle more in your application How does DynamoDB solve this for customers?
  • 12. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DynamoDB adapts to your application, not vice versa
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Core functions of adaptive capacity Dynamic partitioning Throughput governance
  • 15. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1.p1 Table1 Table2 Table3 Server N T1.p2 Behind the scenes…
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T T1 Server 1 p.A Storage scaling
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 2 A B Storage scaling
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 2 A B Storage scaling
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 2 Server 3 A B C Storage scaling
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 2 Server 3 A B C Storage scaling
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 4 Server 2 Server 3 A D B C Storage scaling
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Scenario: Census application Statistics Canada (Canada's national statistical agency) hires you to build an online census application. You choose DynamoDB with the following key schema: Partition key: province Sort key: id
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What you didn’t realize…
  • 25. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 Table Server 2 Server 3 Server 4 Census traffic 64% Ontario, Quebec, Newfoundland, and Labrador Prince Edward Island British Columbia, Alberta, Saskatchewan Manitoba, Nova Scotia, Northwest Territories New Brunswick, Nunavut, Yukon 28% 6% 2%
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Dynamic partitioning
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Dynamic partitioning
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 Server 2 Server 3 Server 4 Dynamic partitioning – behind the scenes Ontario, Quebec, Newfoundland, and Labrador Prince Edward Island British Columbia, Alberta, Saskatchewan Manitoba, Nova Scotia, Northwest Territories New Brunswick, Nunavut, Yukon
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 2 Server 3 Server 4 Dynamic partitioning – behind the scenes British Columbia, Alberta, Saskatchewan Manitoba, Nova Scotia, Northwest Territories New Brunswick, Nunavut, Yukon Server 1 Ontario Server 5 Quebec, Newfoundland and Labrador, Prince Edward Island
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 2 Server 3 Server 4 Dynamic partitioning – behind the scenes British Columbia, Alberta, Saskatchewan Manitoba, Nova Scotia, Northwest Territories New Brunswick, Nunavut, Yukon Server 1 Ontario.A Server 5 Quebec, Newfoundland and Labrador, Prince Edward Island Server 6 Ontario.B
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 7 Server 3 Server 4 Dynamic partitioning – behind the scenes Alberta, Saskatchewan Manitoba, Nova Scotia, Northwest Territories New Brunswick, Nunavut, Yukon Server 1 Ontario.A Server 5 Quebec, Newfoundland and Labrador, Prince Edward Island Server 6 Ontario.B Server 2 British Columbia
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Summary of dynamic partitioning DynamoDB adapts to your application, not vice versa Automatic partitioning to equalize storage and throughput Throughput-based partitioning currently available for on-demand mode
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Table (items) Per-item limits: 1,000 writes per sec 6,000 reads per sec (EC)
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DynamoDB Key Diagnostics Library Graphs of frequently accessed items Lightweight wrapper around DynamoDB SDK AWS CloudFormation template
  • 36. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1 Server 4 Server 2 Server 3 A D B C Adaptive capacity governance in 2018 A
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 Server 4 Server 2 Server 3 D B C Adaptive capacity governance in 2018 AA T1
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Adaptive capacity governance in 2018 Pros: Accommodates imbalanced workloads Helps you be more efficient (provision fewer WCUs and RCUs) Cons: Reactive process with 5–30 minute response
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T New in 2019 – Instant adaptive capacity No more response time Partitions respond instantly in response to changing traffic
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1.p1 Table1 Table2 Table3 Server N T1.p2 Instant adaptive capacity – How it works
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1.p1 Table1 Table2 Table3 Server N T1.p2 Instant adaptive capacity – How it works
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1.p1 Table1 Table2 Table3 Server N T1.p2 Instant adaptive capacity – How it works
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Server 1 T1.p1 Table1 Table2 Table3 Server N T1.p2 Instant adaptive capacity – How it works
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Instant adaptive capacity DynamoDB looks at what your table can do, not what partitions can do. Key benefits: • Instantly accommodates imbalanced workloads • Sustains imbalanced workloads indefinitely • Helps you reduce your DynamoDB bill • On by default, no extra cost
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Get massive scalability and consistent performance without worrying about partitions and uneven access patterns
  • 47. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DynamoDB on-demand Features • No capacity planning, provisioning, or reservations—simply make API calls • Pay only for the reads and writes you perform Key benefits • Eliminates tradeoffs of overprovisioning or underprovisioning • Instantly accommodates your workload as traffic ramps up or down
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What are the maximum scaling capabilities of on-demand mode?
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-demand scaling properties Minimum throughput • Up to 4,000 write request units (WRU): 4,000 writes per second • Up to 12,000 read request units (RRU): 24,000 EC reads per second • Any linear combination of the two Maximum throughput • Unlimited! Pay per request: use nothing, pay nothing
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DynamoDB request rate Maximum throughput “Up to twice your previous peak”
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T “Up to twice your previous peak”
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Dynamic partitioning
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Instant high throughput
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Things to keep in mind Initial doubling takes up to 30 minutes Subsequent traffic scales instantly Continuously monitored • No need to achieve 2x previous peak to get more throughput • Gracefully accommodates growth without throttling
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T On-demand mode use case – Infrequent workloads
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Business impact
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T When to use provisioned vs. on-demand Use provisioned mode for: • Steady workloads • Gradual ramps • Events with known traffic • Ongoing monitoring Use on-demand mode for: • Unpredictable workloads • Frequently idle workloads • Events with unknown traffic • “Set it and forget it” Consider your tolerance for operational overhead and overprovisioning
  • 59. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 60. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DynamoDB adaptive capacity at a glance Provisioned Mode On-demand mode Governance Instant (provisioned capacity) Instant (account limits) Default limits (increasable) 40,000 WCU, 40,000 RCU 40,000 WRU, 40,000 RRU Dynamic partitioning (storage) Automatic Automatic Dynamic partitioning (throughput) Not available yet Automatic Key Diagnostics Library Supported Supported
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Key takeaways DynamoDB adapts to your application, not vice versa Scale up or down at will, even with skewed data access patterrns Focus on application traffic to your table and items, not on partitions Provisioned mode for gradual ramps, on-demand mode for spikes
  • 62. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kai Zhao kazh@amazon.com
  • 63. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.