• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
MongoDB is the new MySQL
 

MongoDB is the new MySQL

on

  • 898 views

Talk given before the July 22 Philippine Ruby Users Group meetup

Talk given before the July 22 Philippine Ruby Users Group meetup

Statistics

Views

Total Views
898
Views on SlideShare
898
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

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

    MongoDB is the new MySQL MongoDB is the new MySQL Presentation Transcript

    • MongoDB is the New MySQL Friday, July 23, 2010
    • MongoDB is... • a schema-less, document-oriented database • open-source (server: GPL, drivers: Apache) • built on C++ • supported commercially by 10gen Friday, July 23, 2010
    • Why MongoDB? • Fast • Highly scalable: replication, sharding • Open-source • runs on Windows Friday, July 23, 2010
    • Trade-offs Friday, July 23, 2010
    • ACID • Atomicity - A transaction is all or nothing • Consistency - Only valid data is written to the database • Isolation - Pretend all transactions are happening serially and the data is correct • Durability - What you write is what you get Friday, July 23, 2010
    • BASE • Basically Available - system seems to work all the time • Soft state - it doesn’t have to be consistent all the time • Eventually consistent - becomes consistent at some later time Friday, July 23, 2010
    • memcached Scalability & Performance key-value stores mongoDB RDBMS Depth of Functionality Friday, July 23, 2010
    • Programming Friday, July 23, 2010
    • ActiveModel? Friday, July 23, 2010
    • Persistence Friday, July 23, 2010
    • Querying Friday, July 23, 2010
    • Named Scopes! Friday, July 23, 2010
    • Named Scopes! Friday, July 23, 2010
    • Named Scopes! Friday, July 23, 2010
    • Callbacks before_create before_destroy before_save before_update before_validation after_create after_destroy after_save after_update after_validation Friday, July 23, 2010
    • Validation Friday, July 23, 2010
    • Administration Friday, July 23, 2010
    • Replication • M -> S • M -> S* • Replica sets [aka clusters] coming in v.1.6 Friday, July 23, 2010
    • Sharding Friday, July 23, 2010
    • Questions? Radamanthus Batnag rad@infinite.ly Friday, July 23, 2010
    • Links • http://www.mongodb.org/ • http://www.mongoid.org • http://highscalability.com/drop-acid-and- think-about-data • http://www.thenetworkadministrator.com/ MongoDB_MySQL.htm Friday, July 23, 2010