Scaling Airbnb's Identity Graph with Unified Knowledge Graph Infrastructure
- JanusGraph
- DynamoDB
- OpenSearch
- Apache TinkerPop
- Gremlin
AI Summary
Airbnb details the architectural evolution of its identity graph, which manages 7 billion nodes and 11 billion edges for trust and safety applications. The engineering team moved away from third-party SaaS and fragmented internal solutions to build a unified, multi-tenant knowledge graph platform using JanusGraph, DynamoDB, and OpenSearch. The post outlines key challenges such as high write scale, multi-hop query complexity, long-tail latency, and describes custom optimizations including parallel query execution, transaction handling, and client-side query rewriting.
Key Takeaways
- The architecture combines JanusGraph with Amazon DynamoDB to decouple the graph logic layer from the persistence layer.
- Custom optimizations addressed high-fanout traversal bottlenecks, P99 latency spikes, and transaction locking overhead.
- Migration was validated using shadow traffic and side-by-side benchmarking of Gremlin queries.
Why it matters
This article offers a blueprint for scaling large-scale graph databases under strict latency and write-volume constraints. It highlights practical trade-offs between managed SaaS, DIY open-source systems, and custom multi-tenant internal platforms.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.