Built for real time
Engineered for sub-millisecond reads and streaming ingest
JetGraph is built in Rust to keep live graph intelligence on the hot path for AI agents and real-time decision services.
Benchmark update in progress: Earlier latency and throughput figures on this site were measured against an older API surface. Those numbers have been removed until benchmarks on the current gRPC, Cypher, and MCP APIs are re-measured and published with full methodology.
Why the architecture stays fast under load
| Design choice | What it avoids | Where it helps |
|---|---|---|
| 100% in-memory working graph | Query-time disk I/O and cold page faults | Predictable sub-millisecond point lookups and bounded MCP tool calls. |
| One compact record per pair | Scanning thousands of historical event rows at query time | GetEdgeState and QueryNodeHistogram read pre-aggregated counters, bins, and 21-tick bitmaps directly. |
| Rust + DashMap + chunked RCU | Garbage-collection pauses and full-row write amplification | Concurrent reads during continuous streaming ingest on a single host. |
Bidirectional IngestStream |
Per-event TCP round trips | Micro-batches transactions and merges edges by edge type and source node in a single sorted-merge pass. |
| zstd snapshots & deltas | Replaying a long query WAL on restart | Fast recovery from binary snapshots while keeping disk persistence off the read path. |
Bounded queries for AI agents too
MCP tools share the same single-node engine. Pagination caps (100 neighbors or segment members), similarity caps (k ≤ 25), and the cypher_read LIMIT ≤ 100 rule keep agent queries bounded so interactive agent sessions do not stall production traffic.
What this architecture does not claim
- It does not mean arbitrary unbounded multi-hop Cypher traversals are free — anchor queries on a labeled node filter and keep Top-K aggregations in one block.
- HA keeps a full copy of the graph on every machine. It adds availability and read capacity. It does not shard Cypher across hosts.
- Size production ingest and memory headroom with your own workload harness and monitor via
CALL db.memoryUsage()andGET /metrics.
Query-planning advice: documentation — performance & Cypher practices. Sizing and layout: memory & compression. Internals: architecture.