Asami: Turn your JSON into a Graph in 2 Lines
summary
Asami claims it can load JSON in 2 Clojure lines and produce a queryable graph with schema-less RDF-like flexibility. Implementation details include a JVM and ClojureScript port, memory-mapped blocks, tuple storage with tree indexes (currently AVL), and number encoding for values so storage is four-column numeric arrays with copy-on-write trees. It offers time-travel queries, a CLI via GraalVM, real use inside Cisco SecureX, and a compact codebase of ~7k LOC vs 100k.
AI-written summary · about
chapters (32)
- 0:00Introduction
- 0:18Outline
- 0:45Who am I
- 1:37My first rule system
- 2:20Choosing a graph database
- 2:54Building a graph database
- 4:59What is a graph database
- 5:24What is graph theory
- 6:34Alternative representation
- 6:51Entities
- 7:10Nodes
- 8:07Query
- 10:20Looking for First Names
- 11:18First Example
- 14:30Wrapping Data
- 15:23Nested Maps
- 17:19Storing Data durably
- 18:45Statement IDs
- 19:31Data types
- 20:58Buffers
- 21:41Closure Protocols
- 25:17Updating a Graph
- 26:04Transactions
- 27:45timestamps
- 28:47merging data
- 30:08loading data in 2 lines
- 31:03real world case
- 32:11grail VM
- 32:40Packet Capture
- 37:19Other stuff
- 38:08Whats next
- 39:14Questions








