MongoBoston - MongoHQ

14
MONGOHQ I got 99 problems but a schema ain’t one

Transcript of MongoBoston - MongoHQ

Page 1: MongoBoston - MongoHQ

MONGOHQI got 99 problems but a schema ain’t one

Page 2: MongoBoston - MongoHQ

ABOUT MONGOHQ

• Hosted MongoDB

• How we got started

Page 3: MongoBoston - MongoHQ

LIFE IN THE CLOUD

• Hosting MongoDB on a cloud VPS

• Lessons learned as a hosting provider

•What to expect from MongoHQ in the future

Page 4: MongoBoston - MongoHQ

DISK I/O IS NOT WEB SCALE

• Virtualized I/O is variable

• File allocation is slow

• EBS RAID is better

Page 5: MongoBoston - MongoHQ

EBS RAID

• RAID-0

•Much faster

• Harder to snapshot

Page 6: MongoBoston - MongoHQ

SNAPSHOTTING RAID

• Snapshot queues

• Can’t be synchronized

• SLOW

Page 7: MongoBoston - MongoHQ

SNAPSHOT ALTERNATIVES

•Multiple Slaves with --slavedelay

• Same benefits

• faster / easier recovery

• always consistent

Page 8: MongoBoston - MongoHQ

FREEMIUM UNLEADED

•NOT for production

• lowers barrier

• customers first experience

• higher volatility

Free Micro Small Large

Page 9: MongoBoston - MongoHQ

QUOTAS

•Weak implementation

• File based rather than size based

• Strange things happen when you approach it

Page 10: MongoBoston - MongoHQ

32-BIT ENVIRONMENT

•Don’t do it

• Under any circumstance

• Seriously

Page 11: MongoBoston - MongoHQ

LIVE UPGRADING

• Using Master-Master

•Watch for old connections

• Stop replication first

Page 12: MongoBoston - MongoHQ

BLEEDING EDGE ... IT HURTS

•MongoDB

•Drivers

•ODMs

Page 13: MongoBoston - MongoHQ

WHAT TO EXPECT?

• Slave access on Large plans

•Dedicated plans with sharding & replication

•More AWS regions

• Slicehost & Rackspace support

Page 14: MongoBoston - MongoHQ

QUESTIONS?@mongohq

[email protected]