Autoscale DynamoDB with Dynamic DynamoDB
Upcoming SlideShare
Loading in...5
×
 

Autoscale DynamoDB with Dynamic DynamoDB

on

  • 1,284 views

 

Statistics

Views

Total Views
1,284
Slideshare-icon Views on SlideShare
411
Embed Views
873

Actions

Likes
1
Downloads
4
Comments
0

6 Embeds 873

http://sebastiandahlgren.se 659
http://localhost 183
http://www.slideee.com 25
http://sebdah.github.io 3
https://www.linkedin.com 2
http://sebastiandahlgren.se.netzcheck.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Autoscale DynamoDB with Dynamic DynamoDB Autoscale DynamoDB with Dynamic DynamoDB Presentation Transcript

    • Auto scale DynamoDB with Dynamic DynamoDB Sebastian Dahlgren! @sebdah
    • Project overview Throughput metrics via CloudWatch Supports auto scaling of
 tables & global secondary indexes
 
 Live for about a year >10.000 monthly downloads Open source
    • Background Auto scaling is important! - Saves money
 - Saves your skin No auto scaling in DynamoDB
    • Basic config example
    • Configuration • [global]   o AWS credentials o Check interval o Circuit breaker • [logging]   o Logging settings o Supports external logging config • [table:  my_table]   o Rules for scaling a certain table o Maintenance windows • [gsi:  my_gsi  table:  my_table]   o Rules for scaling Global Secondary Indexes
    • Handling many tables or dynamic table names • Table list refreshed for every iteration o Addition of new tables o Removal of old tables
 • Use regular expressions in your configuration [table:  ^daily_data.*$]
    • Scaling down • DynamoDB limits down scaling to 4 times per UTC day • Optimize downscaling by using
 o reads-­‐lower-­‐threshold
 o writes-­‐lower-­‐threshold
 o always-­‐decrease-­‐rw-­‐together
 o maintenance-­‐windows
    • SNS notifications • Get an email when your provisioning is updated
 • Currently supports: o scale-up o scale-down
    • Circuit breaker • Dynamic DynamoDB can poll an URL to check system health
 • All scaling is paused if the URL does not return HTTP 200  OK
    • CloudFormation template • Launches a t1.micro instance
 (<$15/mo) • Auto Scaling Group
 min: 1, max: 1 • Running Dynamic DynamoDB in daemon mode • Configuration on S3
    • Tadaa Image publishing service
    • Thank you! sebdah / dynamic-dynamodb