• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
MongoDB Rules, MWRC, 2010
 

MongoDB Rules, MWRC, 2010

on

  • 8,118 views

 

Statistics

Views

Total Views
8,118
Views on SlideShare
6,425
Embed Views
1,693

Actions

Likes
25
Downloads
272
Comments
2

26 Embeds 1,693

http://nosql.mypopescu.com 1252
http://howard.vanrooijen.co.uk 215
http://www.mongodb.org 65
http://www.slideshare.net 43
http://teamco-anthill.blogspot.com 41
http://teamco-anthill.blogspot.de 27
http://nourlcn.ownlinux.net 11
http://teamco-anthill.blogspot.in 6
http://u.ownlinux.net 4
http://webcache.googleusercontent.com 4
http://siliconchaos.posterous.com 3
http://teamco-anthill.blogspot.hu 2
http://teamco-anthill.blogspot.fr 2
http://teamco-anthill.blogspot.sk 2
http://teamco-anthill.blogspot.com.br 2
http://nourlcn.blogspot.com 2
url_unknown 2
http://feeds.feedburner.com 2
http://teamco-anthill.blogspot.jp 1
http://www.4624.info 1
http://teamco-anthill.blogspot.cz 1
http://code.josrozen.net 1
http://static.slidesharecdn.com 1
http://teamco-anthill.blogspot.ch 1
http://translate.googleusercontent.com 1
http://teamco-anthill.blogspot.co.uk 1
More...

Accessibility

Upload Details

Uploaded via as Adobe PDF

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

12 of 2 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • @nofreenickleft:

    You're right. Put the slides together in a bit of a rush. Will fix.

    Kyle
    Are you sure you want to
    Your message goes here
    Processing…
  • Line 56 on page 38 should probably read: :created_at => { ’$lt’ => today }).sort([’total’, -1]).limit(1)
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MongoDB Rules, MWRC, 2010 MongoDB Rules, MWRC, 2010 Presentation Transcript

    • MongoDB Rules Friday, March 12, 2010
    • http://www.flickr.com/photos/scottkinmartin/489538824/ Friday, March 12, 2010
    • kyle banker @hwaet kyle@10gen.com Friday, March 12, 2010
    • docs and downloads mongodb.org google group: mongodb-user Friday, March 12, 2010
    • MongoDB Rules Friday, March 12, 2010
    • 1 Get to know the real MongoDB Friday, March 12, 2010
    • try.mongodb.org Friday, March 12, 2010
    • Ruby driver Friday, March 12, 2010
    • a pageview document Friday, March 12, 2010
    • _id is the primary key Friday, March 12, 2010
    • what’s in an oid? Friday, March 12, 2010
    • what’s in an oid? 4b6857a0 timestamp Friday, March 12, 2010
    • what’s in an oid? 4b6857a0 7613c3 timestamp machine id Friday, March 12, 2010
    • what’s in an oid? 4b6857a0 7613c3 6709 timestamp machine id process id Friday, March 12, 2010
    • what’s in an oid? 4b6857a0 7613c3 6709 4426b2 timestamp machine id process id counter Friday, March 12, 2010
    • BSON Friday, March 12, 2010
    • When we call #save: Friday, March 12, 2010
    • When we call #save: 1. Add an _id Friday, March 12, 2010
    • When we call #save: 1. Add an _id 2. Serialize to BSON Friday, March 12, 2010
    • When we call #save: 1. Add an _id 2. Serialize to BSON 3. socket.send() Friday, March 12, 2010
    • 2 Use Object Ids Friday, March 12, 2010
    • advantages MongoDB standard Timestamp 12-byte BSON type (string is 16) If you still use a string... Friday, March 12, 2010
    • 3 Use rich documents Friday, March 12, 2010
    • Text Text Friday, March 12, 2010
    • TANGENT Friday, March 12, 2010
    • Friday, March 12, 2010
    • Simulating a flexible schema Friday, March 12, 2010
    • Simulating a flexible schema What’s the join like? Friday, March 12, 2010
    • Simulating a flexible schema What’s the join like? Can we reason about it? Friday, March 12, 2010
    • {:sku => ‘637636’, :name => ‘Linen tailored pant’, :about => [{:title => ‘fabric & care’, :content => [‘Dry clean’, ‘Imported’]}, {:title => ‘overview’, :content => [‘Tailored fit’, ‘Yarn dyed’]} ] }* Friday, March 12, 2010
    • human-oriented Friday, March 12, 2010
    • Friday, March 12, 2010
    • Text Text Friday, March 12, 2010
    • Text Text Friday, March 12, 2010
    • dynamic queries Friday, March 12, 2010
    • dynamic queries Friday, March 12, 2010
    • dynamic queries Friday, March 12, 2010
    • dynamic queries Friday, March 12, 2010
    • query operators $ne $in $nin $mod $all $size $exists Friday, March 12, 2010
    • 4 Array keys rule, too Friday, March 12, 2010
    • simplify tiny relations Friday, March 12, 2010
    • simplify tiny relations Friday, March 12, 2010
    • simplify tiny relations Friday, March 12, 2010
    • simplify tiny relations Friday, March 12, 2010
    • many-to-many Friday, March 12, 2010
    • many-to-many Friday, March 12, 2010
    • many-to-many Friday, March 12, 2010
    • many-to-many Friday, March 12, 2010
    • many-to-many Friday, March 12, 2010
    • 5 Use atomic operators Friday, March 12, 2010
    • votes Friday, March 12, 2010
    • votes Friday, March 12, 2010
    • votes Friday, March 12, 2010
    • votes Friday, March 12, 2010
    • votes Friday, March 12, 2010
    • concert seats Friday, March 12, 2010
    • concert seats findAndModify Command Friday, March 12, 2010
    • concert seats findAndModify Command Friday, March 12, 2010
    • concert seats findAndModify Command Friday, March 12, 2010
    • concert seats findAndModify Command Friday, March 12, 2010
    • concert seats findAndModify Command Friday, March 12, 2010
    • update operators $inc $set $push $pushAll $pop $pull $pullAll Friday, March 12, 2010
    • 6 Map-reduce is for aggregation. Results in a new collection. Friday, March 12, 2010
    • map Friday, March 12, 2010
    • map Friday, March 12, 2010
    • map Friday, March 12, 2010
    • reduce Friday, March 12, 2010
    • reduce Friday, March 12, 2010
    • 7 Indexes are indexes Friday, March 12, 2010
    • be smart about indexes Friday, March 12, 2010
    • be smart about indexes similar to indexes in MySQL Friday, March 12, 2010
    • be smart about indexes similar to indexes in MySQL building indexes can take time Friday, March 12, 2010
    • be smart about indexes similar to indexes in MySQL building indexes can take time build compound indexes Friday, March 12, 2010
    • be smart about indexes similar to indexes in MySQL building indexes can take time build compound indexes Friday, March 12, 2010
    • 8 GridFS Friday, March 12, 2010
    • http://www.flickr.com/photos/e_hmm/1700063858/ Friday, March 12, 2010
    • api Friday, March 12, 2010
    • api Friday, March 12, 2010
    • api files collection for metadata Friday, March 12, 2010
    • api files collection for metadata chunks collection for data Friday, March 12, 2010
    • chunks Friday, March 12, 2010
    • chunks Friday, March 12, 2010
    • chunks Friday, March 12, 2010
    • 9 Replicate and backup. Friday, March 12, 2010
    • 10 Performance notes. Friday, March 12, 2010
    • notes: Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Run multiple Ruby processes Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Run multiple Ruby processes Embedded documents Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Run multiple Ruby processes Embedded documents Queries should use indexes Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Run multiple Ruby processes Embedded documents Queries should use indexes Keep indexes in RAM Friday, March 12, 2010
    • notes: Ruby driver does a lot of work Run multiple Ruby processes Embedded documents Queries should use indexes Keep indexes in RAM Keep working set in RAM Friday, March 12, 2010
    • 11 Auto-shard, to keep it in RAM. Friday, March 12, 2010
    • Friday, March 12, 2010
    • client Friday, March 12, 2010
    • mongos client Friday, March 12, 2010
    • Shards m m m m m m m m m mongos client Friday, March 12, 2010
    • Shards m m m Config m m m m m m Servers mongod mongod mongod mongos client Friday, March 12, 2010
    • Shards m m m ... Config m m m m m m Servers mongod mongod mongod mongos ... mongos client Friday, March 12, 2010
    • 12 Two production cases: Friday, March 12, 2010
    • sourceforge.net Friday, March 12, 2010
    • github.com Friday, March 12, 2010
    • harmonyapp.com Friday, March 12, 2010
    • 13 Questions Friday, March 12, 2010