Amazon DynamoDB: a serverless NoSQL Database for scale and ...
Dropcam and DynamoDB
-
Upload
greg-nelson -
Category
Technology
-
view
122 -
download
0
description
Transcript of Dropcam and DynamoDB
![Page 1: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/1.jpg)
Dropcamand NoSQL on AWS
Greg Nelson
Thursday, September 5, 13
![Page 2: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/2.jpg)
What is Dropcam?
• Software company in SF
• Wi-Fi enabled camera
• Intelligent motion detection
• Apps (iPhone, iPad, Android, Web)
• Cloud Video Recording service
Thursday, September 5, 13
![Page 3: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/3.jpg)
Dropcam Uses
just because
(Pleasant Hill, CA - burglar caught)
small business
(The Baconery, NYC)
home security
(Toyota dealer saw I-5 bridge collapse)
(Kyra, N.Virginia)
baby
(Chris W, Pittsburgh, PA)
pets
(Dropcam employee, yesterday)
family
Thursday, September 5, 13
![Page 4: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/4.jpg)
Oh $#%!
2009 2010 2011 2012 2013
Switch toDynamoDB
Thursday, September 5, 13
![Page 5: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/5.jpg)
Oh $#%!
2009 2010 2011 2012 2013
Switch toDynamoDB
•More inbound than YouTube
Thursday, September 5, 13
![Page 6: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/6.jpg)
Oh $#%!
2009 2010 2011 2012 2013
Switch toDynamoDB
•More inbound than YouTube
•Suddenly petabytes
Thursday, September 5, 13
![Page 7: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/7.jpg)
Dropcam on AWS
DynamoDB
Nexus Web Platform
S3
Cameras Users
Thursday, September 5, 13
![Page 8: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/8.jpg)
DynamoDBat Dropcam
• CVR metadata
• recording sessions
• cuepoints
• And other stuff (user sessions, etc.)
Thursday, September 5, 13
![Page 9: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/9.jpg)
The Good
• NoSQL as-a-service
• Fast
• Predictable
• Scalable
• Highly available
Thursday, September 5, 13
![Page 10: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/10.jpg)
The Bad**Actually good
• “Eventual consistency”
• Design for sharding (hash key)
• Schemaless, sorta
• Limited query-ability
• NOT a replacement for your RDBMS
Thursday, September 5, 13
![Page 11: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/11.jpg)
The Ugly
• Think in IOs
• Actually, think in IOPS (harder)
• Get throttled and you’ll have a bad time
• Sort only by range key (even on scan)
• Can’t update range key
• No empty values?
Thursday, September 5, 13
![Page 12: Dropcam and DynamoDB](https://reader033.fdocuments.net/reader033/viewer/2022061300/54c786d04a7959af6a8b4571/html5/thumbnails/12.jpg)
Questions?Thank you!
By the way:https://www.dropcam.com/jobs
Thursday, September 5, 13