刀片:数据中心垃圾收集器
Blade: A Data Center Garbage Collector
摘要:
越来越多的高性能分布式系统是用垃圾收集语言编写的。这从这些系统中删除了大量有害的错误。但是,它也给垃圾回收暂停时间带来了很高的尾部延迟。我们通过一种新的垃圾回收避免技术来解决这个问题,我们称之为刀片。Blade是收集器和应用程序开发人员之间的API,允许开发人员利用分布式系统中现有的故障恢复机制来协调收集并限制延迟影响。我们描述了刀片和实现它的Go程序设计语言。我们还研究了两个不同的系统,利用刀片,HTTP负载平衡器和筏共识算法。对于负载均衡器,我们消除了垃圾收集器引入的任何延迟,对于Raft,我们将延迟影响绑定到单个网络往返(在我们的设置中为48 μs)。在这两种情况下,使用Blade的尾部延迟都要好三个数量级。
英文摘要:
An increasing number of high-performance distributed systems are written in garbage collected languages. This removes a large class of harmful bugs from these systems. However, it also introduces high tail-latency do to garbage collection pause times. We address this problem through a new technique of garbage collection avoidance which we call Blade. Blade is an API between the collector and application developer that allows developers to leverage existing failure recovery mechanisms in distributed systems to coordinate collection and bound the latency impact. We describe Blade and implement it for the Go programming language. We also investigate two different systems that utilize Blade, a HTTP load-balancer and the Raft consensus algorithm. For the load-balancer, we eliminate any latency introduced by the garbage collector, for Raft, we bound the latency impact to a single network round-trip, (48 μs in our setup). In both cases, latency at the tail using Blade is up to three orders of magnitude better.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。