← All components
Databases & search
Graph database
Stores entities and relationships for traversal queries.
When to use
- Social graphs, recommendations, fraud rings
Pitfalls
- Hard to shard; many teams keep adjacency lists in KV stores instead
Options by provider
The first option is what diagrams show for that provider.
Amazon Web Services
- Amazon NeptuneManaged
Google Cloud
- Spanner GraphManaged
Microsoft Azure
- Azure Cosmos DB for Apache GremlinManaged
Open source / self-hosted
- Neo4jSelf-hosted
- JanusGraphSelf-hosted
Used in
- Google Maps
- Road graph — Partitioned road network with precomputed shortcuts
- LinkedIn
- Member graph — Connections and follows