dynamodb webinar 21512[1]

Upload: minhxchau

Post on 06-Apr-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Dynamodb Webinar 21512[1]

    1/25

    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 co

    Amazon DynamoDB

    Dave Lang, Sr. Product Manager

    Stefano Stefani, Principal EngineerAWS Database Services

  • 8/2/2019 Dynamodb Webinar 21512[1]

    2/25

    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 co

    Introducing Amazon DynamoD

    A Non-Relational (NoSQL) Database ServiceHigh Scale

    High Performance

    Fully Managed Service

    Accessible via Web Service APIs

  • 8/2/2019 Dynamodb Webinar 21512[1]

    3/25

    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 co

    NoSQL?

    RDS (Relational database) Richer query functionality

    Complex transactions

    DynamoDB (NoSQL) Speed

    Scalability

    Ease of use

  • 8/2/2019 Dynamodb Webinar 21512[1]

    4/25

    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 co

    Data and Query Model

    User-declared primary key

    Flexible schema

    Easy-to-use APIs (PUT, GET, QUERY,)

    Strong and eventual consistency (your choice)

    Atomic countersConditional operators

  • 8/2/2019 Dynamodb Webinar 21512[1]

    5/25 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 co

    Emerging Database Requireme

    Massive Scalability Big Data

    Fast, Predictable Performance

    High Availability and Durability

    Ease of Use and Administration

  • 8/2/2019 Dynamodb Webinar 21512[1]

    6/25 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 co

    Amazon DynamoDB

    Massive Scalability Big Data: Designed for unlimited storage and throughput capaci

    Fast, Predictable Performance: Consistent, low-latency performance at any scale

    High Availability and Durability: Synchronous replication across availability zones

    Easy to Use: Fully managed, zero administration service.

  • 8/2/2019 Dynamodb Webinar 21512[1]

    7/25 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 co

    Massive Scalability with Dynamo

    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

  • 8/2/2019 Dynamodb Webinar 21512[1]

    8/25 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 co

    The Provisioned Throughput Mo

  • 8/2/2019 Dynamodb Webinar 21512[1]

    9/25 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 co

    The Provisioned Throughput Mo

  • 8/2/2019 Dynamodb Webinar 21512[1]

    10/25 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 co

    The Provisioned Throughput Mo

  • 8/2/2019 Dynamodb Webinar 21512[1]

    11/25

    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 co

    Changing your Throughput Capa

  • 8/2/2019 Dynamodb Webinar 21512[1]

    12/25

    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 co

    The Provisioned Throughput Mo

    Simply tell us how much capacity you need

    High performance at any scale

    Scale without changing a line of code

  • 8/2/2019 Dynamodb Webinar 21512[1]

    13/25

    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 co

    Big Data Elastic MapReduce (E

    DynamoDB / EMR Integration: Perform complex analytics

    Join DynamoDB tables with outside data sources like

    Export data out of DynamoDB

    Import data into DynamoDB

  • 8/2/2019 Dynamodb Webinar 21512[1]

    14/25

    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 co

    High Performance

    Typical service-side latency: single digit millisec

    Solid State Drive (SSD)-backed service

    Latency is consistent As throughput increases

    As storage grows

    No tuning. AWS handles that for you.

  • 8/2/2019 Dynamodb Webinar 21512[1]

    15/25

    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 co

    High Performance

    Latency(ms)

    Latency at 160,000 writes/second for 3 days

  • 8/2/2019 Dynamodb Webinar 21512[1]

    16/25

    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 co

    Availability and Durability

    Multi-datacenter replication and failover

    If one machine or datacenter fails, another serves you High availability

    Protects against data loss

  • 8/2/2019 Dynamodb Webinar 21512[1]

    17/25

    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 co

    What DynamoDB Manages For Y

    Hardware provisioning

    Cross-availability zone replication

    Monitoring and handling of hardware failures Replicas automatically regenerated whenever necess

    Changing the level of provisioned throughput Data might need to be redistributed around the cluste No service disruption or performance impact

  • 8/2/2019 Dynamodb Webinar 21512[1]

    18/25

    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 co

    Pricing

    Pay by the hour for throughput capacity

    $0.01 per hour for every 10 units of write capaci

    $0.01 per hour for every 50 units of read capaci

    $1 per GB per month of storage

    Free Tier: 5 units of write capacity, 10 units of read capacity, 100

  • 8/2/2019 Dynamodb Webinar 21512[1]

    19/25

    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 co

    Pricing Example

    10 writes per second

    100 reads per second

    10 GB of data

    1 KB items

    Estimated Monthly Cost: $32

  • 8/2/2019 Dynamodb Webinar 21512[1]

    20/25

    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 co

    When should you use DynamoD

    Low latency requirements

    Need to scale (now, or in future)

    Want to reduce TCO by eliminating administrativ

    Does not require complex queries or transaction

  • 8/2/2019 Dynamodb Webinar 21512[1]

    21/25

    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 co

    Who is using DynamoDB?

  • 8/2/2019 Dynamodb Webinar 21512[1]

    22/25

    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 co

    Integrated with Super Bowl ads

    Needed high performance and extremely high s

    Massive database table (more than 100,000

    writes/second)Massive elasticity (scale needed only during eve

    From design to production in 3 days

  • 8/2/2019 Dynamodb Webinar 21512[1]

    23/25

    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 co

    Pricing Example: Short Term Ev

    Massive Scale

    Short Duration

    100,000 writes/second over 4 hours

    Up to 1.4 Billion Writes

    Estimated Throughput Cost: $400

  • 8/2/2019 Dynamodb Webinar 21512[1]

    24/25

    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 co

    Easy to Get Started

    Create a table in seconds using the AWS Conso

    Free tier

    Easy-to-learn APIs

  • 8/2/2019 Dynamodb Webinar 21512[1]

    25/25

    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 co

    Q&A

    For more information:

    aws.amazon.com/[email protected]