NoSQL

797 views
647 views

Published on

Just my

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
797
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
25
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

NoSQL

  1. 1. NoSQL?
  2. 2. Buzz Words...
  3. 3. Facebook Open Graph http://developers.facebook.com/docs/concepts/opengraph/
  4. 4. http://www.google.com/insidesearch/features/search/knowledge.htmlThe Knowledge Graph
  5. 5. Big Data?http://martinfowler.com/articles/bigData/
  6. 6. Polyglot Persistence? http://martinfowler.com/articles/nosql-intro.pdf
  7. 7. Basic Architecture
  8. 8. Performance?
  9. 9. Data Virtualisation?
  10. 10. Graph Database
  11. 11. Graph Database
  12. 12. Relational Database
  13. 13. Who are my friends? SELECT DISTINCT name AS my_friendFROMFriendOfFriend.Friend f, FriendOfFriend.MyFriendmy_fWHERE f.id = my_f.friend_id_1 and my_id = 1
  14. 14. What about who are my friends of a friend?
  15. 15. What about who are myfriends of a friend that also like the same thing I like?
  16. 16. What would it be in NEO4J? (CYPHER) START me=node(10)MATCH me-[:friend]-friend-[:friend]-friend_of_friend RETURN friend_of_friend
  17. 17. Why Graph Database?• It feels natural• Fast in highly connected data (embedded)
  18. 18. Example https://github.com/noppanit/eventifyhttp://www.kaggle.com/c/event-recommendation-engine-challenge
  19. 19. Example
  20. 20. More?
  21. 21. NoDBAhttp://martinfowler.com/bliki/NoDBA.html
  22. 22. BUT!
  23. 23. Things to remember!• 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.
  24. 24. References• http://www.slideshare.net/tackers/why-we-chose-mongodb-for- guardiancouk• http://www.rapidftr.com/

×