Skip to main content
QUICK REVIEW

[Paper Review] System G Distributed Graph Database

Gabriel Tanase, Toyotaro Suzumura|arXiv (Cornell University)|Feb 8, 2018
Graph Theory and AlgorithmsComputer Science28 references5 citations
TL;DR

System G is a high-performance distributed graph database optimized for fast insertions (100,000+ edges/sec) and concurrent low-latency queries. It uses a shard-based architecture with a novel RPC-based communication layer, a task-based runtime, and two optimized edge insertion techniques—Firehose and query manager-driven insertion—achieving up to 2.0× speedup with 12 shards and outperforming Neo4j and JanusGraph in throughput and latency.

ABSTRACT

Motivated by the need to extract knowledge and value from interconnected data, graph analytics on big data is a very active area of research in both industry and academia. To support graph analytics efficiently a large number of in memory graph libraries, graph processing systems and graph databases have emerged. Projects in each of these categories focus on particular aspects such as static versus dynamic graphs, off line versus on line processing, small versus large graphs, etc. While there has been much advance in graph processing in the past decades, there is still a need for a fast graph processing, using a cluster of machines with distributed storage. In this paper, we discuss a novel distributed graph database called System G designed for efficient graph data storage and processing on modern computing architectures. In particular we describe a single node graph database and a runtime and communication layer that allows us to compose a distributed graph database from multiple single node instances. From various industry requirements, we find that fast insertions and large volume concurrent queries are critical parts of the graph databases and we optimize our database for such features. We experimentally show the efficiency of System G for storing data and processing graph queries on state-of-the-art platforms.

Motivation & Objective

  • Address the performance gap in existing OLTP-oriented graph databases for high-volume, real-time transaction processing.
  • Enable fast ingestion of 100,000+ edges per second and support hundreds of thousands of concurrent, low-latency queries.
  • Design a distributed graph database that maintains high throughput while relaxing ACID guarantees for performance.
  • Reduce communication overhead in distributed edge insertion through novel message-passing techniques.
  • Support efficient migration from relational databases by enabling fast batch loading and complex query execution.

Proposed method

  • Build a single-node graph database on top of a key-value store for low-latency operations.
  • Compose a distributed system by sharding the single-node database across multiple machines, each managing a subset of the graph.
  • Implement a task-based runtime system to handle thousands of concurrent queries and insertions efficiently.
  • Use an RPC-based communication model to coordinate data movement and query routing between shards and the query manager.
  • Introduce the Firehose technique for high-throughput batch edge insertion with minimal inter-node communication.
  • Design a Query Manager component that coalesces complex queries, reduces round-trip latency, and performs result aggregation.

Experimental results

Research questions

  • RQ1How can a distributed graph database achieve high throughput for real-time edge insertions while minimizing communication overhead?
  • RQ2What architectural patterns enable low-latency, concurrent querying at scale in a distributed graph database?
  • RQ3How does the performance of a distributed graph database scale with increasing numbers of shards and servers?
  • RQ4What trade-offs between consistency and performance are viable in OLTP workloads for graph databases?
  • RQ5How do novel edge insertion techniques like Firehose and query manager-driven insertion improve performance over traditional methods?

Key findings

  • System G achieved a 2.0× speedup with 12 shards compared to a single shard, demonstrating strong scalability in edge insertion workloads.
  • The Firehose insertion method saturated performance at around 6 shards due to network bandwidth limits at the query manager, not latency or processing overhead.
  • System G outperformed Neo4j and JanusGraph in query execution time, with JanusGraph requiring hours to complete 100,000 queries—making full testing infeasible.
  • Performance degradation was observed beyond 6 shards per server due to excessive thread scheduling and context switching on 24-core machines with SMT enabled.
  • Network latency dominated the timing breakdown during high-volume insertions, with over 90% of time spent on communication rather than local processing when saturated.
  • The query manager reduced round-trip communication by coalescing queries and performing distributed execution, significantly improving response time for complex neighborhood searches.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.