• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Neo4j
 

Neo4j

on

  • 818 views

Graph Database的中文入門簡介.

Graph Database的中文入門簡介.
更多內容可到 http://neo4j.tw
講者 : http://vonstark.co

Statistics

Views

Total Views
818
Views on SlideShare
818
Embed Views
0

Actions

Likes
3
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Neo4j Neo4j Presentation Transcript

  • Build Facebook Like Relationships with Neo4j by Von Stark
  • Von StarkI am : Starter, Programmer ,BackpackerUse : 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
  • 4 W & 1 HWhat Why Who When How
  • What is Neo4jJava & Lucene - NeoTechnologyEmbedded DocumentHigh Availability & FailOver.A(atomicity) C(consistency) I(isolation) D(durability) Graph Database
  • What can it do?Social NetworkGraph NetworkComplex RelationshipsMake database like natural
  • What is the difference as Object Oriented DBData preset as Node & Edge (Objects)More functions to traverseFriendly APISchema = set of Class (Independent)
  • Why to use graph - Web3.0 1999 2000 2010 2020
  • Why to use Graph - Complexity
  • Why to use Graph - Whiteboard Friendly
  • Why to use Graph - Whiteboard Friendly
  • Why to use graph - Reasons ( ) -> , ->SQL SQL Join
  • Who use graph
  • When to use graph GraphSQL Key/Vale NoSQL
  • When to use graph GraphSQL Key/Vale NoSQL
  • How is the performance
  • Interested?
  • ConnectRuby / Python / Clojure / PHP /Java / Scala / Erlang / Groovy /Restful ....Rails / Grails / Griffon / Qi4j /Roo...
  • ClientsPHP - Thrift / Protobuffers / PHP-Java BridgeRuby - JRuby + Neo4j.rbPython - JPython / CPython + JCC /Neo4j.py
  • Some Examples
  • Remember It RelationshipNode Node
  • Remember It RelationshipNode Node RelationshipNode Node
  • Remember It RelationshipNode Node RelationshipNode Node
  • Relationship - FoF - 1 level Meme.outgoing(:friends).depth(1)
  • Relationship - FoF - 2 level Meme.outgoing(:friends).depth(2)
  • Relationship - FoF - 3 level Meme.outgoing(:friends).depth(3)
  • Relationship - FoF - n levelme.outgoing(:friends).depth(n)
  • Filtersfilter / pruneEvaluator - INCLUDE_AND_CONTINUE INCLUDE_AND_PRUNE EXCLUDE_AND_DISCONTINUE EXCLUDE_AND_CONTINUE
  • Complex Example FoF who lives in Taipei also like Jazz Taipei Jazz MeLives LikeFriend
  • Complex Example FoF who lives in Taipei also like Jazz Taipei Jazz MeLives LikeFriend
  • SQL ?&^@#%$@)JOIN *&@^ JOIN *@^$ JOIN &@&# JOIN (*@#^ JOIN !&@ JOINNeo4jme.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” }}
  • BranchSelectorpreorderDepthFirst - ,postorderDepthFirst - ,preorderBreadthFirst - ,postorderBreadthFirst - ,
  • Other CRUDBatch InsertionRange QueryCompound QueryUniquenessExpand and more...
  • Caching File Buffer Cache Object Cache5~10 times faster as file cache for readMemory eater
  • Scale - 1
  • Scale - 2
  • Web-AdminDashboard ConsoleData Browser
  • Visual ToolsNeoClipse Flare DraculaArbor.js more...
  • Other Graph DBDexOrientDBVertexDBPregel - Very MysteryAllegro - Performance just fineFlockDB - One Layer, Based on MySQLInfiniteGraph
  • NoSQL1 NoSQL , , , ...
  • ,
  • ,
  • ,MarketingAngel InvestorBackend Engineer
  • Q & ABlog : vonstark.coFB : facebook.com/vonstarkTwitter : vonstark32Contact : von@vonstark.co