Presentation is loading. Please wait.

Presentation is loading. Please wait.

Neo4j Adam Foust.

Similar presentations


Presentation on theme: "Neo4j Adam Foust."— Presentation transcript:

1 Neo4j Adam Foust

2 Road Map Introduction to Neo4j NoSQL databases Graph databases
How Neo4j works Comparison

3 Introducing Neo4j Introduced in 2010 Open source Java-based
NoSQL Graph Database

4 NoSQL databases Four classes of NoSQL databases Key-value store
Amazon’s Simple DB Column-family or big table databases Google’s Big Table Apache Cassandra database Document-oriented MongoDB Graph Databases Neo4j

5 Graph Database Neo4j is a graph database Database full of linked nodes
Stores data as nodes and relationships

6 Graph Database (cont.) Nodes represent entities
Edges represent relationships Connections between data are explored Faster for associative data sets Intuitive Optimal for searching social network data

7 How Neo4j Works Storing Objects Domain objects take a node
public class Person {   //used by jo4neo   transient Nodeid node;   //simple property String firstName;   //helps you store a java.util.Date to neo4j Date date;   // jo4neo will index for you String ;   // many to many relation Collection<role> roles;   /* normal class oriented   * programming stuff goes here   */ }</role> Storing Objects Domain objects take a node Jo4neo framework 

8 How Neo4j Works (cont.) Dealing with complexity
Simple domains can be complex Mutual Friend example

9 Case Study A side by side comparison of a relational database and Neo4j Artificially generated graph dataset with natural statistics 1 million vertices and 4 million edges

10 Case Study Results First 250 vertices used as roots

11 Result Conclusion Neo4j proved to take less than half the time of the SQL database. Neo4j is optimal

12 Conclusion Introduced Neo4j Discussed NoSQL databases
Went over graph databases How Neo4j works Case study

13 Questions?

14 References Rahien." That No SQL Thing: Column (Family) Databases -. N.p., n.d. Web. 13 Mar < WebsiteLinkTagsEditDelete "Graph Database." Wikipedia. Wikimedia Foundation, 03 June Web. 13 Mar < Krill, Paul. "Neo Technology Execs: How Neo4j Beat Oracle Database." InfoWorld. N.p., n.d. Web. 13 Mar < "MySQL vs. Neo4j on a Large-Scale Graph Traversal." Javalobby. N.p., 12 May Web. 13 Mar < "Neo4j Blog." : The Top 10 Ways to Get to Know Neo4j. N.p., n.d. Web. 13 Mar < "Processing MongoDB for and Open-Data Portal, MongoDB Emerges as NoSQL Leader." Magazine for Software Developers Programmers and Designers Software Developers Journal. N.p., n.d. Web. 13 Mar <

15 Applause


Download ppt "Neo4j Adam Foust."

Similar presentations


Ads by Google