neo4j makes graphs easy- graphdays

27
Graph Databases Use Cases

Upload: neo4j-the-fastest-and-most-scalable-native-graph-database

Post on 21-Apr-2017

1.979 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Neo4j Makes Graphs Easy- GraphDays

Graph Databases Use Cases

Page 2: Neo4j Makes Graphs Easy- GraphDays

What’s a Graph?

Page 3: Neo4j Makes Graphs Easy- GraphDays

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

Relational Tables

Page 5: Neo4j Makes Graphs Easy- GraphDays

Join this way…

Page 6: Neo4j Makes Graphs Easy- GraphDays

• 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

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

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

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

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

Graph Buzz!

Page 12: Neo4j Makes Graphs Easy- GraphDays

• 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

Early Adopters of Graph Tech

Page 14: Neo4j Makes Graphs Easy- GraphDays

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

Open Source Example

http://maxdemarzi.com/2013/01/28/facebook-graph-search-with-cypher-and-neo4j/

Page 16: Neo4j Makes Graphs Easy- GraphDays

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

Open Source Example

http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/

Page 18: Neo4j Makes Graphs Easy- GraphDays

Open Source Example

http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/

Page 19: Neo4j Makes Graphs Easy- GraphDays

Open Source Example

http://maxdemarzi.com/2012/10/18/matches-are-the-new-hotness/

Page 20: Neo4j Makes Graphs Easy- GraphDays

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

Open Source Example

http://maxdemarzi.com/2013/03/18/permission-resolution-with-neo4j-part-1/

Page 22: Neo4j Makes Graphs Easy- GraphDays

Web Browsing Portfolio Analytics

Mobile Social ApplicationGene Sequencing

Emergent Graph in Other Industries(Actual Neo4j Graphs)

Page 23: Neo4j Makes Graphs Easy- GraphDays

Open Source Example

http://maxdemarzi.com/2013/04/19/match-making-with-neo4j/

Page 24: Neo4j Makes Graphs Easy- GraphDays

Curriculum Graph

Page 25: Neo4j Makes Graphs Easy- GraphDays

Neo Technology, Inc Confidential

Event Graph

Page 26: Neo4j Makes Graphs Easy- GraphDays

Open Source Example

http://maxdemarzi.com/2014/09/11/tracking-user-paths-in-an-ivr-with-neo4j/

Page 27: Neo4j Makes Graphs Easy- GraphDays

Questions ?