Lawn:一种用于大规模高吞吐量系统的无约束低延迟定时器数据结构
Lawn: an Unbound Low Latency Timer Data Structure for Large Scale, High Throughput Systems
摘要:
随着公众对实时应用的需求不断增加,启用大规模、无约束的算法来解决低延迟或无延迟的传统问题对于产品的可行性至关重要。定时器算法在操作系统、网络协议实现、流处理和若干数据库功能背后的核心机制中是普遍存在的。本文提出了一种低延迟,无限制范围定时器结构的现场测试算法,基于良好的期待定时轮算法。使用一组由TTL散列的队列,该算法允许更简单的实现,最小的开销,没有溢出,并且与典型用例下的算法的当前状态相比,没有性能下降。
英文摘要:
As demand for Real-Time applications rises among the general public, the importance of enabling large-scale, unbound algorithms to solve conventional problems with low to no latency is critical for product viability. Timer algorithms are prevalent in the core mechanisms behind operating systems, network protocol implementation, stream processing, and several database capabilities. This paper presents a field-tested algorithm for low latency, unbound range timer structure, based upon the well excepted Timing Wheel algorithm. Using a set of queues hashed by TTL, the algorithm allows for a simpler implementation, minimal overhead no overflow and no performance degradation in comparison to the current state of the algorithms under typical use cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。