Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Graph Databases Will Change Your Freakin Life
Search
funkatron
June 23, 2016
Technology
0
180
Graph Databases Will Change Your Freakin Life
Given at Open Source Bridge 2016
funkatron
June 23, 2016
Tweet
Share
More Decks by funkatron
See All by funkatron
Stronger Than Fear: Mental Health in the Developer Community 2023
funkatron
0
190
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
370
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
150
How We Changed The World With Open Source - WordCampMSP 17
funkatron
0
89
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
62
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
210
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
84
Stronger Than Fear: Mental Health in the Developer Community
funkatron
0
60
Grumpy and Funky Save the World
funkatron
0
190
Other Decks in Technology
See All in Technology
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
380
TypeScript、上達の瞬間
sadnessojisan
46
13k
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
760
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Amazon Personalizeのレコメンドシステム構築、実際何するの?〜大体10分で具体的なイメージをつかむ〜
kniino
1
100
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
130
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
300
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Can We Measure Developer Productivity?
ewolff
1
150
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
310
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Rails Girls Zürich Keynote
gr2m
94
13k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Faster Mobile Websites
deanohume
305
30k
Speed Design
sergeychernyshev
25
620
Fireside Chat
paigeccino
34
3k
The Cult of Friendly URLs
andyhume
78
6k
BBQ
matthewcrist
85
9.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Navigating Team Friction
lara
183
14k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Transcript
GRAPH DATABASES WILL CHANGE YOUR FREAKIN’ LIFE ED FINKLER LEAD
DEVELOPER & HEAD OF DEVELOPER CULTURE
WHAT IS?
I’VE GOT A DOPE VISUALIZATION FOR YOU DOGG This Effin
Guy HEY I JUST DOWNLOADED D3.JS
NO. INCORRECT.
GRAPH THEORY AND MATH AND STUFF
I WAS TOLD THERE WOULD BE NO MATH
IT’S ABOUT DATA
MANY DATA Visualiza!on by Kim Albrecht h"p:/ /www.kimalbrecht.com/project/cosmic-web/
BUT IGNORE THAT
ZOOOOOO000M IN
HOW DO WE REPRESENT A THING OR AN ENTITY OR
WHATEVER YOU WANT TO CALL IT
RELATIONAL DATABASES USE A LEDGER-STYLE STRUCTURE
USUALLY A THING IS ONE ROW IN A TABLE
YOU USE CONSTRAINTS TO REPRESENT RELATIONSHIPS BETWEEN THINGS
THE TABLE STRUCTURE IS GREAT FOR CONSTRAINING INPUT AND LOCKING
THINGS DOWN
CAN GET COMPLEX AND RIGID WHEN REPRESENTING RELATIONSHIPS
LET’S TALK ABOUT [NEO4J] GRAPHS
GRAPHS ARE MUCH SIMPLER
THINGS ARE NODES OR VERTICES
NODES HAVE PROPERTIES { KEYS: “VALUES” }
NODES HAVE LABELS TO TELL YOU WHAT TYPE OF THING
IT IS
n:Person id: 1234 first_name: “Ed” last_name: “Finkler”
NODES ARE CONNECTED BY RELATIONSHIPS OR EDGES
RELATIONSHIPS HAVE A TYPE AND A DIRECTION AND CAN HAVE
PROPERTIES
n:Person id: 4321 first_name: “Griffin” last_name: “Finkler” n:Person id: 1234
first_name: “Ed” last_name: “Finkler” r:CHILD_OF created: 2002
DOTS AND LINES ALL THE WAY DOWN
IT’S SIMPLER
IT’S MORE POWERFUL
WHEN THE MEANING IS IN THE RELATIONSHIPS
SOMETIMES DIRECT RELATIONSHIPS BUT THAT’S NOT HARD TO DO WITH
RELATIONAL DBS PERSON A PERSON B
SOMETIMES INDIRECT RELATIONSHIPS THIS IS HARDER TO DO TRAVERSE WITH
RELATIONAL DATABASES ACTOR A ACTOR B MOVIE A DIRECTOR A MOVIE B ACTOR C
SCALING UP INDIRECT RELATIONSHIPS
ANSWERING QUESTIONS YOU DIDN’T EXPECT
YOU WANT TO KNOW HOW MANY PEOPLE WHO BOUGHT A
TOASTER IN KANSAS AND HAVE A CRIMINAL RECORD USED YESTERDAY’S COUPON? NO. GET THE HELL OUT. This Effin Guy ASKING YOUR BACKEND DEV IF YOU CAN GET SOME NEW DATA OUT OF THE DB
WITH A GRAPH, YOU COULD ANSWER THAT QUESTION. IF YOU
HAVE ALL THAT DATA IN THERE, AND THERE ARE PATHS BETWEEN THEM.
YOU CAN ADD MORE RELATIONSHIPS AS NEEDED AND STILL BE
PERFORMANT
EGOTISTICAL LIVE CODING TIME
I’M PROBABLY GONNA FUNK THIS UP
CMD+TAB, SON
THANK GOD THAT’S OVER
GRAPHS AREN’T MAGIC
GRAPHS DON’T SOLVE ALL YOUR PROBLEMS
IF YOU’RE ASKING QUESTIONS ABOUT THE RELATIONSHIPS, THEY ARE REALLY
NICE AND REALLY POWERFUL AND SOMETIMES SEEM LIKE WITCHCRAFT
ESPECIALLY IF YOU HAVE MANY DATAS
WHAT GREAT DELIGHTS AWAIT YOU DATAS FOR FUN AND EXPLORATION
▸ graphstory.com -> Free Trial (no CC!) -> Sample Data ▸ h!p:/ /neo4j.com/developer/example-data/ ▸ h!ps:/ /github.com/OSMIHelp/osmi-survey-graph
@GRAPHSTORYCO • GRAPHSTORY.COM @FUNKATRON QUESTION TIME IS NOW. BE NICE.