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
Platform Engineering for Software Developers and Architects
syntasso
1
520
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
210
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
770
Engineer Career Talk
lycorp_recruit_jp
0
190
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
10
1.3k
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.6k
SSMRunbook作成の勘所_20241120
koichiotomo
3
170
『Firebase Dynamic Links終了に備える』 FlutterアプリでのAdjust導入とDeeplink最適化
techiro
0
160
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
230
Featured
See All Featured
Designing Experiences People Love
moore
138
23k
Gamification - CAS2011
davidbonilla
80
5k
It's Worth the Effort
3n
183
27k
Building an army of robots
kneath
302
43k
What's new in Ruby 2.0
geeforr
343
31k
Documentation Writing (for coders)
carmenintech
65
4.4k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Bash Introduction
62gerente
608
210k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Six Lessons from altMBA
skipperchong
27
3.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
How STYLIGHT went responsive
nonsquared
95
5.2k
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