Amazon DynamoDB

Dave Lang, Sr. Product Manager
Stefano Stefani, Principal Engineer AWS Database Services

© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Introducing Amazon DynamoDB
A Non-Relational (NoSQL) Database Service High Scale High Performance Fully Managed Service Accessible via Web Service APIs

© 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

May not be copied. and its affiliates.NoSQL? RDS (Relational database) • Richer query functionality • Complex transactions DynamoDB (NoSQL) • Speed • Scalability • Ease of use © 2012 Amazon. modified or distributed in whole or in part without the express consent of Amazon. Inc. All rights reserved. Inc. .com.com.

GET. Inc. and its affiliates. modified or distributed in whole or in part without the express consent of Amazon.Data and Query Model User-declared primary key Flexible schema Easy-to-use APIs (PUT. . Inc.com. QUERY.…) Strong and eventual consistency (your choice) Atomic counters Conditional operators © 2012 Amazon. All rights reserved.com. May not be copied.

May not be copied. modified or distributed in whole or in part without the express consent of Amazon. and its affiliates.Emerging Database Requirements Massive Scalability – Big Data Fast. Predictable Performance High Availability and Durability Ease of Use and Administration © 2012 Amazon. . Inc. Inc. All rights reserved.com.com.

Inc. Predictable Performance: • Consistent.Amazon DynamoDB Massive Scalability – Big Data: • Designed for unlimited storage and throughput capacity Fast. modified or distributed in whole or in part without the express consent of Amazon. Inc. . All rights reserved.com. zero administration service. and its affiliates.com. low-latency performance at any scale High Availability and Durability: • Synchronous replication across availability zones Easy to Use: • Fully managed. May not be copied. © 2012 Amazon.

modified or distributed in whole or in part without the express consent of Amazon.com. Inc. May not be copied.Massive Scalability with DynamoDB Unlimited storage Provisioned Throughput Model • • • • Can scale to extremely large workloads You tell us how much capacity you need You can change your capacity as needed We handle the rest © 2012 Amazon. Inc. and its affiliates. All rights reserved.com. .

. All rights reserved.The Provisioned Throughput Model © 2012 Amazon. modified or distributed in whole or in part without the express consent of Amazon. May not be copied. Inc.com. Inc. and its affiliates.com.

The Provisioned Throughput Model © 2012 Amazon. Inc. All rights reserved. May not be copied. Inc.com.com. and its affiliates. . modified or distributed in whole or in part without the express consent of Amazon.

com. modified or distributed in whole or in part without the express consent of Amazon.The Provisioned Throughput Model © 2012 Amazon.com. Inc. and its affiliates. Inc. May not be copied. . All rights reserved.

and its affiliates. Inc. All rights reserved.Changing your Throughput Capacity © 2012 Amazon.com. Inc. modified or distributed in whole or in part without the express consent of Amazon. May not be copied. .com.

All rights reserved. Inc.com. May not be copied. Inc.com. and its affiliates. . modified or distributed in whole or in part without the express consent of Amazon.The Provisioned Throughput Model Simply tell us how much capacity you need High performance at any scale Scale without changing a line of code © 2012 Amazon.

All rights reserved. Inc. and its affiliates. Inc. modified or distributed in whole or in part without the express consent of Amazon. May not be copied.com.Big Data – Elastic MapReduce (EMR) DynamoDB / EMR Integration: • • • • Perform complex analytics Join DynamoDB tables with outside data sources like S3 Export data out of DynamoDB Import data into DynamoDB © 2012 Amazon. .com.

modified or distributed in whole or in part without the express consent of Amazon.com. Inc. All rights reserved. .com. © 2012 Amazon. AWS handles that for you.High Performance Typical service-side latency: single digit milliseconds Solid State Drive (SSD)-backed service Latency is consistent • As throughput increases • As storage grows No tuning. May not be copied. and its affiliates. Inc.

May not be copied. modified or distributed in whole or in part without the express consent of Amazon.com. Inc.000 writes/second for 3 days © 2012 Amazon.High Performance Latency (ms) Latency at 160. Inc. All rights reserved. and its affiliates. .com.

All rights reserved. modified or distributed in whole or in part without the express consent of Amazon.Availability and Durability Multi-datacenter replication and failover • If one machine or datacenter fails.com. Inc. another serves your requests • High availability • Protects against data loss © 2012 Amazon. May not be copied. and its affiliates.com. . Inc.

Inc.com. Inc. May not be copied. All rights reserved. . modified or distributed in whole or in part without the express consent of Amazon.What DynamoDB Manages For You Hardware provisioning Cross-availability zone replication Monitoring and handling of hardware failures Changing the level of provisioned throughput • Data might need to be redistributed around the cluster • No service disruption or performance impact ADMIN • Replicas automatically regenerated whenever necessary © 2012 Amazon.com. and its affiliates.

10 units of read capacity. Inc. May not be copied. modified or distributed in whole or in part without the express consent of Amazon. and its affiliates. 100 MB © 2012 Amazon.com.com. All rights reserved. .01 per hour for every 50 units of read capacity $1 per GB per month of storage Free Tier: • 5 units of write capacity.Pricing Pay by the hour for throughput capacity $0. Inc.01 per hour for every 10 units of write capacity $0.

modified or distributed in whole or in part without the express consent of Amazon. May not be copied. Inc. .com. and its affiliates. All rights reserved. Inc.com.Pricing Example 10 writes per second 100 reads per second 10 GB of data 1 KB items Estimated Monthly Cost: $32 © 2012 Amazon.

com. and its affiliates. May not be copied. or in future) Want to reduce TCO by eliminating administrative costs Does not require complex queries or transactions © 2012 Amazon.When should you use DynamoDB? Low latency requirements Need to scale (now. All rights reserved. Inc.com. . Inc. modified or distributed in whole or in part without the express consent of Amazon.

modified or distributed in whole or in part without the express consent of Amazon. Inc. Inc. May not be copied. All rights reserved.Who is using DynamoDB? © 2012 Amazon. and its affiliates.com.com. .

Integrated with Super Bowl ads Needed high performance and extremely high scale Massive database table (more than 100. .com. Inc.com. May not be copied. Inc. All rights reserved.000 writes/second) Massive elasticity (scale needed only during event) From design to production in 3 days © 2012 Amazon. and its affiliates. modified or distributed in whole or in part without the express consent of Amazon.

com. May not be copied.000 writes/second over 4 hours Up to 1.com.Pricing Example: Short Term Event Massive Scale Short Duration 100. Inc.4 Billion Writes Estimated Throughput Cost: $400 © 2012 Amazon. modified or distributed in whole or in part without the express consent of Amazon. and its affiliates. Inc. All rights reserved. .

com. Inc. Inc. and its affiliates. modified or distributed in whole or in part without the express consent of Amazon.Easy to Get Started Create a table in seconds using the AWS Console Free tier Easy-to-learn APIs © 2012 Amazon. .com. All rights reserved. May not be copied.

Q&A For more information: aws.com. and its affiliates. Inc.amazon.com © 2012 Amazon. Inc. All rights reserved. . May not be copied. modified or distributed in whole or in part without the express consent of Amazon.com/dynamodb davelang@amazon.com.

Sign up to vote on this title
UsefulNot useful