Introduction to MongoDB (Webinar Jan 2011)
 

Introduction to MongoDB (Webinar Jan 2011)

on

  • 3,019 views

Nosh Petigara's presentation on January 10, 2011

Nosh Petigara's presentation on January 10, 2011

Statistics

Views

Total Views
3,019
Views on SlideShare
2,806
Embed Views
213

Actions

Likes
1
Downloads
98
Comments
0

6 Embeds 213

http://www.10gen.com 207
http://www.linkedin.com 2
http://localhost:8080 1
http://dev.10gen.com 1
https://www.10gen.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Introduction to MongoDB (Webinar Jan 2011) Introduction to MongoDB (Webinar Jan 2011) Presentation Transcript

  • Introduction to MongoDB Nosh Petigara Director of Product Strategy [email_address] @noshinosh
  • MongoDB: The basics
    • Motivation & use cases
    • The document model
    • Flexible queries and updates
    • Deployment architecture
  • The Great Divide MongoDB sweet spot: Easy, Flexible, Scalable
  • Use Cases
    • RDBMS replacement for high-traffic web applications
    • Semi-structured content management
    • Real-time analytics & high-speed logging
    • Web Infrastructure
    Web 2.0, Media, SaaS, Gaming Finance, Telecom, Healthcare, Goverment
  • Selected Users
  • Understanding the Document Model { _id :“A4304” author : “nosh”, date : 22/6/2010, title : “Intro to MongoDB” text : “MongoDB is an open source..”, tags : [“webinar”, “opensource”] comments : [{author: “mike”, date: 11/18/2010, txt: “Did you see the…”, votes: 7},….] } Documents->Collections->Databases
  • Document Model Makes Queries Simple db.posts.find({author: “nosh”, tags: “webinar”}) Operators: $gt, $lt, $gte, $lte, $ne, $all, $in, $nin, count, limit, skip, group Where is my join??!!
  • Atomic Operations makes Updates Simple db.posts.update({_id:A4304}, {title: “Intro to MongoDB(updated)”, text: “MongoDB is a scalable..”}, ${addToSet: {tags: “mongodb”}}) $set, $unset $push, $pop, $pull, $addToSet $inc Where is my transaction??
  • Under the hood
    • Written in C++
    • Available on most platforms
    • Data serialized to BSON
    • Extensive use of memory-mapped files
  • Some Other Cool Features
    • Geo-spatial indexes
      • $near
    • GridFS
      • Store large binary files
    • Capped Collections
      • Fixed-space FIFO collections
  • Single Master Deployments
    • Configure as a replica set for automated failover
    • Add more secondaries to scale reads
    Primary/Master Secondary/Slave
  • Auto Sharded Deployment
    • Autosharding distributes data among two or more replica sets
    • Mongo Config Server(s) handles distribution & balancing
    • Transparent to applications
    Primary/Master Secondary/Slave MongoS Mongo Config
  • Next Steps
    • http://mongodb.org
    • @mongodb
    • http://10gen.com/events
    • [email_address]
    • @noshinosh