Your SlideShare is downloading. ×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Introduction to MongoDB (Webinar Jan 2011)

2,497
views

Published on

Nosh Petigara's presentation on January 10, 2011

Nosh Petigara's presentation on January 10, 2011

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,497
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
98
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to MongoDB Nosh Petigara Director of Product Strategy [email_address] @noshinosh
  • 2. MongoDB: The basics
    • Motivation & use cases
    • The document model
    • Flexible queries and updates
    • Deployment architecture
  • 3. The Great Divide MongoDB sweet spot: Easy, Flexible, Scalable
  • 4. 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
  • 5. Selected Users
  • 6. 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
  • 7. 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??!!
  • 8. 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??
  • 9. Under the hood
    • Written in C++
    • Available on most platforms
    • Data serialized to BSON
    • Extensive use of memory-mapped files
  • 10. Some Other Cool Features
    • Geo-spatial indexes
      • $near
    • GridFS
      • Store large binary files
    • Capped Collections
      • Fixed-space FIFO collections
  • 11. Single Master Deployments
    • Configure as a replica set for automated failover
    • Add more secondaries to scale reads
    Primary/Master Secondary/Slave
  • 12. 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
  • 13. Next Steps
    • http://mongodb.org
    • @mongodb
    • http://10gen.com/events
    • [email_address]
    • @noshinosh