SlideShare uma empresa Scribd logo
1 de 43
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon DynamoDB Accelerator (DAX)
Sean Shriver
NoSQL Solutions Architect
Amazon Web Services
Amazon DynamoDB
Fast and flexible NoSQL database
service for any scale
Scaling high-velocity use cases with DynamoDB
Ad Tech Gaming MobileIoT Web
Scalability Performance Security Availability Manageability Developer
Platform
Performance
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB: consistent performance at scale
ConsistentSingle-Digit Millisecond Latency
Requests(millions)
Latency(milliseconds)
Scalability Performance Security Availability & Data Protection Manageability Development Platform
“We cannot afford to waste a 3 or 4 milliseconds...”
“We have 20ms to make a decision… ”
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB
Cache
Your Applications
Traditional side cache
DynamoDB
Your Applications
Caching made simple
DynamoDB Accelerator
DAX Demo
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Milliseconds to
microseconds
Scalability Performance Security Availability & Data Protection Manageability Development Platform
• Fully managed, highly available: handles all software management,
fault tolerant, replication across multi-AZs within a region
• DynamoDB API compatible: seamlessly caches DynamoDB API calls,
no application re-writes required
• Write-through: DAX handles caching for writes
• Flexible: Configure DAX for one table or many
• Scalable: scales-out to any workload with up to 10 read replicas
• Manageability: fully integrated AWS service: Amazon CloudWatch,
Tagging for DynamoDB, AWS Console
• Security: Amazon VPC, AWS IAM, AWS CloudTrail, AWS
Organizations
Features
DynamoDB Accelerator (DAX)
DynamoDB
Your Applications
DynamoDB Accelerator
What did we just do?
Scalability Performance Security Availability & Data Protection Manageability Development Platform
AWS VPC
EC2
App
DDB
SDK
DynamoDB
DAX
SDK
DAX
Fully managed, highly available
High Availability
Scalability Performance Security Availability & Data Protection Manageability Development Platform
AMAZON VPC
EC2
App
DAX
SDK
DynamoDB
AZ1
AZ2
AZ3
DynamoDB API compatible
Q: How easy is it to add in-
memory caching with DAX?
A: Comment out the this code
and add this code
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DAX is API compatible with DynamoDB
• Read APIs: GetItem, BatchGetItem, Query, Scan
• Modify APIs: PutItem, UpdateItem, DeleteItem,
BatchWriteItem
• Control plane APIs: Not supported (CreateTable,
DeleteTable, etc.)
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DAX has two caches
Query Cache {query, scan}
Item Cache {GetItem, PutItem}
key, value
query text, result set
Write-through
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB Accelerator (DAX): Reads
DynamoDB
Your Applications
DynamoDB Accelerator
t=1 GetItem
t=2 Cache Miss
t=3 GetItem
t=4 Populate cache
t=5 Return item
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB Accelerator (DAX): Reads
DynamoDB
Your Applications
DynamoDB Accelerator
t=1 GetItem
t=2 Cache Hit
t=3 Return item
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB Accelerator (DAX): Write-through
DynamoDB
Your Applications
DynamoDB Accelerator
t=1 PutItem
t=2 Write
t=3 Populate cache
t=4 Return item
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB Accelerator (DAX): Read after Write
DynamoDB
Your Applications
DynamoDB Accelerator
t=1 GetItem
t=2 Cache Hit
t=3 Return item
Flexible
Scalability Performance Security Availability & Data Protection Manageability Development Platform
DynamoDB Accelerator (DAX): Flexible
DynamoDB
Your Application
DynamoDB Accelerator
Table #1
DynamoDB
Your Application
DynamoDB Accelerator
Table #1
Table #2
DynamoDB
Your Applications
DynamoDB Accelerator
Table #1
DynamoDB
Your Applications
DynamoDB Accelerator
Table #1
Table #2
One-to-One One-to-Many Many-to-One Many-to-Many
Scalable
Scaling DAX
Scale-up
. . .
Scale Up
(15.25 GiB to 244 GiB)
Scale-out
Scale Out
(up to 10 replicas)
. . .
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Manageability
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Amazon
CloudWatch
AWS Management
Console
Cost-based
Tagging
Cache Eviction
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Time-to-live (TTL) Least Recently Used
(LRU)
Write-through
eviction
Security
VPC subnet IAM
AWS
CloudTrail
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer scenarios
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Case #1: Unpredictable spikes
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Case #2: Speed
Response times in microseconds
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Case #3: Hot keys
RequestsPerSecond
Item Primary Key
Request Distribution Per Partition Key
DynamoDB Requests Cache Hits
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Cases
DynamoDB
App
DAX
DynamoDB
App
DynamoDB
App
Write-Through Cache
Read-Through Cache
Write-Back Cache
(not available today)
1 2
34
1 3
42
1
23
DAX
DAX
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Repeated users are now being handled by the DAX cache
without making the more expensive (in both latency & cost)
call to DynamoDB
Shahar Kobrinky
VP of Architecture and Scale at Eyeview
“
”
DAX represents a big opportunity for us to
find the optimal balance between infrastructure cost and
system performance
Brandon O’Brien
Principle Software Engineer, Expedia, Inc.
“
”
DynamoDB Accelerator (DAX)
Scalability Performance Security Availability & Data Protection Manageability Development Platform
The AWS team has taken a best-practice architectural
pattern and turned it into something repeatable and
valuable for its customers
Glenn Nethercutt
Chief Architect, Genesys
“
”
The ability to supercharge DynamoDB with DAX is
something we're looking forward to
Pat Malatack
General Manager of Twilio Messaging
“
”
DynamoDB Accelerator (DAX)
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Key Benefits
• Fast performance: Microseconds response
times at millions of reads/sec from single DAX
cluster
• Ease of use: DynamoDB API compatible -
requires minimal code change for existing
applications, simplifying developer experience
• Lower costs: Reduce provisioned read
capacity for DynamoDB tables for tables with
hot data
DynamoDB Accelerator (DAX)
DynamoDB
Your Applications
DynamoDB Accelerator
Learn more
Sign up for the DAX Preview
https://goo.gl/txHZmQ
Google ”DAX preview form”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
aws.amazon.com/activate
Don’t forget to take the survey!
Up next: 11:30AM-12:00PM | Guest presentation: Amazon Fresh

Mais conteúdo relacionado

Mais procurados

Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
Databricks
 
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
Amazon Web Services Korea
 

Mais procurados (20)

Amazon Redshift의 이해와 활용 (김용우) - AWS DB Day
Amazon Redshift의 이해와 활용 (김용우) - AWS DB DayAmazon Redshift의 이해와 활용 (김용우) - AWS DB Day
Amazon Redshift의 이해와 활용 (김용우) - AWS DB Day
 
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
 
Securing Kafka
Securing Kafka Securing Kafka
Securing Kafka
 
Apache Arrow: In Theory, In Practice
Apache Arrow: In Theory, In PracticeApache Arrow: In Theory, In Practice
Apache Arrow: In Theory, In Practice
 
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
Amazon DocumentDB vs MongoDB 의 내부 아키텍쳐 와 장단점 비교
 
Managed disk-Azure Storage Evolution
Managed disk-Azure Storage EvolutionManaged disk-Azure Storage Evolution
Managed disk-Azure Storage Evolution
 
Amazon SageMaker 모델 학습 방법 소개::최영준, 솔루션즈 아키텍트 AI/ML 엑스퍼트, AWS::AWS AIML 스페셜 웨비나
Amazon SageMaker 모델 학습 방법 소개::최영준, 솔루션즈 아키텍트 AI/ML 엑스퍼트, AWS::AWS AIML 스페셜 웨비나Amazon SageMaker 모델 학습 방법 소개::최영준, 솔루션즈 아키텍트 AI/ML 엑스퍼트, AWS::AWS AIML 스페셜 웨비나
Amazon SageMaker 모델 학습 방법 소개::최영준, 솔루션즈 아키텍트 AI/ML 엑스퍼트, AWS::AWS AIML 스페셜 웨비나
 
Aws Developer Associate Overview
Aws Developer Associate OverviewAws Developer Associate Overview
Aws Developer Associate Overview
 
쿠알못이 Amazon EKS로 안정적인 서비스 운영하기 - 최용호(넥슨코리아) :: AWS Community Day 2020
쿠알못이 Amazon EKS로 안정적인 서비스 운영하기 - 최용호(넥슨코리아) :: AWS Community Day 2020쿠알못이 Amazon EKS로 안정적인 서비스 운영하기 - 최용호(넥슨코리아) :: AWS Community Day 2020
쿠알못이 Amazon EKS로 안정적인 서비스 운영하기 - 최용호(넥슨코리아) :: AWS Community Day 2020
 
Comprehensive Terraform Training
Comprehensive Terraform TrainingComprehensive Terraform Training
Comprehensive Terraform Training
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line Interface
 
Getting started with Amazon ElastiCache
Getting started with Amazon ElastiCacheGetting started with Amazon ElastiCache
Getting started with Amazon ElastiCache
 
HTTP Analytics for 6M requests per second using ClickHouse, by Alexander Boc...
HTTP Analytics for 6M requests per second using ClickHouse, by  Alexander Boc...HTTP Analytics for 6M requests per second using ClickHouse, by  Alexander Boc...
HTTP Analytics for 6M requests per second using ClickHouse, by Alexander Boc...
 
Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
Redis + Structured Streaming—A Perfect Combination to Scale-Out Your Continuo...
 
마이크로서비스 아키텍처와 DevOps 기술 - Amazon 사례를 중심으로 (윤석찬)
마이크로서비스 아키텍처와 DevOps 기술 - Amazon 사례를 중심으로 (윤석찬)마이크로서비스 아키텍처와 DevOps 기술 - Amazon 사례를 중심으로 (윤석찬)
마이크로서비스 아키텍처와 DevOps 기술 - Amazon 사례를 중심으로 (윤석찬)
 
AWS Batch를 통한 손쉬운 일괄 처리 작업 관리하기 - 윤석찬 (AWS 테크에반젤리스트)
AWS Batch를 통한 손쉬운 일괄 처리 작업 관리하기 - 윤석찬 (AWS 테크에반젤리스트)AWS Batch를 통한 손쉬운 일괄 처리 작업 관리하기 - 윤석찬 (AWS 테크에반젤리스트)
AWS Batch를 통한 손쉬운 일괄 처리 작업 관리하기 - 윤석찬 (AWS 테크에반젤리스트)
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar Series
 
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
 
옵저버빌러티(Observability) 확보로 서버리스 마이크로서비스 들여다보기 - 김형일 AWS 솔루션즈 아키텍트 :: AWS Summi...
옵저버빌러티(Observability) 확보로 서버리스 마이크로서비스 들여다보기 - 김형일 AWS 솔루션즈 아키텍트 :: AWS Summi...옵저버빌러티(Observability) 확보로 서버리스 마이크로서비스 들여다보기 - 김형일 AWS 솔루션즈 아키텍트 :: AWS Summi...
옵저버빌러티(Observability) 확보로 서버리스 마이크로서비스 들여다보기 - 김형일 AWS 솔루션즈 아키텍트 :: AWS Summi...
 
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
 

Semelhante a Accelerating DynamoDB with DAX

Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
Amazon Web Services
 

Semelhante a Accelerating DynamoDB with DAX (20)

SRV415 NEW LAUNCH! DynamoDB just got faster: Deep Dive on DAX and more
SRV415 NEW LAUNCH!  DynamoDB just got faster: Deep Dive on DAX and moreSRV415 NEW LAUNCH!  DynamoDB just got faster: Deep Dive on DAX and more
SRV415 NEW LAUNCH! DynamoDB just got faster: Deep Dive on DAX and more
 
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
 
Accelerating DynamoDB with DAX
Accelerating DynamoDB with DAXAccelerating DynamoDB with DAX
Accelerating DynamoDB with DAX
 
Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
Caching with DynamoDB and DAX - DevDay Austin 2017 Day 2
 
Database NoSQL gestiti
Database NoSQL gestitiDatabase NoSQL gestiti
Database NoSQL gestiti
 
AWS Summit Atlanta Keynote
AWS Summit Atlanta KeynoteAWS Summit Atlanta Keynote
AWS Summit Atlanta Keynote
 
When Open Source Meets the Enterprise
When Open Source Meets the EnterpriseWhen Open Source Meets the Enterprise
When Open Source Meets the Enterprise
 
Managed NoSQL databases
Managed NoSQL databasesManaged NoSQL databases
Managed NoSQL databases
 
The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)The Scout24 Data Platform (A Technical Deep Dive)
The Scout24 Data Platform (A Technical Deep Dive)
 
MariaDB en la actualidad y su visión del future
MariaDB en la actualidad y su visión del futureMariaDB en la actualidad y su visión del future
MariaDB en la actualidad y su visión del future
 
Dynamo DB & RDS Deep Dive - AWS India Summit 2012
Dynamo DB & RDS Deep Dive - AWS India Summit 2012Dynamo DB & RDS Deep Dive - AWS India Summit 2012
Dynamo DB & RDS Deep Dive - AWS India Summit 2012
 
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
AWS re:Invent 2016: ↑↑↓↓←→←→ BA Lambda Start (SVR305)
 
Keynote: Open Source für den geschäftskritischen Einsatz
Keynote: Open Source für den geschäftskritischen EinsatzKeynote: Open Source für den geschäftskritischen Einsatz
Keynote: Open Source für den geschäftskritischen Einsatz
 
DynamoDB - What's new - DAT304 - re:Invent 2017
DynamoDB - What's new - DAT304 - re:Invent 2017DynamoDB - What's new - DAT304 - re:Invent 2017
DynamoDB - What's new - DAT304 - re:Invent 2017
 
Fraud Detection and Prevention on AWS using Machine Learning
Fraud Detection and Prevention on AWS using Machine LearningFraud Detection and Prevention on AWS using Machine Learning
Fraud Detection and Prevention on AWS using Machine Learning
 
What's New with Amazon DynamoDB
What's New with Amazon DynamoDBWhat's New with Amazon DynamoDB
What's New with Amazon DynamoDB
 
Webinar: Cleaning up the SDS Mess - Four Keys to Success
Webinar: Cleaning up the SDS Mess - Four Keys to SuccessWebinar: Cleaning up the SDS Mess - Four Keys to Success
Webinar: Cleaning up the SDS Mess - Four Keys to Success
 
When Open Source Meets the Enterprise
When Open Source Meets the EnterpriseWhen Open Source Meets the Enterprise
When Open Source Meets the Enterprise
 
Building Modern Platforms: A Practical Way to Migrate Legacy Systems to Amazo...
Building Modern Platforms: A Practical Way to Migrate Legacy Systems to Amazo...Building Modern Platforms: A Practical Way to Migrate Legacy Systems to Amazo...
Building Modern Platforms: A Practical Way to Migrate Legacy Systems to Amazo...
 
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
AWS Startup Day Bangalore: Being Well-Architected in the CloudAWS Startup Day Bangalore: Being Well-Architected in the Cloud
AWS Startup Day Bangalore: Being Well-Architected in the Cloud
 

Mais de Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

Mais 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
 

Último

Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
David Celestin
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 

Último (15)

Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 

Accelerating DynamoDB with DAX

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon DynamoDB Accelerator (DAX) Sean Shriver NoSQL Solutions Architect Amazon Web Services
  • 2. Amazon DynamoDB Fast and flexible NoSQL database service for any scale
  • 3. Scaling high-velocity use cases with DynamoDB Ad Tech Gaming MobileIoT Web
  • 4. Scalability Performance Security Availability Manageability Developer Platform
  • 5. Performance Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 6. DynamoDB: consistent performance at scale ConsistentSingle-Digit Millisecond Latency Requests(millions) Latency(milliseconds) Scalability Performance Security Availability & Data Protection Manageability Development Platform “We cannot afford to waste a 3 or 4 milliseconds...” “We have 20ms to make a decision… ”
  • 7. Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 8. Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 9. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Cache Your Applications Traditional side cache DynamoDB Your Applications Caching made simple DynamoDB Accelerator
  • 11. Scalability Performance Security Availability & Data Protection Manageability Development Platform Milliseconds to microseconds
  • 12. Scalability Performance Security Availability & Data Protection Manageability Development Platform • Fully managed, highly available: handles all software management, fault tolerant, replication across multi-AZs within a region • DynamoDB API compatible: seamlessly caches DynamoDB API calls, no application re-writes required • Write-through: DAX handles caching for writes • Flexible: Configure DAX for one table or many • Scalable: scales-out to any workload with up to 10 read replicas • Manageability: fully integrated AWS service: Amazon CloudWatch, Tagging for DynamoDB, AWS Console • Security: Amazon VPC, AWS IAM, AWS CloudTrail, AWS Organizations Features DynamoDB Accelerator (DAX) DynamoDB Your Applications DynamoDB Accelerator
  • 13. What did we just do? Scalability Performance Security Availability & Data Protection Manageability Development Platform AWS VPC EC2 App DDB SDK DynamoDB DAX SDK DAX
  • 15. High Availability Scalability Performance Security Availability & Data Protection Manageability Development Platform AMAZON VPC EC2 App DAX SDK DynamoDB AZ1 AZ2 AZ3
  • 17. Q: How easy is it to add in- memory caching with DAX? A: Comment out the this code and add this code Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 18. DAX is API compatible with DynamoDB • Read APIs: GetItem, BatchGetItem, Query, Scan • Modify APIs: PutItem, UpdateItem, DeleteItem, BatchWriteItem • Control plane APIs: Not supported (CreateTable, DeleteTable, etc.) Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 19. Scalability Performance Security Availability & Data Protection Manageability Development Platform DAX has two caches Query Cache {query, scan} Item Cache {GetItem, PutItem} key, value query text, result set
  • 21. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Accelerator (DAX): Reads DynamoDB Your Applications DynamoDB Accelerator t=1 GetItem t=2 Cache Miss t=3 GetItem t=4 Populate cache t=5 Return item
  • 22. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Accelerator (DAX): Reads DynamoDB Your Applications DynamoDB Accelerator t=1 GetItem t=2 Cache Hit t=3 Return item
  • 23. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Accelerator (DAX): Write-through DynamoDB Your Applications DynamoDB Accelerator t=1 PutItem t=2 Write t=3 Populate cache t=4 Return item
  • 24. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Accelerator (DAX): Read after Write DynamoDB Your Applications DynamoDB Accelerator t=1 GetItem t=2 Cache Hit t=3 Return item
  • 26. Scalability Performance Security Availability & Data Protection Manageability Development Platform DynamoDB Accelerator (DAX): Flexible DynamoDB Your Application DynamoDB Accelerator Table #1 DynamoDB Your Application DynamoDB Accelerator Table #1 Table #2 DynamoDB Your Applications DynamoDB Accelerator Table #1 DynamoDB Your Applications DynamoDB Accelerator Table #1 Table #2 One-to-One One-to-Many Many-to-One Many-to-Many
  • 28. Scaling DAX Scale-up . . . Scale Up (15.25 GiB to 244 GiB) Scale-out Scale Out (up to 10 replicas) . . . Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 30. Scalability Performance Security Availability & Data Protection Manageability Development Platform Amazon CloudWatch AWS Management Console Cost-based Tagging
  • 31. Cache Eviction Scalability Performance Security Availability & Data Protection Manageability Development Platform Time-to-live (TTL) Least Recently Used (LRU) Write-through eviction
  • 33. VPC subnet IAM AWS CloudTrail Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 35. Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Case #1: Unpredictable spikes
  • 36. Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Case #2: Speed Response times in microseconds
  • 37. Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Case #3: Hot keys RequestsPerSecond Item Primary Key Request Distribution Per Partition Key DynamoDB Requests Cache Hits
  • 38. Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Cases DynamoDB App DAX DynamoDB App DynamoDB App Write-Through Cache Read-Through Cache Write-Back Cache (not available today) 1 2 34 1 3 42 1 23 DAX DAX
  • 39. Scalability Performance Security Availability & Data Protection Manageability Development Platform Repeated users are now being handled by the DAX cache without making the more expensive (in both latency & cost) call to DynamoDB Shahar Kobrinky VP of Architecture and Scale at Eyeview “ ” DAX represents a big opportunity for us to find the optimal balance between infrastructure cost and system performance Brandon O’Brien Principle Software Engineer, Expedia, Inc. “ ” DynamoDB Accelerator (DAX)
  • 40. Scalability Performance Security Availability & Data Protection Manageability Development Platform The AWS team has taken a best-practice architectural pattern and turned it into something repeatable and valuable for its customers Glenn Nethercutt Chief Architect, Genesys “ ” The ability to supercharge DynamoDB with DAX is something we're looking forward to Pat Malatack General Manager of Twilio Messaging “ ” DynamoDB Accelerator (DAX)
  • 41. Scalability Performance Security Availability & Data Protection Manageability Development Platform Key Benefits • Fast performance: Microseconds response times at millions of reads/sec from single DAX cluster • Ease of use: DynamoDB API compatible - requires minimal code change for existing applications, simplifying developer experience • Lower costs: Reduce provisioned read capacity for DynamoDB tables for tables with hot data DynamoDB Accelerator (DAX) DynamoDB Your Applications DynamoDB Accelerator
  • 42. Learn more Sign up for the DAX Preview https://goo.gl/txHZmQ Google ”DAX preview form”
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved aws.amazon.com/activate Don’t forget to take the survey! Up next: 11:30AM-12:00PM | Guest presentation: Amazon Fresh