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



• Hosted   MongoDB

• How   we got started
LIFE IN THE CLOUD


• Hosting   MongoDB on a cloud VPS

• Lessons   learned as a hosting provider

• What   to expect from MongoHQ in the future
DISK I/O IS NOT WEB SCALE


• Virtualized   I/O is variable

• File   allocation is slow

• EBS    RAID is better
EBS RAID


• RAID-0

• Much   faster

• Harder   to snapshot
SNAPSHOTTING RAID


• Snapshot   queues

• Can’t   be synchronized

• SLOW
SNAPSHOT ALTERNATIVES


• Multiple   Slaves with --slavedelay

• Same     benefits

• faster   / easier recovery

• always   consistent
FREEMIUM UNLEADED
                                  Free   Micro   Small   Large


• NOT      for production

• lowers   barrier

• customers     first experience

• higher   volatility
QUOTAS


• Weak     implementation

• File   based rather than size based

• Strange    things happen when you approach it
32-BIT ENVIRONMENT


• Don’t   do it

• Under   any circumstance

• Seriously
LIVE UPGRADING


• Using   Master-Master

• Watch    for old connections

• Stop   replication first
BLEEDING EDGE ... IT HURTS


• MongoDB

• Drivers

• ODMs
WHAT TO EXPECT?


• Slave   access on Large plans

• Dedicated    plans with sharding & replication

• More AWS      regions

• Slicehost   & Rackspace support
QUESTIONS?
     @mongohq
support@mongohq.com

MongoBoston - MongoHQ