Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduce Neo4j - Graph Database
Search
vonstark
April 01, 2012
Technology
2
420
Introduce Neo4j - Graph Database
Neo4j 介紹.
Ps. MeetCliv目前轉型中. 有興去的可以私底下問我.. :p
vonstark
April 01, 2012
Tweet
Share
More Decks by vonstark
See All by vonstark
Introducing Riak
vonstark
1
120
Enable high coucurrent & availability with Goliath
vonstark
2
580
Beautiful Riak
vonstark
2
590
Design the graph data with nosql
vonstark
3
650
Other Decks in Technology
See All in Technology
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
9
1.1k
Lexical Analysis
shigashiyama
1
150
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
130
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
140
AIチャットボット開発への生成AI活用
ryomrt
0
170
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
140
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
600
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
110
Terraform Stacks入門 #HashiTalks
msato
0
360
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
480
Featured
See All Featured
Become a Pro
speakerdeck
PRO
25
5k
Documentation Writing (for coders)
carmenintech
65
4.4k
Unsuck your backbone
ammeep
668
57k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Writing Fast Ruby
sferik
627
61k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Practical Orchestrator
shlominoach
186
10k
How to Ace a Technical Interview
jacobian
276
23k
Music & Morning Musume
bryan
46
6.2k
A Philosophy of Restraint
colly
203
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Transcript
Build Facebook Like Relationships with Neo4j by Von Stark Tuesday,
October 11, 11
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
4 W & 1 H What Why Who When How
Tuesday, October 11, 11
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
What can it do? Social Network Graph Network Complex Relationships
Make database like natural Tuesday, October 11, 11
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
Why to use graph - Web3.0 ࢿྉܕࣜ 1999 2000 2010
2020 Tuesday, October 11, 11
Why to use Graph - Complexity Ꮘೳ ࢿྉෳᯑ Tuesday, October
11, 11
Why to use Graph - Whiteboard Friendly Tuesday, October 11,
11
Why to use Graph - Whiteboard Friendly Tuesday, October 11,
11
Why to use graph - Reasons धཁᅷܗ᮫፺ࡧ ༗ෳᯑฒᎷࢄ(ల։)తࢿྉઅߏ গ෦㟨తࢿྉ ->
ඞཁ,େ෦㟨తࢿྉ -> ඇඞཁ SQLதڐଟࢿྉදੋඳड़ࢿྉ᮫ੑ ࡏSQL༻ྃଠଟJoin Tuesday, October 11, 11
Who use graph Tuesday, October 11, 11
When to use graph ቮ༗େྔ᮫धཁ႔ཧ ༗ࢿۚతۀᅶୂ ቮख़ࣩGraph֓೦ SQL҃ҰൠKey/ValeతNoSQLቮෆҎጯ Tuesday, October
11, 11
When to use graph ቮ༗େྔ᮫धཁ႔ཧ ༗ࢿۚతۀᅶୂ ቮख़ࣩGraph֓೦ SQL҃ҰൠKey/ValeతNoSQLቮෆҎጯ ٣ଠ Tuesday,
October 11, 11
How is the performance Tuesday, October 11, 11
Interested? Tuesday, October 11, 11
Connect Ruby / Python / Clojure / PHP / Java
/ Scala / Erlang / Groovy / Restful .... Rails / Grails / Griffon / Qi4j / Roo... Tuesday, October 11, 11
Clients PHP - Thrift / Protobuffers / PHP- Java Bridge
Ruby - JRuby + Neo4j.rb Python - JPython / CPython + JCC / Neo4j.py Tuesday, October 11, 11
Some Examples Tuesday, October 11, 11
Remember It Relationship Node Node Tuesday, October 11, 11
Remember It Relationship Node Node Relationship Node Node Tuesday, October
11, 11
Relationship - FoF - 1 level me.outgoing(:friends).depth(1) Me Tuesday, October
11, 11
Relationship - FoF - 2 level me.outgoing(:friends).depth(2) Me Tuesday, October
11, 11
Relationship - FoF - 3 level me.outgoing(:friends).depth(3) Me Tuesday, October
11, 11
Relationship - FoF - n level me.outgoing(:friends).depth(n) Tuesday, October 11,
11
Filters filter / prune Evaluator - INCLUDE_AND_CONTINUE INCLUDE_AND_PRUNE EXCLUDE_AND_DISCONTINUE EXCLUDE_AND_CONTINUE
Tuesday, October 11, 11
Complex Example FoF who lives in Taipei also like Jazz
Taipei Me Jazz Lives Like Friend Tuesday, October 11, 11
Complex Example FoF who lives in Taipei also like Jazz
Taipei Me Jazz Lives Like Friend Tuesday, October 11, 11
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
BranchSelector preorderDepthFirst - ਂ༏ઌ,ઌ႔ཧ postorderDepthFirst - ਂ༏ઌ,ޙ႔ཧ preorderBreadthFirst - ኍ༏ઌ,ઌ႔ཧ
postorderBreadthFirst - ኍ༏ઌ,ޙ႔ཧ ਂ༏ઌ௨ৗֱ༻هԱᱪ Tuesday, October 11, 11
Other CRUD Batch Insertion Range Query Compound Query Uniqueness Expand
and more... Tuesday, October 11, 11
Caching File Buffer Cache Object Cache 5~10 times faster as
file cache for read Memory eater Tuesday, October 11, 11
Scale - 1 Tuesday, October 11, 11
Scale - 2 Tuesday, October 11, 11
Web-Admin Dashboard Data Browser Console Tuesday, October 11, 11
Visual Tools Flare NeoClipse Arbor.js Dracula more... Tuesday, October 11,
11
Other Graph DB Dex OrientDB VertexDB Pregel - Very Mystery
Allegro - Performance just fine FlockDB - One Layer, Based on MySQL InfiniteGraph Tuesday, October 11, 11
NoSQL খᡉ 㑌݄1࣍ ओࣜަྲྀ ኍᬐ֤छNoSQL༻ៃᱛ ᓣܴላश,༗༻ៃᱛ,༻ԙ㗞த,ߴख... Tuesday, October 11, 11
࣌ؒ 㑌ݸਓऐሚ,ੋఔෆಉ Tuesday, October 11, 11
࣌ؒ ೝࣝᡅಘိత৽๎༑ 㑌ݸਓऐሚ,ੋఔෆಉ Tuesday, October 11, 11
࣌ؒ Marketing Angel Investor Backend Engineer ೝࣝᡅಘိత৽๎༑ 㑌ݸਓऐሚ,ੋఔෆಉ Tuesday, October
11, 11
Q & A Blog : vonstark.co FB : facebook.com/vonstark Twitter
: vonstark32 Contact :
[email protected]
Tuesday, October 11, 11