neo4j makes graphs easy- graphdays
TRANSCRIPT
![Page 1: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/1.jpg)
Graph Databases Use Cases
![Page 2: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/2.jpg)
What’s a Graph?
![Page 3: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/3.jpg)
LIVES WITH
LOVES
OWNSDRIVES
LOVESname: “James”
age: 32 twitter: “@spam”
name: “Mary” age: 35
property type: “car”
brand: “Volvo” model: “V70”
Graph data model
![Page 4: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/4.jpg)
Relational Tables
![Page 5: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/5.jpg)
Join this way…
![Page 6: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/6.jpg)
• all JOINs are executed every time you query (traverse) the relationship
• executing a JOIN means to search for a key in another table
• with Indices executing a JOIN means to lookup a key
• B-Tree Index: O(log(n))
• more entries => more lookups => slower JOINs
The Problem
![Page 7: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/7.jpg)
People ConferencesAttend
143 Max326 Big Data Tech Con
725 NoSQL Now
981 Chariot Data IO143 981
143 725
143 326
![Page 8: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/8.jpg)
MaxBig Data Tech Con
NoSQL Now
Chariot Data IO
143
326
725
981143 981
143 725
143 326
![Page 9: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/9.jpg)
uid: MDM!name: Max
uid: BDTC!where: Burlinggame
uid: NSN!where: San Francisco
uid: CDIO!where: Philadelphia
Nodes
Relationships
member
member
member
A Property Graph
![Page 10: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/10.jpg)
The Neo4j Secret Sauce
• Pointers instead of look-ups
• Do all your “Joining” on creation
• Spin spin spin through this data structure
![Page 11: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/11.jpg)
Graph Buzz!
![Page 12: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/12.jpg)
• Neo4j is the leading graph database in the world today
• Most widely deployed: 500,000+ downloads
• Largest ecosystem: active forums, code contributions, etc
• Most mature product: in development since 2000, in 24/7 production since 2003
The Neo4j Graph Database
![Page 13: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/13.jpg)
Early Adopters of Graph Tech
![Page 14: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/14.jpg)
Evolution of Web SearchSurvival of the Fittest
Pre-1999 WWW Indexing
Discrete Data
1999 - 2012 Google Invents
PageRank
Connected Data (Simple)
2012-? Google Knowledge Graph, Facebook Graph Search
Connected Data (Rich)
![Page 15: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/15.jpg)
Open Source Example
http://maxdemarzi.com/2013/01/28/facebook-graph-search-with-cypher-and-neo4j/
![Page 16: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/16.jpg)
Evolution of Online Recruiting
1999 Keyword Search
Discrete Data
Survival of the Fittest
2011-12 Social Discovery
Connected Data
![Page 17: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/17.jpg)
Open Source Example
http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/
![Page 18: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/18.jpg)
Open Source Example
http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/
![Page 19: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/19.jpg)
Open Source Example
http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/
![Page 20: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/20.jpg)
Content Management & Access Control
Network Asset Management
Network Cell Analysis
Geo Routing (Public Transport)
BioInformatics
Emergent Graph in Other Industries(Actual Neo4j Graphs)
Insurance Risk Analysis
![Page 21: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/21.jpg)
Open Source Example
http://maxdemarzi.com/2013/03/18/permission-resolution-with-neo4j-part-1/
![Page 22: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/22.jpg)
Web Browsing Portfolio Analytics
Mobile Social ApplicationGene Sequencing
Emergent Graph in Other Industries(Actual Neo4j Graphs)
![Page 23: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/23.jpg)
Open Source Example
http://maxdemarzi.com/2013/04/19/match-making-with-neo4j/
![Page 24: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/24.jpg)
Curriculum Graph
![Page 25: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/25.jpg)
Neo Technology, Inc Confidential
Event Graph
![Page 26: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/26.jpg)
Open Source Example
http://maxdemarzi.com/2014/09/11/tracking-user-paths-in-an-ivr-with-neo4j/
![Page 27: Neo4j Makes Graphs Easy- GraphDays](https://reader033.vdocuments.site/reader033/viewer/2022060205/55a2017d1a28ab38268b463b/html5/thumbnails/27.jpg)
Questions ?