Improving Raft Performance with Bulk Transfers
Abstract
Raft is known as a replicating state machine that tolerates crash faults, and its use enables various distributed systems, including distributed transaction processing systems. The original Raft protocol creates an intra-cluster consensus by having the leader generate a log of each incoming client request and replicate it to its followers. When requests arrive frequently, the number of replications increases, increasing the number of communications and possibly leading to performance degradation. To solve this problem, we propose a bulk-transfer protocol that replicates multiple requests at once. We implemented the Raft system to verify the effect of the proposed method. We measured the performance of the implemented system when multiple requests were transferred in bulk and observed an increase in throughput with an increase in the amount of data replicated at a time. The highest throughput of 214 MB/sec was achieved when replicating 12.5 MB at a time. This is 12,066 times higher than the performance when replicating one request (18 B) at a time. Besides, the size of the log is reduced to 5/9 of the conventional method.
BibTeX
@inproceedings{yamashita2023improving,
author = {Aoi Yamashita and Masahiro Tanaka and Yutaro Bessho and Yasuhiro Fujiwara and Hideyuki Kawashima},
title = {{Improving Raft Performance with Bulk Transfers}},
booktitle = {CANDARW},
year = {2023},
url = {https://openreview.net/forum?id=AUUCXp9tzs},
}Ask Althea to put this paper to the test.
Loading related content...