Type safety in the world of graph databases
summary
Shows a concrete, working stack: Gremlin Scala wrapping the Java Gremlin API to produce type-safe traversals driven by a JSON schema and code generation, with case-class macros and shapeless-typed step labels so lookups return tuples instead of Object[] and wrong-property types or illegal edge-vs-vertex steps fail at compile time. Uses graphs for code-security analysis and demonstrates performance claim from a benchmark of 1,000,000 nodes / 50 edges avg (constant-time hops) and local TinkerPop changes giving ~70% memory improvement. Tooling still lags relational DBs.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:17RELATIONAL DB ANYONE?
- 7:41PROPERTY GRAPH
- 12:09SPARQL (W3C)
- 13:45GREMLIN (APACHE TINKERPOP)
- 18:18ARROW SYNTAX
- 20:53TRAVERSAL BASICS
- 30:39CATCH ERRORS AT COMPILE TIME
- 32:16CUSTOM DSL
related talks
38mGraphs & gremlins
29mType safety from the database to the frontend
20mGraphiti: Bridging Graph and Relational Database Queries
54mConnect and give sense to your big data with Apache TinkerPop and graph databases
19mTyped Ontology in Applications
37mGraph Computing at Scale
28mKnowledge Graph of Your IT Landscape: Code Is Graph Data
26mUsing Gremlin.NET and Azure Cosmos DB for code analysis
