Professional Documents
Culture Documents
in Depth
Max De Marzi
About
Me
Max
De
Marzi
-
Neo4j
Field
Engineer
My
Blog:
http://maxdemarzi.com
Find
me
on
Twitter:
@maxdemarzi
Email
me:
maxdemarzi@gmail.com
GitHub:
http://github.com/maxdemarzi
TLDR:
The Problem
143
Max
143
326
326
725
143
72
143
981
Da
N
QL
NoS
Con
ow
981
People
Big
ech
ta T
Attend
Da
iot
r
a
Ch
O
ta I
Conferences
143
Max
143
326
326
725
143
72
143
981
Big
Da
ech
ta T
N
QL
NoS
Con
ow
981
Da
riot
Cha
O
ta I
A Property Graph
Nodes
er
emb
m
uid: MDM
name: Max
member
uid: BDTC
where: Burlinggame
uid: NSN
where: San Francisco
mem
ber
Relationships
uid: CDIO
where: Philadelphia
Slow
development
Poor
performance
Low
scalability
Hard
to
maintain
Response Time
Neo4j
is
1000x
faster
Reduces
minutes
to
milliseconds
Neo4j
0
to
2
hops
0
to
3
degrees
Thousands
of
connections
Agile
development
High
performance
Vertical
and
horizontal
scale
Seamless
evolution
Neo4j
Overview
Company
Neo
Technology,
Creator
of
Neo4j
80
employees
with
HQ
in
Silicon
Valley,
London,
Munich,
Paris
and
Malm
$45M
in
funding
from
Fidelity,
Sunstone,
Conor,
Creandum,
Dawn
Capital
Product
Neo4j
-
Worlds
leading
graph
database
1M+
downloads,
adding
50k+
per
month
150+
enterprise
subscription
customers
including
over
50
of
the
Global
2000
Contributed
first
graph
DB
to
open
source
Funding
2011
2013
Extended
graph
data
model
to
labeled
property
graph
2014
Technical
Leadership
2015
$11M
Series
B
from
Fidelity,
Sunstone
and
Conor
500+
graph
DB
events
worldwide
$20M
Series
C
led
by
Creandum,
with
Dawn
and
existing
investors
https://www.youtube.com/watch?v=qbZ_Q-YnHYo
Built-in
ETL
Seamless
import
from
other
databases
Integration
Drivers
and
APIs
for
popular
languages
MATCH
(A)
Relationships
Relate
nodes
by
type
and
direction
Can
have
properties
name:
Dan
born:
May
29,
1970
twitter:
@dan
name:
Ann
born:
Dec
5,
1975
LOVES
LOVES
PERSON
DR
PERSON
LIVES
WITH
IV
OW
NS
Nodes
The
objects
in
the
graph
Can
have
properties
Can
be
labeled
ES
since:
Jan
10,
2011
CAR
brand:
Volvo
model:
V70
Query
Languages
Graph
Databases:
Cypher
-
declarative,
pattern
matching,
easy
to
understand
Gremlin
-
imperative,
step
driven,
math
inspired
Native
APIs
(Java,
REST)
Triple
Stores:
SPARQL
(standard)
PROLOG
(or
prolog-like
languages)
Traversal API
Describe Traversals
Traversal API
LOVES
Dan
Ann
Node
Node
Property
Label
Property
Cypher
Query
MATCH
(boss)-[:MANAGES*0..3]->(sub),
(sub)-[:MANAGES*1..3]->(report)
WHERE
boss.name
=
John
Doe
RETURN
sub.name
AS
Subordinate,
count(report)
AS
Total
Neo4j Interface
http://maxdemarzi.com/2014/02/12/online-payment-risk-management-with-neo4j/
http://maxdemarzi.com/2014/02/27/neo4j-at-ludicrous-speed/
http://maxdemarzi.com/2014/03/10/its-over-9000-neo4j-on-websockets/
Neo4j
Additional Features
Neo4j
Clustering
Architecture
Optimized
for
Speed
&
Availability
at
Scale
Clustering
Features:
Master-slave
replication
with
master
re-election
and
failover
Each
instance
has
its
own
local
cache
Horizontal
scaling
&
disaster
recovery
Performance
Benefits:
No
network
hops
within
queries
Real-time
operations
with
fast
and
consistent
response
times
Cache
sharding
spreads
cache
across
cluster
for
very
large
graphs
Load Balancer
Neo4j
Neo4j
Neo4j
57
End User
Bulk
Analytic
Infrastructure
Data
Mining
and
Aggregation
ETL
Data
Scientist
Neo4j
Neo4j
Neo4j
Ad
Hoc
Analysis
ETL
Customer-Facing Applications
Real-time
Recommendations
Graph-based
Search
Identity
and
Access
Management
Network
and
IT
Operations
Fraud
Detection
Open
Corporates
Uses
Neo4j
Open Corporates
Open
Corporates
Uses
Neo4j
https://skillsmatter.com/skillscasts/4097-case-study-how-opencorporates-uses-neo4j-to-provide-insight
http://maxdemarzi.com/2012/10/18/matchesare-the-new-hotness/
Recommend
Love
Find
your
soulmate
in
the
graph
Are
they
energetic?
Do
they
like
dogs?
Have
a
good
sense
of
humor?
Neat
and
tidy,
but
not
crazy
about
it?
What
are
the
Top
10
Potential
Mates
for
me
that
are
in
the
same
location
are
sexually
compatible
have
traits
I
want
want
traits
I
have
Love Recommendation
http://maxdemarzi.com/2013/04/19/match-making-with-neo4j/
Products
and
Services
Content
Routing
Walmart
SOLUTION
Brings
customers,
preferences,
purchases,
products
and
locations
into
a
graph
model
Uses
connections
to
make
product
recommendations
Solution
deployed
across
WalMart
divisions
and
websites
Online
yearbook
connecting
friends
from
school,
work
and
military
in
US
and
Canada
Founded
as
Memory
Lane
in
Seattle
Classmates
SOLUTION
Neo4j
provides
a
robust
and
scalable
graph
database
solution
3-instance
cluster
with
cache
sharding
and
disaster-recovery
18ms
response
time
for
top
4
queries
100M
nodes
and
600M
relationships
in
initial
graphincluding
people,
images,
schools,
yearbooks
and
pages
Projected
to
grow
to
1B
nodes
and
6B
relationships
Leader
in
patient
management
for
discharges
and
referrals
Manages
patient
referrals
4600+
health
care
facilities
Connects
providers,
payers
via
web-based
patient
management
platform
Founded
in
1999
in
Newton,
Massachusetts
Curaspan
SOLUTION
Met
fast,
real-time
performance
demands
Supported
queries
span
multiple
hierarchies
including
provider
and
employee-permissions
graphs
Improved
data
model
to
handle
adding
more
dimensions
to
the
data
such
as
insurance
networks,
service
areas
and
care
organizations
Greatly
simplified
queries,
simplifying
multi-page
SQL
statements
into
one
Neo4j
function
Maker
of
Paper,
one
of
the
top
apps
in
Apples
App
Store,
with
millions
of
users
Based
in
New
York
City
FiftyThree
SOLUTION
Neo4j
data
model
ideal
for
social
network,
content
jQuery Inventor
Heroku Founder
THANK YOU