dropcam and dynamodb

12
Dropcam and NoSQL on AWS Greg Nelson Thursday, September 5, 13

Upload: greg-nelson

Post on 27-Jan-2015

116 views

Category:

Technology


0 download

DESCRIPTION

A little about Dropcam's cloud service on AWS, and some things about our experience with DynamoDB (The Good, The Bad*, and the Ugly).

TRANSCRIPT

Page 1: Dropcam and DynamoDB

Dropcamand NoSQL on AWS

Greg Nelson

Thursday, September 5, 13

Page 2: Dropcam and DynamoDB

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

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

Oh $#%!

2009 2010 2011 2012 2013

Switch toDynamoDB

Thursday, September 5, 13

Page 5: Dropcam and DynamoDB

Oh $#%!

2009 2010 2011 2012 2013

Switch toDynamoDB

•More inbound than YouTube

Thursday, September 5, 13

Page 6: Dropcam and DynamoDB

Oh $#%!

2009 2010 2011 2012 2013

Switch toDynamoDB

•More inbound than YouTube

•Suddenly petabytes

Thursday, September 5, 13

Page 7: Dropcam and DynamoDB

Dropcam on AWS

DynamoDB

Nexus Web Platform

S3

Cameras Users

Thursday, September 5, 13

Page 8: Dropcam and DynamoDB

DynamoDBat Dropcam

• CVR metadata

• recording sessions

• cuepoints

• And other stuff (user sessions, etc.)

Thursday, September 5, 13

Page 9: Dropcam and DynamoDB

The Good

• NoSQL as-a-service

• Fast

• Predictable

• Scalable

• Highly available

Thursday, September 5, 13

Page 10: Dropcam and DynamoDB

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

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

Questions?Thank you!

By the way:https://www.dropcam.com/jobs

[email protected]

Thursday, September 5, 13