go back

Volume 15, No. 12

ByteGraph: A High-Performance Distributed Graph Database in ByteDance

Authors:
Changji Li (CUHK)* Hongzhi CHEN (ByteDance) Shuai Zhang (Bytedance) Yingqian HU (ByteDance) Chao Chen (ByteDance) Zhenjie ZHANG (ByteDance) Meng LI (ByteDance) Xiangchen Li (ByteDance) Dongqing Han (ByteDance) Xiaohui Chen (Bytedance Ltd) Xudong Wang (bytedance) Huiming Zhu (ByteDance) Xuwei FU (bytedance) Tingwei Wu (ByteDance) Hongfei Tan (ByteDance) Hengtian Ding (ByteDance) Mengjin Liu (ByteDance) Kangcheng WANG (ByteDance) Ting Ye (ByteDance) Lei LI (ByteDance) Xin Li (ByteDance) Yu Wang (ByteDance) Chenguang Zheng (CUHK) Hao Yang (Bytedance.com) James Cheng (CUHK)

Abstract

Most products at ByteDance, e.g., TikTok, Douyin, and Toutiao, naturally generate massive amounts of graph data. To efficiently store, query and update massive graph data is challenging for the broad range of products at ByteDance with various performance requirements. We categorize graph workloads at ByteDance into three types: online analytical, transaction, and serving processing, where each workload has its own characteristics. Existing graph databases have different performance bottlenecks in handling these workloads and none can efficiently handle the scale of graphs at ByteDance. We developed ByteGraph to process these graph workloads with high throughput, low latency and high scalability. There are several key designs in ByteGraph that make it efficient for processing our workloads, including edge-trees to store adjacency lists for high parallelism and low memory usage, adaptive optimizations on thread pools and indexes, and geographic replications to achieve fault tolerance and availability. ByteGraph has been in production use for several years and its performance has shown to be robust for processing a wide range of graph workloads at ByteDance.

PVLDB is part of the VLDB Endowment Inc.

Privacy Policy