SlideShare ist ein Scribd-Unternehmen logo
1 von 45
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB Accelerator (DAX)
DynamoDB Just Got Faster
6/14/2017 Slides not intended for redistribution 2
Amazon DynamoDB
Fast and flexible NoSQL database
service for any scale
6/14/2017 3
DynamoDB Customers
Ad TechGaming IoTMobile Web
6/14/2017 4
Scalability Performance Security Availability Manageability Developer
Platform
6/14/2017 Slides not intended for redistribution 5
Performance
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 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… ”
6/14/2017 7
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 8
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 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
DAX Demo
6/14/2017 11
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Milliseconds to
microseconds
6/14/2017 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
6/14/2017 Slides not intended for redistribution 13
Fully managed, highly available
6/14/2017 14
High Availability
Scalability Performance Security Availability & Data Protection Manageability Development Platform
AMAZON VPC
EC2
App
DAX
SDK
DynamoDB
AZ1
AZ2
AZ3
6/14/2017 Slides not intended for redistribution 15
DynamoDB API compatible
6/14/2017 16
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
6/14/2017 17
• 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
DAX is API compatible with DynamoDB
6/14/2017 18
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
6/14/2017 Slides not intended for redistribution 19
Write-through
6/14/2017 20
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
6/14/2017 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 Hit
t=3 Return item
6/14/2017 22
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
6/14/2017 23
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
6/14/2017 Slides not intended for redistribution 24
Flexible
6/14/2017 25
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
6/14/2017 Slides not intended for redistribution 26
Scalable
6/14/2017 27
Scaling DAX
. . .
Scale Up
(15.25 GiB to 244 GiB)
Scale-out
Scale Out
(up to 10 replicas)
Scale-up
. . .
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 Slides not intended for redistribution 28
Manageability
6/14/2017 29
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Amazon
CloudWatch
AWS Management
Console
Cost-based
Tagging
6/14/2017 30
Cache Eviction
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Time-to-live (TTL) Least Recently Used
(LRU)
Write-through
eviction
6/14/2017 Slides not intended for redistribution 31
Security
6/14/2017 Slides not intended for redistribution 32
VPC subnet IAM
AWS
CloudTrail
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 Slides not intended for redistribution 33
Customer scenarios
6/14/2017 34
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Case #1: Unpredictable spikes
6/14/2017 35
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Case #2: Speed
Response times in microseconds
6/14/2017 36
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Customer Use Cases
DynamoDB
App
DAX
DynamoDB
App
DynamoDB
App
Write-Through Cache
Write-Around Cache
Write-Back Cache
(not available today)
1 2
34
1 3
42
1
23
DAX
DAX
6/14/2017 37
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)
6/14/2017 38
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)
6/14/2017 39
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) In public preview
DynamoDB
Your Applications
DynamoDB Accelerator
6/14/2017 Slides not intended for redistribution 40
FAQs
6/14/2017 41
Q: Does DAX invalidate query result sets
with puts, updates or deletes?
Scenario:
t=1 Query
t=2 PutItem
t=3 Query
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 42
Q: How does DAX handle strongly
consistent reads?
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 43
Q: Does DAX help with hot-keys?
Scalability Performance Security Availability & Data Protection Manageability Development Platform
6/14/2017 44
Q: What are the current limitations?
• Java SDK only
• Regions: N. Virginia, Oregon, Ireland
• Instances: r3
Scalability Performance Security Availability & Data Protection Manageability Development Platform
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDSAWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
Amazon Web Services
 

Was ist angesagt? (20)

Managing Data with Voume Velocity, and Variety with Amazon ElastiCache for Redis
Managing Data with Voume Velocity, and Variety with Amazon ElastiCache for RedisManaging Data with Voume Velocity, and Variety with Amazon ElastiCache for Redis
Managing Data with Voume Velocity, and Variety with Amazon ElastiCache for Redis
 
Cost Savings at High Performance with Redis Labs and AWS
Cost Savings at High Performance with Redis Labs and AWSCost Savings at High Performance with Redis Labs and AWS
Cost Savings at High Performance with Redis Labs and AWS
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
BigData: AWS RedShift with S3, EC2
BigData: AWS RedShift with S3, EC2BigData: AWS RedShift with S3, EC2
BigData: AWS RedShift with S3, EC2
 
Making (Almost) Any Database Faster and Cheaper with Caching
Making (Almost) Any Database Faster and Cheaper with CachingMaking (Almost) Any Database Faster and Cheaper with Caching
Making (Almost) Any Database Faster and Cheaper with Caching
 
HSBC and AWS Day - Big Data and HPC on AWS
HSBC and AWS Day - Big Data and HPC on AWSHSBC and AWS Day - Big Data and HPC on AWS
HSBC and AWS Day - Big Data and HPC on AWS
 
Database Migration – Simple, Cross-Engine and Cross-Platform Migration
Database Migration – Simple, Cross-Engine and Cross-Platform MigrationDatabase Migration – Simple, Cross-Engine and Cross-Platform Migration
Database Migration – Simple, Cross-Engine and Cross-Platform Migration
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
 
AWS re:Invent 2016: How Citus Enables Scalable PostgreSQL on AWS (DAT207)
AWS re:Invent 2016: How Citus Enables Scalable PostgreSQL on AWS (DAT207)AWS re:Invent 2016: How Citus Enables Scalable PostgreSQL on AWS (DAT207)
AWS re:Invent 2016: How Citus Enables Scalable PostgreSQL on AWS (DAT207)
 
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyDeploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
 
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksDeep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
 
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
AWS re:Invent 2016: ElastiCache Deep Dive: Best Practices and Usage Patterns ...
 
Getting started with Amazon DynamoDB
Getting started with Amazon DynamoDBGetting started with Amazon DynamoDB
Getting started with Amazon DynamoDB
 
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
 
Simple, Scalable and Highly Durable NAS in the Cloud - Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud - Amazon EFSSimple, Scalable and Highly Durable NAS in the Cloud - Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud - Amazon EFS
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Getting Started with Amazon ElastiCache
Getting Started with Amazon ElastiCacheGetting Started with Amazon ElastiCache
Getting Started with Amazon ElastiCache
 
AWS Summit Auckland Platinum Sponsor presentation - Trend Micro
AWS Summit Auckland Platinum Sponsor presentation - Trend MicroAWS Summit Auckland Platinum Sponsor presentation - Trend Micro
AWS Summit Auckland Platinum Sponsor presentation - Trend Micro
 
Building Big Data Applications with Serverless Architectures - June 2017 AWS...
Building Big Data Applications with Serverless Architectures -  June 2017 AWS...Building Big Data Applications with Serverless Architectures -  June 2017 AWS...
Building Big Data Applications with Serverless Architectures - June 2017 AWS...
 
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDSAWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
 

Ähnlich wie Accelerating DynamoDB with DAX

Running Data Platforms Like Products
Running Data Platforms Like ProductsRunning Data Platforms Like Products
Running Data Platforms Like Products
VMware Tanzu
 
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
NuoDB
 

Ähnlich wie 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
 
AWS Partner Webcast - Analyze Big Data for Consumer Applications with Looker ...
AWS Partner Webcast - Analyze Big Data for Consumer Applications with Looker ...AWS Partner Webcast - Analyze Big Data for Consumer Applications with Looker ...
AWS Partner Webcast - Analyze Big Data for Consumer Applications with Looker ...
 
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
2017 AWS DB Day | Amazon DynamoDB 서비스, 개요 및 신규 기능 소개
 
South Bay Kubernetes DevOps
South Bay Kubernetes DevOps South Bay Kubernetes DevOps
South Bay Kubernetes DevOps
 
Cloud Has Become the New Normal: TCS
Cloud Has Become the New Normal: TCS Cloud Has Become the New Normal: TCS
Cloud Has Become the New Normal: TCS
 
Ibm integrated analytics system
Ibm integrated analytics systemIbm integrated analytics system
Ibm integrated analytics system
 
AWS Summit Atlanta Keynote
AWS Summit Atlanta KeynoteAWS Summit Atlanta Keynote
AWS Summit Atlanta Keynote
 
Open Source für den geschäftskritischen Einsatz
Open Source für den geschäftskritischen EinsatzOpen Source für den geschäftskritischen Einsatz
Open Source für den geschäftskritischen Einsatz
 
Packaging Software at the Edge
Packaging Software at the EdgePackaging Software at the Edge
Packaging Software at the Edge
 
Google Cloud Platform Update - NEXT 2017
Google Cloud Platform Update - NEXT 2017Google Cloud Platform Update - NEXT 2017
Google Cloud Platform Update - NEXT 2017
 
Containerized Storage for Containers
Containerized Storage for ContainersContainerized Storage for Containers
Containerized Storage for Containers
 
Containerized Storage for Containers
Containerized Storage for ContainersContainerized Storage for Containers
Containerized Storage for Containers
 
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
 
Running Data Platforms Like Products
Running Data Platforms Like ProductsRunning Data Platforms Like Products
Running Data Platforms Like Products
 
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
Optimize App Performance and Security by Managing Microsoft Workloads on AWS ...
 
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
 
Murat Karslioglu, VP Solutions @ OpenEBS - Containerized storage for containe...
Murat Karslioglu, VP Solutions @ OpenEBS - Containerized storage for containe...Murat Karslioglu, VP Solutions @ OpenEBS - Containerized storage for containe...
Murat Karslioglu, VP Solutions @ OpenEBS - Containerized storage for containe...
 
Stop compromising your data in the cloud with Veritas CloudPoint
Stop compromising your data in the cloud with Veritas CloudPointStop compromising your data in the cloud with Veritas CloudPoint
Stop compromising your data in the cloud with Veritas CloudPoint
 
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
Elastic SQL Database: Oxymoron or Emerging Reality? (Database Month, June 2017)
 
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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 

Kürzlich hochgeladen (20)

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
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
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
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Air breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animalsAir breathing and respiratory adaptations in diver animals
Air breathing and respiratory adaptations in diver animals
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 97 Noida Escorts >༒8448380779 Escort Service
 
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara ServicesVVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
VVIP Call Girls Nalasopara : 9892124323, Call Girls in Nalasopara Services
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 

Accelerating DynamoDB with DAX

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Accelerator (DAX) DynamoDB Just Got Faster
  • 2. 6/14/2017 Slides not intended for redistribution 2 Amazon DynamoDB Fast and flexible NoSQL database service for any scale
  • 3. 6/14/2017 3 DynamoDB Customers Ad TechGaming IoTMobile Web
  • 4. 6/14/2017 4 Scalability Performance Security Availability Manageability Developer Platform
  • 5. 6/14/2017 Slides not intended for redistribution 5 Performance Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 6. 6/14/2017 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. 6/14/2017 7 Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 8. 6/14/2017 8 Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 9. 6/14/2017 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. 6/14/2017 11 Scalability Performance Security Availability & Data Protection Manageability Development Platform Milliseconds to microseconds
  • 12. 6/14/2017 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. 6/14/2017 Slides not intended for redistribution 13 Fully managed, highly available
  • 14. 6/14/2017 14 High Availability Scalability Performance Security Availability & Data Protection Manageability Development Platform AMAZON VPC EC2 App DAX SDK DynamoDB AZ1 AZ2 AZ3
  • 15. 6/14/2017 Slides not intended for redistribution 15 DynamoDB API compatible
  • 16. 6/14/2017 16 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
  • 17. 6/14/2017 17 • 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 DAX is API compatible with DynamoDB
  • 18. 6/14/2017 18 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
  • 19. 6/14/2017 Slides not intended for redistribution 19 Write-through
  • 20. 6/14/2017 20 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
  • 21. 6/14/2017 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 Hit t=3 Return item
  • 22. 6/14/2017 22 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
  • 23. 6/14/2017 23 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
  • 24. 6/14/2017 Slides not intended for redistribution 24 Flexible
  • 25. 6/14/2017 25 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
  • 26. 6/14/2017 Slides not intended for redistribution 26 Scalable
  • 27. 6/14/2017 27 Scaling DAX . . . Scale Up (15.25 GiB to 244 GiB) Scale-out Scale Out (up to 10 replicas) Scale-up . . . Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 28. 6/14/2017 Slides not intended for redistribution 28 Manageability
  • 29. 6/14/2017 29 Scalability Performance Security Availability & Data Protection Manageability Development Platform Amazon CloudWatch AWS Management Console Cost-based Tagging
  • 30. 6/14/2017 30 Cache Eviction Scalability Performance Security Availability & Data Protection Manageability Development Platform Time-to-live (TTL) Least Recently Used (LRU) Write-through eviction
  • 31. 6/14/2017 Slides not intended for redistribution 31 Security
  • 32. 6/14/2017 Slides not intended for redistribution 32 VPC subnet IAM AWS CloudTrail Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 33. 6/14/2017 Slides not intended for redistribution 33 Customer scenarios
  • 34. 6/14/2017 34 Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Case #1: Unpredictable spikes
  • 35. 6/14/2017 35 Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Case #2: Speed Response times in microseconds
  • 36. 6/14/2017 36 Scalability Performance Security Availability & Data Protection Manageability Development Platform Customer Use Cases DynamoDB App DAX DynamoDB App DynamoDB App Write-Through Cache Write-Around Cache Write-Back Cache (not available today) 1 2 34 1 3 42 1 23 DAX DAX
  • 37. 6/14/2017 37 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)
  • 38. 6/14/2017 38 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)
  • 39. 6/14/2017 39 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) In public preview DynamoDB Your Applications DynamoDB Accelerator
  • 40. 6/14/2017 Slides not intended for redistribution 40 FAQs
  • 41. 6/14/2017 41 Q: Does DAX invalidate query result sets with puts, updates or deletes? Scenario: t=1 Query t=2 PutItem t=3 Query Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 42. 6/14/2017 42 Q: How does DAX handle strongly consistent reads? Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 43. 6/14/2017 43 Q: Does DAX help with hot-keys? Scalability Performance Security Availability & Data Protection Manageability Development Platform
  • 44. 6/14/2017 44 Q: What are the current limitations? • Java SDK only • Regions: N. Virginia, Oregon, Ireland • Instances: r3 Scalability Performance Security Availability & Data Protection Manageability Development Platform

Hinweis der Redaktion

  1. * How many took a Lyft to the conference today? * Tell story of my Lyft driver But more and more even traditional industries – farm machinery, banking, healthcare. ALL also have these needs Earlier this morning, Werner called DynamoDB *the* default DB for serverless – b/c of high scale, consistent low latency, global scale.
  2. Yesterday’s millisecond is today’s microsecond We noticed a common pattern. They walked us through steps involved: choice of cache, new APIs, new data structures, re-write my whole app, hydrate cache, manage, scale, HA, etc. So we asked ourselves What if DynamoDB could just give customers a “Ludicrous Mode” for performance? Give them in-memory performance for highly-accessed data? What if customers didn’t have to change their code? What if we could have them just point to a new DynamoDB endpoint? What if we could manage the cache for them? Nodes, HA, etc. All with the same DynamoDB API…