Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduce Neo4j - Graph Database

14fbbf9c707c96558d6515e038bf17b7?s=47 vonstark
April 01, 2012

Introduce Neo4j - Graph Database

Neo4j 介紹.

Ps. MeetCliv目前轉型中. 有興去的可以私底下問我.. :p

14fbbf9c707c96558d6515e038bf17b7?s=128

vonstark

April 01, 2012
Tweet

Transcript

  1. Build Facebook Like Relationships with Neo4j by Von Stark Tuesday,

    October 11, 11
  2. Von Stark I am : Starter, Programmer ,Backpacker Use :

    Ruby, Rails, Erlang, Neo4j co-founder at meetcliv.com founder at neo4j.tw Engineer at Roodo tech co-founder at theprosbank.com co-founder at envionow.com Sales at 365biotech Tuesday, October 11, 11
  3. 4 W & 1 H What Why Who When How

    Tuesday, October 11, 11
  4. What is Neo4j Java & Lucene - NeoTechnology Embedded Document

    High Availability & FailOver. A(atomicity) C(consistency) I(isolation) D(durability) Ꮘೳ࠷ՂతGraph Database Tuesday, October 11, 11
  5. What can it do? Social Network Graph Network Complex Relationships

    Make database like natural Tuesday, October 11, 11
  6. What is the difference as Object Oriented DB Data preset

    as Node & Edge (Objects) More functions to traverse Friendly API Schema = set of Class (Independent) Tuesday, October 11, 11
  7. Why to use graph - Web3.0 ࢿྉܕࣜ 1999 2000 2010

    2020 Tuesday, October 11, 11
  8. Why to use Graph - Complexity Ꮘೳ ࢿྉෳᯑ౓ Tuesday, October

    11, 11
  9. Why to use Graph - Whiteboard Friendly Tuesday, October 11,

    11
  10. Why to use Graph - Whiteboard Friendly Tuesday, October 11,

    11
  11. Why to use graph - Reasons धཁᅷܗ᮫܎፺ࡧ ༗ෳᯑฒ׌Ꮇࢄ(ల։)తࢿྉઅߏ গ෦㟨తࢿྉ ->

    ඞཁ,େ෦㟨తࢿྉ -> ඇඞཁ SQLதڐଟࢿྉද౎ੋඳड़ࢿྉ᮫܎ੑ ࡏSQL࢖༻ྃଠଟJoin Tuesday, October 11, 11
  12. Who use graph Tuesday, October 11, 11

  13. When to use graph ቮ༗େྔ᮫܎धཁ႔ཧ ༗ࢿۚత૑ۀᅶୂ ቮख़ࣩGraph֓೦ SQL҃ҰൠKey/ValeతNoSQLቮෆ଍Ҏጯ෇ Tuesday, October

    11, 11
  14. When to use graph ቮ༗େྔ᮫܎धཁ႔ཧ ༗ࢿۚత૑ۀᅶୂ ቮख़ࣩGraph֓೦ SQL҃ҰൠKey/ValeతNoSQLቮෆ଍Ҏጯ෇ ٣ଠ๞ Tuesday,

    October 11, 11
  15. How is the performance Tuesday, October 11, 11

  16. Interested? Tuesday, October 11, 11

  17. Connect Ruby / Python / Clojure / PHP / Java

    / Scala / Erlang / Groovy / Restful .... Rails / Grails / Griffon / Qi4j / Roo... Tuesday, October 11, 11
  18. Clients PHP - Thrift / Protobuffers / PHP- Java Bridge

    Ruby - JRuby + Neo4j.rb Python - JPython / CPython + JCC / Neo4j.py Tuesday, October 11, 11
  19. Some Examples Tuesday, October 11, 11

  20. Remember It Relationship Node Node Tuesday, October 11, 11

  21. Remember It Relationship Node Node Relationship Node Node Tuesday, October

    11, 11
  22. Relationship - FoF - 1 level me.outgoing(:friends).depth(1) Me Tuesday, October

    11, 11
  23. Relationship - FoF - 2 level me.outgoing(:friends).depth(2) Me Tuesday, October

    11, 11
  24. Relationship - FoF - 3 level me.outgoing(:friends).depth(3) Me Tuesday, October

    11, 11
  25. Relationship - FoF - n level me.outgoing(:friends).depth(n) Tuesday, October 11,

    11
  26. Filters filter / prune Evaluator - INCLUDE_AND_CONTINUE INCLUDE_AND_PRUNE EXCLUDE_AND_DISCONTINUE EXCLUDE_AND_CONTINUE

    Tuesday, October 11, 11
  27. Complex Example FoF who lives in Taipei also like Jazz

    Taipei Me Jazz Lives Like Friend Tuesday, October 11, 11
  28. Complex Example FoF who lives in Taipei also like Jazz

    Taipei Me Jazz Lives Like Friend Tuesday, October 11, 11
  29. me.outgoing(:friend).depth(:all).filter{|path_to_m| path_to_m.end_node.outgoing(:lives).filter{|path_to_live| path_to_live==”Taipei” }.outgoing(:like).filter{|path_to_like| path_to_live==”Jazz” } } SQL ?&^@#%$@)JOIN *&@^

    JOIN *@^$ JOIN &@&# JOIN (*@#^ JOIN !&@ JOIN Neo4j Tuesday, October 11, 11
  30. BranchSelector preorderDepthFirst - ਂ౓༏ઌ,ઌ႔ཧ postorderDepthFirst - ਂ౓༏ઌ,ޙ႔ཧ preorderBreadthFirst - ኍ౓༏ઌ,ઌ႔ཧ

    postorderBreadthFirst - ኍ౓༏ઌ,ޙ႔ཧ ਂ౓༏ઌ௨ৗֱ࢑༻هԱᱪ Tuesday, October 11, 11
  31. Other CRUD Batch Insertion Range Query Compound Query Uniqueness Expand

    and more... Tuesday, October 11, 11
  32. Caching File Buffer Cache Object Cache 5~10 times faster as

    file cache for read Memory eater Tuesday, October 11, 11
  33. Scale - 1 Tuesday, October 11, 11

  34. Scale - 2 Tuesday, October 11, 11

  35. Web-Admin Dashboard Data Browser Console Tuesday, October 11, 11

  36. Visual Tools Flare NeoClipse Arbor.js Dracula more... Tuesday, October 11,

    11
  37. Other Graph DB Dex OrientDB VertexDB Pregel - Very Mystery

    Allegro - Performance just fine FlockDB - One Layer, Based on MySQL InfiniteGraph Tuesday, October 11, 11
  38. NoSQL খᡉ ໿㑌݄1࣍ ൒ओ୊ࣜަྲྀ ኍᬐ֤छNoSQL࢖༻ៃᱛ ᓣܴ૝ላश,༗࢖༻ៃᱛ,࢖༻ԙ㗞඼த,ߴख... Tuesday, October 11, 11

  39. ޻঎࣌ؒ 㑌ݸਓ౎ऐሚ,୞ੋఔ౓ෆಉ Tuesday, October 11, 11

  40. ޻঎࣌ؒ ೝࣝᡅಘိత৽๎༑ 㑌ݸਓ౎ऐሚ,୞ੋఔ౓ෆಉ Tuesday, October 11, 11

  41. ޻঎࣌ؒ Marketing Angel Investor Backend Engineer ೝࣝᡅಘိత৽๎༑ 㑌ݸਓ౎ऐሚ,୞ੋఔ౓ෆಉ Tuesday, October

    11, 11
  42. Q & A Blog : vonstark.co FB : facebook.com/vonstark Twitter

    : vonstark32 Contact : von@vonstark.co Tuesday, October 11, 11