NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

System G Distributed Graph Database

Gabriel Tanase, Toyotaro Suzumura, Jinho Lee, Chun-Fu Chen, Jason Crawford, Hiroki Kanezashi, Song Zhang, Warut D. VijitbenjaronkarXiv 2018

Graphs serve as the foundational structure for modern big data, connecting everything from financial transactions to social interactions. However, as graph datasets scale to hundreds of millions of vertices and tens of billions of edges, traditional databases often struggle to balance high-speed updates with complex, concurrent queries. Researchers at the IBM T.J. Watson Research Center developed System G to address this "missing middle"—the need for a system that handles both fast transactional updates (OLTP) and heavy analytical processing (OLAP) at scale.

System Architecture

System G is designed as a distributed composition of "shards," where each shard is an instance of a single-node graph database. The architecture decouples ingestion, storage, and query management to maximize throughput and minimize latency.

System G Distributed Architecture

Core Components

  • Storage Shards: Each shard utilizes LMDB (Lightning Memory-Mapped Database) as its underlying key-value store, providing ACID compliance and persistence at the local node level.
  • The Query Manager (QM): The QM acts as a proxy between clients and shards. It manages load, maintains partial state for complex queries, and prevents the database from being overwhelmed by coordinating distributed execution.
  • The Firehose Module: To achieve massive ingestion rates, the "Firehose" module bypasses standard query paths, sending batched updates directly to dedicated threads on the shards.
  • Task-Based Runtime: The system employs a custom runtime that uses asynchronous Remote Procedure Calls (RPC) to overlap communication with computation, ensuring that shards do not sit idle while waiting for network responses.

Distributed Query Execution

A key challenge in distributed graph databases is executing queries like Breadth-First Search (BFS) without excessive network overhead. System G manages this through a coordinated wave-based approach.

Distributed BFS Query Workflow

As shown in the workflow, the Query Manager initiates a "wave" of the search. Shards collect neighbors locally and report back to the QM, which then processes the results and triggers the next wave. This decoupled approach allows the system to handle thousands of concurrent neighborhood searches efficiently.

Performance Evaluation

The researchers benchmarked System G against popular alternatives like Neo4J (Enterprise) and JanusGraph using real-world datasets, including Twitter (58M vertices) and Bitcoin transaction logs.

  • Ingestion Speed: System G reached 415,000 vertices/sec on a 12-shard cluster—outperforming Neo4J by 4x and JanusGraph by 9x. With the Firehose module, edge ingestion reached 140,000 edges/sec, a 38.8x improvement over JanusGraph.
  • Query Throughput: In a 100,000-query BFS test, System G’s single-node performance was nearly 20x faster than Neo4J. Its distributed architecture maintained this lead even with network overhead.

Key Insights

  1. Local vs. Global ACID: System G prioritizes "local-atomicity" within shards to achieve scale, relaxing some global ACID properties to avoid the performance penalties of distributed locking.
  2. Smart Sharding: By using a triplet-based internal ID {LabelId, ShardId, LocalVertexIdentifier}, the system identifies the location of any data point instantly without a global index lookup.
  3. Resource Bottlenecks: The study found that ingestion is primarily limited by network bandwidth, while querying is bound by disk access latency.

Conclusion and Future Work

System G demonstrates that decoupling ingestion from querying and optimizing the communication layer can yield massive performance gains for large-scale graphs. Future development focuses on native internal fault tolerance through replication and expanding support for fully distributed transactions across multiple shards.

Summary updated

BibTeX
@misc{tanase2018system,
  author = {Gabriel Tanase and Toyotaro Suzumura and Jinho Lee and Chun-Fu Chen and Jason Crawford and Hiroki Kanezashi and Song Zhang and Warut D. Vijitbenjaronk},
  title = {{System G Distributed Graph Database}},
  year = {2018},
  eprint = {1802.03057},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.03057},
}
Figure