• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Our Adventure with MongoDB
 

Our Adventure with MongoDB

on

  • 1,272 views

A preview of my Mongo Chic

A preview of my Mongo Chic

Statistics

Views

Total Views
1,272
Views on SlideShare
1,266
Embed Views
6

Actions

Likes
0
Downloads
3
Comments
0

2 Embeds 6

http://speakerrate.com 5
http://www.linkedin.com 1

Accessibility

Categories

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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Our Adventure with MongoDB Our Adventure with MongoDB Presentation Transcript

    • Our Adventure With MongoDB, Rails & Friends Chicago Ruby October 2010
    • Ethan Gunderson http://ethangunderson.com Twitter & Github: ethangunderson
    • Our Agenda 1) gathers.us 2) Choosing an ODM 3) Data modeling 4) Other fun Mongo events 5) Q & A
    • Manage events
    • Manage your groups (coming soon)
    • Aggregate your social content (coming soon)
    • Data needs High Value Low Value Groups Social Events Events RSVPs
    • Our Agenda 1) gathers.us 2) Choosing an ODM 3) Data modeling 4) Other fun Mongo events 5) Q & A
    • Lotʼs of options for Rails integration MongoMapper Mongoid MogoDoc Mongomatic Candy
    • We chose ... The strait Mongo Ruby driver!
    • ORMs are worthless if you donʼt understand what theyʼre doing.
    • Simple to use
    • Learn your tools
    • We avoided one until it became too painful not to use one.
    • In the end, we chose Mongoid
    • Rails 3 support
    • Nice query syntax
    • Safe mode
    • Master / Slave
    • Our Agenda 1) gathers.us 2) Choosing an ODM 3) Data modeling 4) Other fun Mongo events 5) Q & A
    • Our data model
    • Introducing groups
    • Option 1
    • Option 2
    • YEAH!!!
    • This idea actually sucks
    • Mongoʼs 4MB document limit Among other things, it keeps people like us, from doing things like that.
    • In reality, documents shouldnʼt be bigger than ~250kb Inefficient when... 1) updating on the server 2) transferring across the network 3) serializing to and from BSON
    • Option 3 single collection inheritance
    • Mongoid Support
    • Top level objects are still top level objects
    • Moral of the story is, data modeling is still hard
    • Our Agenda 1) gathers.us 2) Choosing an ODM 3) Data modeling 4) Other fun Mongo events 5) Q & A
    • ChicagoDB October October 18th, 6:00pm Obtiva Studio http://chicagodb.com The CTO of 10gen, Eliot Horowitz, will give us an in depth look at the components that make up MongoDB
    • Mongo Chicago October 20th, 9am - 6pm IIT http://10gen.com/conferences/mongochicago2010 21 presentations by Mongo users and 10gen employees covering a wide array of topics from Mongo basics to Sharding architecture.
    • Our Agenda 1) gathers.us 2) Choosing an ODM 3) Data modeling 4) Other fun Mongo events 5) Q & A
    • Q&A http://spkr8.com/t/4704