SlideShare a Scribd company logo
Practical Ruby
Projects with
Who am I?

Alex Sharp
Lead Developer at OptimisDev


@ajsharp
alexjsharp.tumblr.com
github.com/ajsharp
We’re going to talk about
      two things.
1. Why Mongo makes sense
2. Using MongoDB with Ruby
But first...
This talk is not about shiny
           objects
It’s not about the new
        hotness
It’s not about speed...
Or performance...
Or even scalability...
Or boring acronyms like...
CAP
Or ACID
It’s about practicality.
This talk is about creating
         software.
Migrating to another
technology is inefficient
Most people are reluctant to
   move off RDBMS-es
Relational DBs are both
1.Antiquated
2.Inefficient
The Problems of SQL
A brief history of SQL
 Developed at IBM in early 1970’s.
 Designed to manipulate and retrieve data stored in
 relational databases
A brief history of SQL
 Developed at IBM in early 1970’s.
 Designed to manipulate and retrieve data stored in
 relational databases


                  this is a problem
Why??
We don’t work with data...
We work with objects
We don’t care about storing
           data
We care about persisting
         state
Data != Objects
Therefore...
Relational DBs are an
antiquated tool for our needs
Ok, so what?
 SQL schemas are designed for storing
and querying data, not persisting objects.
To reconcile this mismatch, we
         have ORM’s
Object Relational Mappers
Ok, so what?
We need ORMs to bridge the gap (i.e. map)
between SQL and native objects (in our
case, Ruby objects)
We’re forced to create relationships for data
when what we really want is properties for our
                  objects.
This is NOT efficient
@alex = Person.new(
  :name => "alex",
  :stalkings => [Friend.new("Jim"), Friend.new("Bob")]
)
Native ruby object

<Person:0x10017d030 @name="alex",
  @stalkings=
     [#<Friend:0x10017d0a8 @name="Jim">,
      #<Friend:0x10017d058 @name="Bob">
  ]>
JSON/Mongo Representation
@alex.to_json
{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
SQL Schema Representation
# in a SQL schema
people:
  - name

stalkings:
  - name
  - stalkee_id
SQL Schema Representation
# in a SQL schema
people:
  - name

stalkings:
                    Wha Wha!?
  - name
  - stalkee_id
SQL Schema Representation
# in a SQL schema
people:
  - name

stalkings:          stalkings ain’t got
  - name              no stalkee_id
  - stalkee_id
SQL Schema Representation
# in a SQL schema
people:
  - name

stalkings:          stalkee_id is how we map our
  - name            object to fit in a SQL schema
  - stalkee_id
SQL Schema Representation
# in a SQL schema
people:
  - name

stalkings:
                    i.e. the “pointless join”
  - name
  - stalkee_id
Ruby -> JSON -> SQL
       <Person:0x10017d030 @name="alex",
       @stalkings=
Ruby      [#<Friend:0x10017d0a8 @name="Jim">,
           #<Friend:0x10017d058 @name="Bob">
       ]>

       @alex.to_json
JSON   { name: "alex",
         stalkings: [{ name: "Jim" }, { name: "Bob" }]
       }


       people:
         - name
SQL
       stalkings:
         - name
         - stalkee_id
Ruby -> JSON -> SQL
       <Person:0x10017d030 @name="alex",
       @stalkings=
Ruby      [#<Friend:0x10017d0a8 @name="Jim">,
           #<Friend:0x10017d058 @name="Bob">
       ]>

       @alex.to_json
JSON   { name: "alex",
         stalkings: [{ name: "Jim" }, { name: "Bob" }]
       }


       people:
         - name         Feels like we’re having
SQL                     to work too hard here
       stalkings:
         - name
         - stalkee_id
Ruby -> JSON -> SQL
       <Person:0x10017d030 @name="alex",
       @stalkings=
Ruby      [#<Friend:0x10017d0a8 @name="Jim">,
           #<Friend:0x10017d058 @name="Bob">
       ]>

       @alex.to_json
JSON   { name: "alex",
         stalkings: [{ name: "Jim" }, { name: "Bob" }]
       }


       people:
         - name
SQL
       stalkings:
         - name
         - stalkee_id
This may seem trivial for
 simple object models
But consider a tree-type
     object graph
Example: a sentence builder
Ok, so what?
You’re probably thinking...
“Listen GUY, SQL isn’t that bad”
Ok, so what?
Maybe.
Ok, so what?
But we can do much, much better.
Summary of Problems
 mysql is both antiquated and inefficient
Needs for a persistence layer:
Needs for a persistence layer:
 1.To persist the native state of our objects
Needs for a persistence layer:
 1.To persist the native state of our objects
 2.Should NOT interfere w/ application development
Needs for a persistence layer:
 1.To persist the native state of our objects
 2.Should NOT interfere w/ application development
 3.Provides features necessary to build modern web apps
Mongo to the Rescue!
Mongo was made for web
        apps
Practical Ruby Projects (Alex Sharp)
Mongo goes the 80/20 route
Document storage
Mongo stores everything in
     binary JSON
Simplifying schema design
Maps/hashes/associative arrays are arguably
among the best object serialization formats
Mongo Representation
{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
Mongo Representation

{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
  In Mongo, stalkings is an “embedded document”
Mongo Representation

{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
        Great for one-to-many associations
Mongo Representation

{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
              No JOINS required.
Mongo Representation

{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
     This is a good thing for scalability, because
     JOINS limit our ability to horizontally scale.
Mongo Representation

{ name: "alex",
  stalkings: [{ name: "Jim" }, { name: "Bob" }]
}
   But more importantly, this is more intuitive than
             messing with foreign keys
Mongo allows us to store
objects in a near-native format
This is awesome.
Much less schema design.
Much less brain pain.
Embedded Documents
Lots of 1-to-many relationships
  can be implemented as an
        embedded doc
This results in way fewer
   “pointless JOINs”
Scalability
Ok, so I lied.
;)
The ability to easily scale out
 is an important part of the
 philosophy behind Mongo
Also has implications for in
how we store our objects
If scaling out is easy, who
cares about the DB getting
          “too large”?
Just fire up another EC2
instance and be done with it.
Auto-sharding is going to
 make this stupid easy.
So stay tuned...
Other features necessary for
    building web apps
indexes
replication/redundancy
rich query syntax
Rich query syntax
Practical Projects
Four Examples

1.Accounting Application
2.Capped Collection Logging
3.Blogging Application
4.Storing binary data w/ GridFS
A simple general ledger
accounting application
The object model
           ledger


               *
         transactions


               *
           entries
The object model

                  #       Credits                      Debits



Transaction   {   1
                      { :account => “Cash”,
                        :amount => 100.00 }
                                                { :account => “Notes Pay.”,
                                                     :amount => 100.00 }


                                  Ledger Entries
Transaction   {   2   { :account => “A/R”,
                        :amount => 25.00 }
                                              { :account => “Gross Revenue”,
                                                     :amount => 25.00 }
Object model summary
Object model summary
Each ledger transaction belongs to a ledger.
Each ledger transaction has two ledger entries which
must balance.
Object Model with ActiveRecord
@credit_entry = LedgerEntry.new :account => "Cash",
  :amount => 100.00, :type => "credit"
@debit_entry = LedgerEntry.new :account => "Notes Pay.",
  :amount => 100.00, :type => "debit"


@ledger_transaction = LedgerTransaction.new
  :ledger_id => 1,
  :ledger_entries => [@credit_entry, @debit_entry]
Object Model with ActiveRecord
@credit_entry = LedgerEntry.new :account => "Cash",
  :amount => 100.00, :type => "credit"
@debit_entry = LedgerEntry.new :account => "Notes Pay.",
  :amount => 100.00, :type => "debit"


@ledger_transaction = LedgerTransaction.new
  :ledger_id => 1,
  :ledger_entries => [@credit_entry, @debit_entry]


    In a SQL schema, we need a database
         transaction to ensure atomicity
Object Model with Mongo
@ledger_transaction = LedgerTransaction.new :ledger_id => 1,
  :ledger_entries => [
    { :account => 'Cash', :type => "credit", :amount => 100.00 },
    { :account => 'Notes Pay.', :type => "debit", :amount => 100.00 }
  ]
Object Model with Mongo
@ledger_transaction = LedgerTransaction.new :ledger_id => 1,
  :ledger_entries => [
    { :account => 'Cash', :type => "credit", :amount => 100.00 },
    { :account => 'Notes Pay.', :type => "debit", :amount => 100.00 }
  ]


   This is the perfect case for embedded documents.
Object Model with Mongo
@ledger_transaction = LedgerTransaction.new :ledger_id => 1,
  :ledger_entries => [
    { :account => 'Cash', :type => "credit", :amount => 100.00 },
    { :account => 'Notes Pay.', :type => "debit", :amount => 100.00 }
  ]

        We would never have a ledger entry w/o a
                  ledger transaction.
Object Model with Mongo
@ledger_transaction = LedgerTransaction.new :ledger_id => 1,
  :ledger_entries => [
    { :account => 'Cash', :type => "credit", :amount => 100.00 },
    { :account => 'Notes Pay.', :type => "debit", :amount => 100.00 }
  ]

        In this case, we don’t even need database
                       transactions.
Object Model with Mongo
@ledger_transaction = LedgerTransaction.new :ledger_id => 1,
  :ledger_entries => [
    { :account => 'Cash', :type => "credit", :amount => 100.00 },
    { :account => 'Notes Pay.', :type => "debit", :amount => 100.00 }
  ]


                              Sweet.
Logging with Capped
Collections
Baseless statistic
 95% of the time logs are NEVER used.
Most logs are only used when
  something goes wrong.
Capped collections
  Fixed-sized, limited operation, auto age-out
  collections (kinda like memcached)
  Fixed insertion order
  Super fast (faster than normal writes)
  Ideal for logging and caching
Great. What’s that mean?
We can log additional pieces of arbitrary data
effortlessly due to Mongo’s schemaless nature.
This is awesome.
Now we have logs we can
 query, analyze and use!
Also a really handy
troubleshooting tool
Scenario
User experiences weird, hard to
reproduce error.
Scenario
Wouldn’t it be useful to see the complete
click-path?
Bunyan
http://github.com/ajsharp/bunyan


    Thin ruby layer around a
   MongoDB capped collection
require 'bunyan'

# put in config/initializers for rails
Bunyan::Logger.configure do |c|
  c.database   'my_bunyan_db'
  c.collection 'development_log'
  # == 100.megabytes if using rails
  c.size       104857600
end
class BunyanMiddleware
  def initialize(app)
    @app = app
  end

  def call(env)
    @status, @headers, @response = @app.call(env)
    Bunyan::Logger.insert(prepare_extra_fields)
    [@status, @headers, @response]
  end
end
Bunyan::Logger.find('user.email' => 'ajsharp@gmail.com')
Stay tuned for a Sinatra-based
       client front-end.
Mongolytics


Drop-in to a rails app
http://github.com/tpitale/mongolytics.git
Blogging Application
Blogging Application
 Much easier to model with Mongo than a relational
 database
Blogging Application
 A post has an author
Blogging Application
 A post has an author
 A post has many tags
Blogging Application
 A post has an author
 A post has many tags
 A post has many comments
Blogging Application
 A post has an author
 A post has many tags
 A post has many comments


Instead of JOINing separate tables,
we can use embedded documents.
require 'mongo'

conn = Mongo::Connection.new.db('bloggery')
posts   = conn.collection('posts')
authors = conn.collection('authors')
# returns a Mongo::ObjectID object
alex = authors.save :name => "Alex"
post = posts.save(
  :title      => 'Post title',
  :body       => 'Massive pontification...',
  :tags       => ['mongosf', 'omg', 'lolcats'],
  :comments    => [
     { :name => "Loudmouth McGee",
       :email => 'loud@mouth.edu',
       :body => "Something really ranty..."
     }
  ],
  :author_id => alex
)
# returns a Mongo::ObjectID object
alex = authors.save :name => "Alex"
post = posts.save(
  :title      => 'Post title',
  :body       => 'Massive pontification...',
  :tags       => ['mongosf', 'omg', 'lolcats'],
  :comments    => [
     { :name => "Loudmouth McGee",
       :email => 'loud@mouth.edu',
       :body => "Something really ranty..."
     }
  ],
                    Joins not necessary. Sweet.
  :author_id => alex
)
MongoMapper
MongoMapper
• MongoDB “ORM” developed by John Nunemaker
MongoMapper
• MongoDB “ORM” developed by John Nunemaker
 • author of HttpParty
MongoMapper
• MongoDB “ORM” developed by John Nunemaker
  • author of HttpParty
• Very similar syntax to DataMapper
MongoMapper
• MongoDB “ORM” developed by John Nunemaker
  • author of HttpParty
• Very similar syntax to DataMapper
  • Declarative rather than inheritance-based
MongoMapper
• MongoDB “ORM” developed by John Nunemaker
  • author of HttpParty
• Very similar syntax to DataMapper
  • Declarative rather than inheritance-based
• Very easy to drop into rails
MongoMapper
class Post
  include MongoMapper::Document

 belongs_to :author, :class_name => "User"

 key :title,          String, :required => true
 key :body,           String
 key :author_id,      Integer, :required => true
 key :published_at,   Time
 key :published,      Boolean, :default => false
 timestamps!

  many :tags
end

class Tag
  include MongoMapper::EmbeddedDocument

  key :name, String, :required => true
end
Storing binary data w/
GridFS and Joint
Joint
1.MongoMapper plugin for accessing GridFS
2.Built on top of the Ruby driver GridFS API
class Bio
  include MongoMapper::Document
  plugin Joint

 key :name,           String, :required => true
 key :title,          String
 key :description,    String
 timestamps!

  attachment :headshot
  attachment :video_bio
end
class Bio
  include MongoMapper::Document
  plugin Joint

 key :name,           String, :required => true
 key :title,          String
 key :description,    String
 timestamps!
                          Can be served directly
  attachment :headshot
                              from Mongo
  attachment :video_bio
end
Bing.
Bang.
Boom.
Using mongo w/ Ruby
Ruby mongo driver
MongoMapper
MongoID
MongoRecord (http://github.com/mongodb/mongo-
record)
MongoDoc (http://github.com/leshill/mongodoc)
Many other ORM/ODM’s under active development
Questions?
Thanks!
Ad

Recommended

Practical Ruby Projects with MongoDB - Ruby Kaigi 2010
Practical Ruby Projects with MongoDB - Ruby Kaigi 2010
Alex Sharp
 
Introduction to JSON & AJAX
Introduction to JSON & AJAX
Raveendra R
 
Practical Ruby Projects With Mongo Db
Practical Ruby Projects With Mongo Db
Alex Sharp
 
MongoDB and PHP ZendCon 2011
MongoDB and PHP ZendCon 2011
Steven Francia
 
Advanced Json
Advanced Json
guestfd7d7c
 
MongoDB and Ruby on Rails
MongoDB and Ruby on Rails
rfischer20
 
How to Win Friends and Influence People (with Hadoop)
How to Win Friends and Influence People (with Hadoop)
Sam Shah
 
MongoDB .local Munich 2019: Still Haven't Found What You Are Looking For? Use...
MongoDB .local Munich 2019: Still Haven't Found What You Are Looking For? Use...
MongoDB
 
jQuery
jQuery
Dileep Mishra
 
Learn css3
Learn css3
Mostafa Bayomi
 
Simplify AJAX using jQuery
Simplify AJAX using jQuery
Siva Arunachalam
 
Json
Json
mussawir20
 
jQuery
jQuery
Vishwa Mohan
 
Open Source Ajax Solution @OSDC.tw 2009
Open Source Ajax Solution @OSDC.tw 2009
Robbie Cheng
 
Building Apps with MongoDB
Building Apps with MongoDB
Nate Abele
 
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB
 
Json tutorial, a beguiner guide
Json tutorial, a beguiner guide
Rafael Montesinos Muñoz
 
Are Transactions Right For You? Using and Not Abusing Transactions
Are Transactions Right For You? Using and Not Abusing Transactions
Sheeri Cabral
 
jQuery Introduction
jQuery Introduction
Arwid Bancewicz
 
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
Matias Cascallares
 
jQuery
jQuery
Jay Poojara
 
jQuery for beginners
jQuery for beginners
Siva Arunachalam
 
Springest Dev Lunch: MongoDB Introduction
Springest Dev Lunch: MongoDB Introduction
Wouter de Vos
 
JQuery introduction
JQuery introduction
NexThoughts Technologies
 
Introduction to jQuery
Introduction to jQuery
Zeeshan Khan
 
jQuery
jQuery
Mostafa Bayomi
 
Deciphering Explain Output
Deciphering Explain Output
MongoDB
 
GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4
Heather Rock
 
A Regression Analysis Approach for Building a Prediction Model for System Tes...
A Regression Analysis Approach for Building a Prediction Model for System Tes...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
A Proposal of Postgraduate Programme for Software Testing Specialization
A Proposal of Postgraduate Programme for Software Testing Specialization
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 

More Related Content

What's hot (20)

jQuery
jQuery
Dileep Mishra
 
Learn css3
Learn css3
Mostafa Bayomi
 
Simplify AJAX using jQuery
Simplify AJAX using jQuery
Siva Arunachalam
 
Json
Json
mussawir20
 
jQuery
jQuery
Vishwa Mohan
 
Open Source Ajax Solution @OSDC.tw 2009
Open Source Ajax Solution @OSDC.tw 2009
Robbie Cheng
 
Building Apps with MongoDB
Building Apps with MongoDB
Nate Abele
 
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB
 
Json tutorial, a beguiner guide
Json tutorial, a beguiner guide
Rafael Montesinos Muñoz
 
Are Transactions Right For You? Using and Not Abusing Transactions
Are Transactions Right For You? Using and Not Abusing Transactions
Sheeri Cabral
 
jQuery Introduction
jQuery Introduction
Arwid Bancewicz
 
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
Matias Cascallares
 
jQuery
jQuery
Jay Poojara
 
jQuery for beginners
jQuery for beginners
Siva Arunachalam
 
Springest Dev Lunch: MongoDB Introduction
Springest Dev Lunch: MongoDB Introduction
Wouter de Vos
 
JQuery introduction
JQuery introduction
NexThoughts Technologies
 
Introduction to jQuery
Introduction to jQuery
Zeeshan Khan
 
jQuery
jQuery
Mostafa Bayomi
 
Deciphering Explain Output
Deciphering Explain Output
MongoDB
 
GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4
Heather Rock
 
Simplify AJAX using jQuery
Simplify AJAX using jQuery
Siva Arunachalam
 
Open Source Ajax Solution @OSDC.tw 2009
Open Source Ajax Solution @OSDC.tw 2009
Robbie Cheng
 
Building Apps with MongoDB
Building Apps with MongoDB
Nate Abele
 
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB .local Chicago 2019: Practical Data Modeling for MongoDB: Tutorial
MongoDB
 
Are Transactions Right For You? Using and Not Abusing Transactions
Are Transactions Right For You? Using and Not Abusing Transactions
Sheeri Cabral
 
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
The Fine Art of Schema Design in MongoDB: Dos and Don'ts
Matias Cascallares
 
Springest Dev Lunch: MongoDB Introduction
Springest Dev Lunch: MongoDB Introduction
Wouter de Vos
 
Introduction to jQuery
Introduction to jQuery
Zeeshan Khan
 
Deciphering Explain Output
Deciphering Explain Output
MongoDB
 
GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4
Heather Rock
 

Viewers also liked (20)

A Regression Analysis Approach for Building a Prediction Model for System Tes...
A Regression Analysis Approach for Building a Prediction Model for System Tes...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
A Proposal of Postgraduate Programme for Software Testing Specialization
A Proposal of Postgraduate Programme for Software Testing Specialization
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Testing Experience Magazine Vol.12 Dec 2010
Testing Experience Magazine Vol.12 Dec 2010
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
MongoSF
 
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoSF
 
Robert Pattinson
Robert Pattinson
guest5ed40080
 
Robert Pattinson
Robert Pattinson
guest5ed40080
 
Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)
MongoSF
 
Performance Testing: Analyzing Differences of Response Time between Performan...
Performance Testing: Analyzing Differences of Response Time between Performan...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Establishing A Defect Prediction Model Using A Combination of Product Metrics...
Establishing A Defect Prediction Model Using A Combination of Product Metrics...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
A Method for Predicting Defects in System Testing for V-Model
A Method for Predicting Defects in System Testing for V-Model
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Breaking the Software - A Topic on Software Engineering & Testing
Breaking the Software - A Topic on Software Engineering & Testing
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Administration (Eliot Horowitz)
Administration (Eliot Horowitz)
MongoSF
 
Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)
MongoSF
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)
MongoSF
 
An Alternative of Secured Online Shopping System via Point-Based Contactless ...
An Alternative of Secured Online Shopping System via Point-Based Contactless ...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
MongoSF
 
MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)
MongoSF
 
Performance Testing Strategy for Cloud-Based System using Open Source Testing...
Performance Testing Strategy for Cloud-Based System using Open Source Testing...
MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia
 
VIEWLEX # 08
VIEWLEX # 08
alex gaudin
 
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
MongoSF
 
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoSF
 
Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)
MongoSF
 
Administration (Eliot Horowitz)
Administration (Eliot Horowitz)
MongoSF
 
Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)
MongoSF
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)
MongoSF
 
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
MongoSF
 
MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)
MongoSF
 
Ad

Similar to Practical Ruby Projects (Alex Sharp) (20)

MongoDB at FrozenRails
MongoDB at FrozenRails
Mike Dirolf
 
Tame Accidental Complexity with Ruby and MongoMapper
Tame Accidental Complexity with Ruby and MongoMapper
Giordano Scalzo
 
MongoDB - Ruby document store that doesn't rhyme with ouch
MongoDB - Ruby document store that doesn't rhyme with ouch
Wynn Netherland
 
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
Mike Dirolf
 
Build your first MongoDB App in Ruby @ StrangeLoop 2013
Build your first MongoDB App in Ruby @ StrangeLoop 2013
Steven Francia
 
Rails and alternative ORMs
Rails and alternative ORMs
Jonathan Dahl
 
MongoDB is the MashupDB
MongoDB is the MashupDB
Wynn Netherland
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modelling
Korea Sdec
 
Practical Ruby Projects with MongoDB - Ruby Midwest
Practical Ruby Projects with MongoDB - Ruby Midwest
Alex Sharp
 
Mongodb my
Mongodb my
Alexey Gaziev
 
MongoDB
MongoDB
SPBRUBY
 
MongoDB
MongoDB
ФПС СПбГПУ
 
Java and Mongo
Java and Mongo
Marcio Mangar
 
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
JAX London
 
Introduction to MongoDB
Introduction to MongoDB
Mike Dirolf
 
Mongo db transcript
Mongo db transcript
foliba
 
DataMapper
DataMapper
Yehuda Katz
 
Einführung in MongoDB
Einführung in MongoDB
NETUserGroupBern
 
Logging rails application behavior to MongoDB
Logging rails application behavior to MongoDB
Alexey Vasiliev
 
MongoDB
MongoDB
Steven Francia
 
MongoDB at FrozenRails
MongoDB at FrozenRails
Mike Dirolf
 
Tame Accidental Complexity with Ruby and MongoMapper
Tame Accidental Complexity with Ruby and MongoMapper
Giordano Scalzo
 
MongoDB - Ruby document store that doesn't rhyme with ouch
MongoDB - Ruby document store that doesn't rhyme with ouch
Wynn Netherland
 
MongoDB at RubyEnRails 2009
MongoDB at RubyEnRails 2009
Mike Dirolf
 
Build your first MongoDB App in Ruby @ StrangeLoop 2013
Build your first MongoDB App in Ruby @ StrangeLoop 2013
Steven Francia
 
Rails and alternative ORMs
Rails and alternative ORMs
Jonathan Dahl
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modelling
Korea Sdec
 
Practical Ruby Projects with MongoDB - Ruby Midwest
Practical Ruby Projects with MongoDB - Ruby Midwest
Alex Sharp
 
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
JAX London
 
Introduction to MongoDB
Introduction to MongoDB
Mike Dirolf
 
Mongo db transcript
Mongo db transcript
foliba
 
Logging rails application behavior to MongoDB
Logging rails application behavior to MongoDB
Alexey Vasiliev
 
Ad

More from MongoSF (12)

Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 
Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 
MongoSF
 
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
 
Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)
MongoSF
 
Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)
MongoSF
 
Administration
Administration
MongoSF
 
Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)
MongoSF
 
Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)
MongoSF
 
Zero to Mongo in 60 Hours
Zero to Mongo in 60 Hours
MongoSF
 
PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)
MongoSF
 
Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)
MongoSF
 
From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)
MongoSF
 
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
 
Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 
Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 
MongoSF
 
C# Development (Sam Corder)
C# Development (Sam Corder)
MongoSF
 
Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)
MongoSF
 
Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)
MongoSF
 
Administration
Administration
MongoSF
 
Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)
MongoSF
 
Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)
MongoSF
 
Zero to Mongo in 60 Hours
Zero to Mongo in 60 Hours
MongoSF
 
PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)
MongoSF
 
Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)
MongoSF
 
From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)
MongoSF
 
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
MongoSF
 

Recently uploaded (20)

Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 

Practical Ruby Projects (Alex Sharp)