Upload
theresa-butler
View
221
Download
0
Tags:
Embed Size (px)
Citation preview
11
Introduction toNeo4j
2
We all have our own graphs...
• Knowledge graph: beyond links, search is smarter when considering how things are related
• Facebook graph search: people are most interested in finding things in their part of the world
• You: have relationships to people, to organizations, to places, to things -- your personal graph
55
And why now?
A graph...๏ you know the common data structures
• linked lists, trees, object "graphs"
๏ a graph is the general purpose data structure
• suitable for any data that is related
๏ well-understood patterns and algorithms
• studied since Leonard Euler's 7 Bridges (1736)
• Codd's Relational Model (1970)
• not a new idea, just an idea who's time is now
A graph database...
๏ optimized for the connections between records
๏ really, really fast at querying across records
๏ a database: transactional with the usual operations
๏ “A relational database may tell you how many books you sold last quarter,
๏ but a graph database will tell your customerwhich book they should buy next.”
We're talking about aProperty Graph
Neo4j is a Graph Database
๏ A Graph Database:
• a Property Graph containing Nodes, Relationships
• with Properties on both
• perfect for complex, highly connected data
๏ A Graph Database:
• Embeddable on the JVM
• high-performance with High-Availability
10
Questions
1.Why graphs? Why now?
★ a new perspective on the same data
2.What's a graph database?
★ a database for connected data
3.How do people use Neo4j?
10
[A] Mmm Pancakes[B] ACL from Hell[C] Master of
your Domain
Real World Use Cases:
[A] Mozilla Pancake
๏ Experimental cloud-based browser
๏ Built to improve how users Discover, Collect, Share & Organize things on the web
๏ Goal: help users better access & curate information on the net, on any device
This Material is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/
Why Neo4J?
๏ The internet is a network of pages connected to each other. What better way to model that than in graphs?
๏ No time lost fighting with less expressive datastores
๏ Easy to implement experimental features
This Material is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/
Cute meta + data
This Material is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/
[B] ACL from Hell
One of the top 10 telcos worldwide
[B] Telenor Background๏ MinBedrif, a self service web
solution for companies
๏ 2010 - calculated that it would not scale with projected growth
Really, once you start thinking in graphs
it's hard to stop
Recommendations MDM
Systems ManagementGeospatial
Social computing
Business intelligence
Biotechnology
Making Sense of all that data
your brainaccess control
linguistics
catalogs
genealogy routing
compensationmarket vectors
What will you build?