who's afraid of graphs

15
DAVID OSTROVSKY WHO’S AFRAID OF GRAPHS?

Upload: sirketchup

Post on 14-Apr-2017

131 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Who's afraid of graphs

DAV I D O S T R OV S KY

WHO’S AFRAID OF GRAPHS?

Page 2: Who's afraid of graphs

A LITTLE HISTORY

NoSQL

10 years

Relational

40 years

Graphs

400 years

Page 3: Who's afraid of graphs

T H E S E V E N B R I D G E S O F KO N I G S B E R G P R O B L E M

LEONARD EULER

Page 4: Who's afraid of graphs

Use Nodes, Edges and Properties to store data.

GRAPH DATABASES

Page 5: Who's afraid of graphs

USE CASESFOR GRAPH DATABASES

Page 6: Who's afraid of graphs

MEET THE PLAYERS

Page 7: Who's afraid of graphs

DATABASES VS FRAMEWORKS

Databases• Real-time queries• Smaller datasets• Standard NoSQL

features (scaling, HA, etc.)

Frameworks• Offline/batch• Larger datasets• Relies on big data

platform (usually Hadoop)

Page 8: Who's afraid of graphs

QUERYINGAND TRAVERSAL

Page 9: Who's afraid of graphs

g.v(1).outE('friend').inV.name

// Starting with vertex 1// find outgoing edges ‘friend’, // follow to the next vertex,// and return the property ‘name’.

Page 10: Who's afraid of graphs

SQL-DERIVATIVES (ORIENTDB)

Page 11: Who's afraid of graphs

CYPHER (NEO4J)

a bFRIEND

(a) –[:FRIEND]-> (b)

Page 12: Who's afraid of graphs

SCALING GRAPHSIS HARD

Page 13: Who's afraid of graphs

C LU S T E R I N G A RC H I T E C T U R E

NEO4J

Page 14: Who's afraid of graphs

T O T H E R E S C U E

POLYGLOT PERSISTENCE

Page 15: Who's afraid of graphs