Consistent Low Latency Scheduler for Distributed Key-Value Stores
Consistent Low Latency Scheduler for Distributed Key-Value Stores
复制标题
DOI:
10.1109/tpds.2023.3315777
复制
发表时间:
2023-12
影响因子:
5.3
通讯作者:
Wanchun Jiang;Haoyang Li;Yulong Yan;Fa Ji;Jiawei Huang;Jianxin Wang;Tong Zhang
中科院分区:
文献类型:
--
作者:
Wanchun Jiang;Haoyang Li;Yulong Yan;Fa Ji;Jiawei Huang;Jianxin Wang;Tong Zhang
Nowadays, the distributed key-value stores have become the basic building block for large-scale cloud applications. In large-scale distributed key-value stores, many key-value access operations, which will be processed in parallel on different servers, are usually generated for a single end-user request. Accordingly, the completion time of an end-user request is determined by the last completed key-value access operation. Scheduling the order of serving key-value access operations can effectively reduce the completion times of end requests, thereby improving the user experience. However, existing scheduling algorithms hardly achieve consistent low latency due to the following challenges: the large overhead of cooperating clients and servers, the time-varying load and performance of servers, the traffic distribution can be either heavy-tailed or light-tailed and both the mean and the tail completion time are expected to be low. In this paper, we formalize the problem of scheduling key-value access operations and show it is NP-hard. Furthermore, we heuristically design the distributed adaptive scheduler (DAS), which distributively combines the largest remaining processing time last and the shortest remaining process time first algorithms. Theoretical analysis shows that DAS is adaptive to the time-varying traffic and server performance and can achieve consistent low mean and tail latency regardless of traffic distributions. Extensive simulations show that DAS reduces the mean request completion time by $17 \! \sim \! 50\%$17∼50% with heavy-tailed traffic and $2 \! \sim 26 \! \%$2∼26% with light-tailed traffic, while keeping the smallest tail completion time, compared to the default first come first served algorithm. Moreover, DAS outperforms the existing Rein-SBF algorithm under various scenarios.