24
NoSQL?

NoSQL

Embed Size (px)

DESCRIPTION

Just my

Citation preview

Page 1: NoSQL

NoSQL?

Page 2: NoSQL

Buzz Words...

Page 3: NoSQL

http://developers.facebook.com/docs/concepts/opengraph/

Facebook Open Graph

Page 4: NoSQL

The Knowledge Graphhttp://www.google.com/insidesearch/features/search/knowledge.html

Page 5: NoSQL

Big Data?http://martinfowler.com/articles/bigData/

Page 6: NoSQL

Polyglot Persistence?http://martinfowler.com/articles/nosql-intro.pdf

Page 7: NoSQL

Basic Architecture

Page 8: NoSQL

Performance?

Page 9: NoSQL

Data Virtualisation?

Page 10: NoSQL

Graph Database

Page 11: NoSQL

Graph Database

Page 12: NoSQL

Relational Database

Page 13: NoSQL

SELECT DISTINCT name AS my_friendFROM FriendOfFriend.Friend f,

FriendOfFriend.MyFriend my_fWHERE f.id = my_f.friend_id_1 and my_id = 1

Who are my friends?

Page 14: NoSQL

What about who are my friends of a friend?

Page 15: NoSQL

What about who are my friends of a friend that also like the

same thing I like?

Page 16: NoSQL

What would it be in NEO4J?(CYPHER)

START me=node(10)MATCH me-[:friend]-friend-[:friend]-friend_of_friend

RETURN friend_of_friend

Page 17: NoSQL

•It feels natural

•Fast in highly connected data (embedded)

Why Graph Database?

Page 18: NoSQL

Examplehttps://github.com/noppanit/eventify

http://www.kaggle.com/c/event-recommendation-engine-challenge

Page 19: NoSQL

Example

Page 20: NoSQL

More?

Page 21: NoSQL

NoDBAhttp://martinfowler.com/bliki/NoDBA.html

Page 22: NoSQL

BUT!

Page 23: NoSQL

•Don’t use it because it’s COOL!

•NoSQL should be also considered when appropriate, do not just go for relational databases

•It’s not really schema-less, the schema is in the code

•We still need DBAs.

Things to remember!

Page 24: NoSQL

References

• http://www.slideshare.net/tackers/why-we-chose-mongodb-for-guardiancouk

• http://www.rapidftr.com/