arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.11607cs.DB
收藏

揭示尾部延迟:数据库基准测试中的陷阱与风险

Tell-Tale Tail Latencies: Pitfalls and Perils in Database Benchmarking

Michael Fruth, Stefanie Scherzinger, Wolfgang Mauerer, Ralf Ramsauer

AI总结:

本文揭示数据库基准测试中尾部延迟测量易被Java基准测试方法扭曲且因过度关注吞吐量而被忽视的问题,并呼吁重新设计基准测试框架以实现对数据库性能的忠实表征。

摘要:

数据库系统的性能通常通过其在标准化或事实标准基准测试(如TPC-X或YCSB)中的平均情况(即吞吐量)行为来表征。尽管延迟(即响应时间)分布的尾部受到的关注要少得多,但它们已被认定为对整体系统性能的威胁:在大规模系统中,即使只有一小部分请求被延迟,也可能累积成最终用户可感知的延迟。为了从数据库系统中消除较大的尾部延迟,迫切需要能够忠实地记录这些尾部延迟,并同样将其定位到根本原因的能力。在本文中,我们应对使用标准基准测试测量尾部延迟的挑战,并识别出微妙的危险与陷阱。特别是,我们展示了基于Java的基准测试方法如何能够显著扭曲尾部延迟观测结果,并讨论了常见的对吞吐量性能的关注如何抑制了此类问题的发现。我们基于这些观察结果,主张有目的地重新设计数据库基准测试框架,以从多个重要角度获得对数据库性能的忠实表征。

英文摘要:

The performance of database systems is usually characterised by their average-case (i.e., throughput) behaviour in standardised or de-facto standard benchmarks like TPC-X or YCSB. While tails of the latency (i.e., response time) distribution receive considerably less attention, they have been identified as a threat to the overall system performance: In large-scale systems, even a fraction of requests delayed can build up into delays perceivable by end users. To eradicate large tail latencies from database systems, the ability to faithfully record them, and likewise pinpoint them to the root causes, is imminently required. In this paper, we address the challenge of measuring tail latencies using standard benchmarks, and identify subtle perils and pitfalls. In particular, we demonstrate how Java-based benchmarking approaches can substantially distort tail latency observations, and discuss how the discovery of such problems is inhibited by the common focus on throughput performance. We make a case for purposefully re-designing database benchmarking harnesses based on these observations to arrive at faithful characterisations of database performance from multiple important angles.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑