Neo4j for Beginners: Pros and Cons, Based on Social Networks
summary
Live coding shows Neo4j modeling a social network: CSV import loads 100 person nodes and creates directed friendship edges, Spring Data Neo4j connects over Bolt with a browser on separate ports, queries use Cypher and APOC/GDS libraries, and explain/profile reveal DB hits. Claim: Cypher beats SQL on deep joins with orders‑of‑magnitude speedups; tradeoff: graph needs ~3x storage. Useful utilities: APOC ~450–650 procedures and loaded 100 nodes via CSV.
AI-written summary · about
chapters (20)
- 0:00Introduction to Neo4j
- 2:01Graph databases overview
- 3:05History of graph theory
- 4:31Social networks and graphs
- 5:53Neo4j as enterprise solution
- 7:15Cypher vs SQL comparison
- 7:59Neo4j storage drawbacks
- 9:58Neo4j utilities and libraries
- 11:44Setting up Neo4j in Java
- 13:28Loading data with CSV
- 15:09Creating relationships in graphs
- 16:21Java integration with Spring
- 17:47Repository and queries
- 18:35Testing endpoints
- 19:16Querying friends and paths
- 21:08Query parameters and tricks
- 22:37Finding shortest paths
- 23:43Query execution plans
- 24:48Performance tuning tips
- 25:11Q&A session
related talks
26mHow NEO4J Saved my Relationship
01h 29mSpring Data Neo4J
49mWarming up to Graphs
52mWhat the Graph
23mDisrupting Customer Data Platforms: Neo4j vs. the Status Quo
50mThinking in Relationships: Practical Graph Database Modelling in Java with Neo4j
32mUnderstanding Complexly Connected Data using Graph Databases
52mEnhance your work with graph database
