mongoboston - mongohq
TRANSCRIPT
![Page 1: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/1.jpg)
MONGOHQI got 99 problems but a schema ain’t one
![Page 2: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/2.jpg)
ABOUT MONGOHQ
• Hosted MongoDB
• How we got started
![Page 3: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/3.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/4.jpg)
DISK I/O IS NOT WEB SCALE
• Virtualized I/O is variable
• File allocation is slow
• EBS RAID is better
![Page 5: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/5.jpg)
EBS RAID
• RAID-0
•Much faster
• Harder to snapshot
![Page 6: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/6.jpg)
SNAPSHOTTING RAID
• Snapshot queues
• Can’t be synchronized
• SLOW
![Page 7: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/7.jpg)
SNAPSHOT ALTERNATIVES
•Multiple Slaves with --slavedelay
• Same benefits
• faster / easier recovery
• always consistent
![Page 8: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/8.jpg)
FREEMIUM UNLEADED
•NOT for production
• lowers barrier
• customers first experience
• higher volatility
Free Micro Small Large
![Page 9: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/9.jpg)
QUOTAS
•Weak implementation
• File based rather than size based
• Strange things happen when you approach it
![Page 10: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/10.jpg)
32-BIT ENVIRONMENT
•Don’t do it
• Under any circumstance
• Seriously
![Page 11: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/11.jpg)
LIVE UPGRADING
• Using Master-Master
•Watch for old connections
• Stop replication first
![Page 12: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/12.jpg)
BLEEDING EDGE ... IT HURTS
•MongoDB
•Drivers
•ODMs
![Page 13: MongoBoston - MongoHQ](https://reader033.vdocuments.mx/reader033/viewer/2022052912/55a2518d1a28abcc758b4621/html5/thumbnails/13.jpg)
WHAT TO EXPECT?
• Slave access on Large plans
•Dedicated plans with sharding & replication
•More AWS regions
• Slicehost & Rackspace support