Mongodb
Upcoming SlideShare
Loading in...5
×
 

Mongodb

on

  • 854 views

Introduction to MongoDB, includng the motivation behind the nosql databases.

Introduction to MongoDB, includng the motivation behind the nosql databases.

Statistics

Views

Total Views
854
Views on SlideShare
770
Embed Views
84

Actions

Likes
3
Downloads
27
Comments
0

3 Embeds 84

http://software.danielwatrous.com 74
https://www.linkedin.com 6
http://www.linkedin.com 4

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

Mongodb Mongodb Presentation Transcript

  • MongoDB The fast (don’t think about this like an RDBMS) database alternative.Wednesday, August 24, 2011
  • THE ROAD TO MONGODB PROJECT RDBMS + ORM BUSINESS LOGIC DOMAIN MODELWednesday, August 24, 2011
  • Object Database Attempted to accommodate the OO languages they were meant to support Inheritance, associations, etc. THEY FAILED Too slow, too complicated, doomed!Wednesday, August 24, 2011
  • The Google Problem Relational databases are slow and don’t scale well Distribution Replication ACID compliance Vendor lock in Atypical domain model didn’t require ACID transactionsWednesday, August 24, 2011
  • The Google Solution Big Table http://labs.google.com/papers/bigtable.html email the authors, they’re great! Petabytes of data across thousands of commodity servers Data separate from logicWednesday, August 24, 2011
  • JSON & BSON Clear, concise and very AJAX friendly Flexible and nestable (you can nest documents) Ubiquitous language supportWednesday, August 24, 2011
  • JSON & BSON cont. BSON <> JSON translation can be awkward when dealing with language specific data types Dates, _id fields, etc. Well suited to text/numeric data, not much elseWednesday, August 24, 2011
  • Common pitfalls How to create a view or join Enforce data integrity Define data structure Document vs. Table(s)Wednesday, August 24, 2011
  • Normalization RDBMS Normalization is intended to... Reduce complexity Discourage duplication of code/data Provide logical mappings for domain elements In mongodb, the document tells the whole story, including a definition of the dataWednesday, August 24, 2011
  • Maturity Issues No log file rolling mechanism Awkward tools and querying Accustomed to tabular data (try .pretty()) Very little (if any) feedback regarding outcome of commandsWednesday, August 24, 2011
  • Queues Many steps, each in it’s own collection Keep high volume collections small & fast Maintain large amounts of statistical data in low volume collectionsWednesday, August 24, 2011
  • Ready for Business? Business logic must exist in code (including querying data) Transaction boundaries and concurrency must exist in code Speed and reliability are a go (so far :)Wednesday, August 24, 2011
  • Questions?Wednesday, August 24, 2011