Kaifeng Zhang & Yuheng Wang
Agenda Why NoSQL? NoSQL Overview MongoDB vs. Riak5/18/2012            2
NoSQL History 1998, Carlo Strozzi, “NoREL” 2009, Eric Evans, “NoSQL” 2011, UnQL, superset of SQL            No SQL vs. ...
Why NoSQL Happened Web scale Data changes over time NoSQL becomes commodity5/18/2012                   4
NoSQL Features Not require fixed table schema Not use SQL as query language Usually avoid join operation Not give full...
Scenarios for NoSQL Performance and real-time nature over  consistency High scalability Store and retrieve huge quantit...
NoSQL Taxonomy     Document Store        Collections (Table)        Document (Row) Key-value Store Graph Column Fami...
Some Concepts CAP Theorem Distribution Model ACID Eventual Consistency5/18/2012                8
5/18/2012   9
5/18/2012   10
5/18/2012   11
Setup            Mongo         Riak All major OS      • No official support Stable and          of Windows  experimental...
Tooling            Mongo            Riak• Cmd line tool         • Poor• Web interface• 3rd party solutions5/18/2012       ...
Driver Support            Mongo          Riak• C/C++, Java,        • C/C++, Java• Erlang              • Erlang• PHP, Pytho...
CRUD(.NET)            Mongo          Riak• Excellent drivers   • Corrugated Iron  support             • RESTful API• Strai...
Query Complexity            Mongo        Riak• Secondary index   • Corrugated Iron• MapReduce in        query broken  Java...
ID Generation            Mongo         Riak• Incremental       • No viable solution  document field5/18/2012              ...
NoSQL Overview
Upcoming SlideShare
Loading in …5
×

NoSQL Overview

725 views

Published on

MongoDB vs. Riak

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
725
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
17
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • Typical modern relational database show poor performance on data-intensive app: - indexing a large number of document - serving pages on high-traffic websites - delivering streaming media
  • NoSQL Overview

    1. 1. Kaifeng Zhang & Yuheng Wang
    2. 2. Agenda Why NoSQL? NoSQL Overview MongoDB vs. Riak5/18/2012 2
    3. 3. NoSQL History 1998, Carlo Strozzi, “NoREL” 2009, Eric Evans, “NoSQL” 2011, UnQL, superset of SQL No SQL vs. Not Only SQL5/18/2012 3
    4. 4. Why NoSQL Happened Web scale Data changes over time NoSQL becomes commodity5/18/2012 4
    5. 5. NoSQL Features Not require fixed table schema Not use SQL as query language Usually avoid join operation Not give full ACID guarantees Distributed, fault-tolerant architecture5/18/2012 5
    6. 6. Scenarios for NoSQL Performance and real-time nature over consistency High scalability Store and retrieve huge quantity of data Not require a relational model5/18/2012 6
    7. 7. NoSQL Taxonomy Document Store  Collections (Table)  Document (Row) Key-value Store Graph Column Family5/18/2012 7
    8. 8. Some Concepts CAP Theorem Distribution Model ACID Eventual Consistency5/18/2012 8
    9. 9. 5/18/2012 9
    10. 10. 5/18/2012 10
    11. 11. 5/18/2012 11
    12. 12. Setup Mongo Riak All major OS • No official support Stable and of Windows experimental • Robust support of Linux • Nature cluster5/18/2012 13
    13. 13. Tooling Mongo Riak• Cmd line tool • Poor• Web interface• 3rd party solutions5/18/2012 14
    14. 14. Driver Support Mongo Riak• C/C++, Java, • C/C++, Java• Erlang • Erlang• PHP, Python, • PHP, Python, Ruby Ruby• Perl, Scala, .NET• Node.js, JS5/18/2012 15
    15. 15. CRUD(.NET) Mongo Riak• Excellent drivers • Corrugated Iron support • RESTful API• Straightforward5/18/2012 16
    16. 16. Query Complexity Mongo Riak• Secondary index • Corrugated Iron• MapReduce in query broken JavaScript • RESTful API to test5/18/2012 17
    17. 17. ID Generation Mongo Riak• Incremental • No viable solution document field5/18/2012 18

    ×