Top Banner
Nicolas Ruflin NoSQL or not NoSQL? 28. June 2010 NoSQL or not NoSQL? Nicolas Ruflin
14

NoSQL or not NoSQL?

Jan 26, 2015

Download

Documents

Nicolas Ruflin

Presentation held at http://webilea.ch/
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: NoSQL or not NoSQL?

Nicolas Ruflin

NoSQL or not NoSQL? 28. June 2010

NoSQL or not NoSQL?Nicolas Ruflin

Page 2: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

About Me

• Nicolas Ruflin @ruflin

• Head Developer useKit

• Master Thesis: Adequate storage of social data

• Elastica: ElasticSearch PHP client

Page 3: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL: Not only SQL• Point being - when I rant about the suitability

of NoSQL solutions, I’m mainly complaining that in many cases it seems to me that they’re using them because they’re popular or trendy and not because they are or are not actually suited to the task at hand. ~Monty Taylor

• RDBMS was used in some many cases just because it was around for such a long time. ~Alex Popescu

Page 4: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

Why NoSQL?

http://gigaom.com/cloud/sensor-networks-top-social-networks-for-big-data-2/

Page 5: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

Why NoSQL?

• What is the problem with SQL?

• Semi structured data

• Horizontal scalability (read & write)

• Thousands of nodes

• ...

Page 6: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL Data Models

http://blogs.neotechnology.com/emil/2009/11/nosql-scaling-to-size-and-scaling-to-complexity.html

Page 7: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL vs. SQL

Data model Query language

SQL solutions Structured(normalized)

SQL

NoSQL solutions Semi structured MapReduce, ...

Page 8: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL Challenges

• Complexity

• Setup

• Queries (MapReduce)

• Data models

• Maturity

Page 9: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

Where to use NoSQL• Social data

• Data processing (Hadoop)

• Search (Lucene)

• Caching (Memcache, ...)

• Data Warehousing

• Logging

• ...

Page 10: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL or SQL?

• Wrong question

• What is your problem?

• Transactions

• Amount of data

• Data structure

Page 11: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL or not NoSQL?

NoSQL

SQL

Page 12: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

NoSQL Getting Started

• Blogs

• http://nosql.mypopescu.com/

• http://highscalability.com/

• Papers

• Dynamo (Amazon)

• BigTable (Google)

Page 13: NoSQL or not NoSQL?

Nicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

Questions-

Discussion

Page 14: NoSQL or not NoSQL?

Nicolas RuflinNicolas Ruflin

NoSQL or not NoSQL? 8. December 2010

CAP Theorem

http://blog.nahurst.com/visual-guide-to-nosql-systems