Successfully reported this slideshow.

NoSQLCamp : MongoDB at IGN

1,299 views

Published on

My lightening talk presentation at NoSQLCamp in SF on MongoDB at IGN.

Video here - https://www.youtube.com/watch?v=aOUeqCpXaio

Published in: Technology, Education
  • Be the first to like this

NoSQLCamp : MongoDB at IGN

  1. 1. MongoDB at IGN Architecture, Deployment, Administration Manish Pandit (@lobster1234) NoSQLCamp SF, Oct 3rd 2011
  2. 2. Why MongoDB <ul><ul><li>Schemaless - perfect for modeling games and articles </li></ul></ul><ul><ul><li>Easy clustering - Master Slave, or ReplicaSets </li></ul></ul><ul><ul><li>In-place updates, out of the box support for $push, $pull, $slice </li></ul></ul><ul><ul><li>Performance </li></ul></ul><ul><ul><li>Very smooth transition for someone with a RDBMS background </li></ul></ul><ul><ul><li>Ease of interaction with the database, javascript support </li></ul></ul><ul><ul><li>Community - active meetups/conferences, good developer evangelism </li></ul></ul><ul><ul><li>Drivers - Support for Ruby, Java, PHP and Scala </li></ul></ul>
  3. 3. Architecture <ul><li>MongoDB is used for </li></ul><ul><ul><li>Activities on the Social Platform </li></ul></ul><ul><ul><li>Blogs/Articles </li></ul></ul><ul><ul><li>Video Metadata </li></ul></ul><ul><ul><li>Game Data </li></ul></ul><ul><ul><li>Analytics - Badges, Points, Leaderboards </li></ul></ul><ul><ul><li>No Capped Collections </li></ul></ul><ul><li>Applications using MongoDB </li></ul><ul><ul><li>Video API built in Scala </li></ul></ul><ul><ul><li>Articles API built in Rails </li></ul></ul><ul><ul><li>Social API built in Java </li></ul></ul>
  4. 4. Deployment <ul><li>Variety of deployments, we're trying to unify them </li></ul><ul><ul><li>Virtualized Centos 5.6 instances with 8-16 GB RAM </li></ul></ul><ul><ul><li>MongoDB version 1.8.1, 1.8.3 </li></ul></ul><ul><ul><li>1 Master 2 Slaves for Social Platform, slaves load balanced behind a vIP. </li></ul></ul><ul><ul><li>2 Replicasets with 3 members each for Content API.  </li></ul></ul><ul><ul><li>No Sharding for now </li></ul></ul>
  5. 5. Administration <ul><ul><li>Backups using NetApp Filter snapshots </li></ul></ul><ul><ul><li>Backups using mongodump and restores using mongorestore - far more efficient to use BSON. </li></ul></ul><ul><ul><li>Monitoring with Nagios, Munin and 10gen MMS </li></ul></ul><ul><ul><li>Also monitor using the REST Status API </li></ul></ul>
  6. 6. About <ul><li>Manish Pandit </li></ul><ul><li>Sr. Engineering Manager at IGN </li></ul><ul><li>@lobster1234 </li></ul><ul><li>http://www.linkedin.com/in/mpandit </li></ul>

×