TailX: Scheduling Heterogeneous Multiget Queries to Improve Tail Latencies in Key-Value Stores

Vikas Jaiman, Sonia Ben Mokhtar, Etienne Rivière

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingAcademicpeer-review

46 Downloads (Pure)


Users of interactive services such as e-commerce platforms have high expectations for the performance and responsiveness of these services. Tail latency, denoting the worst service times, contributes greatly to user dissatisfaction and should be minimized. Maintaining low tail latency for interactive services is challenging because a request is not complete until all its operations are completed. The challenge is to identify bottleneck operations and schedule them on uncoordinated backend servers with minimal overhead, when the duration of these operations are heterogeneous and unpredictable. In this paper, we focus on improving the latency of multiget operations in cloud data stores. We present TailX, a task-aware multiget scheduling algorithm that improves tail latencies under heterogeneous workloads. TailX schedules operations according to an estimation of the size of the corresponding data, and allows itself to procrastinate some operations to give way to higher priority ones. We implement TailX in Cassandra, a widely used key-value store. The result is an improved overall performance of the cloud data stores for a wide variety of heterogeneous workloads. Specifically, our experiments under heterogeneous YCSB workloads show that TailX outperforms state-of- the-art solutions and reduces tail latencies by up to 70% and median latencies by up to 75%.
Original languageEnglish
Title of host publicationDistributed Applications and Interoperable Systems. DAIS 2020
EditorsA. Remke, V. Schiavoni
PublisherSpringer, Cham
ISBN (Electronic)978-3-030-50323-9
ISBN (Print)978-3-030-50322-2
Publication statusPublished - 8 Jun 2020

Publication series

SeriesLecture Notes in Computer Science

Cite this