arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.13285cs.NIcs.DC
收藏

NetClone:面向微秒级RPC的快速、可扩展且动态的请求克隆

NetClone: Fast, Scalable, and Dynamic Request Cloning for Microsecond-Scale RPCs

Gyuyeong Kim

AI总结:

针对现有请求克隆方法无法适配微秒级RPC的问题,提出在可编程交换机中基于服务器状态动态克隆请求、用请求指纹拦截冗余响应的NetClone系统,可有效降低尾延迟且具备可扩展性。

摘要:

生成重复请求(即克隆)是一种通过掩盖服务时间波动来降低尾延迟的有效技术。然而,传统的基于客户端的克隆是静态的,在高负载下会损害性能,而近期提出的基于协调器的方法速度慢且不可扩展。这两种方法都不足以服务于现代微秒级远程过程调用(RPC)。为此,我们提出了NetClone,这是一种请求克隆系统,能够在纳秒级时间内动态地做出大规模克隆决策。与基于客户端或协调器的方案不同,NetClone利用可编程交换机ASIC的能力,在网络交换机中执行请求克隆。具体而言,NetClone根据服务器状态复制请求,并在交换机数据平面中使用请求指纹来阻止冗余响应。为了在满足严格硬件约束的前提下实现这一构想,我们在设计定制交换机数据平面时解决了若干技术挑战。NetClone可与新兴的网内请求调度器(如RackSched)集成。我们使用Intel Tofino交换机和一组商用服务器实现了NetClone原型。实验结果表明,NetClone能够在合成工作负载和真实应用工作负载下改善微秒级RPC的尾延迟,并且对各种系统条件具有鲁棒性。

英文摘要:

Spawning duplicate requests, called cloning, is a powerful technique to reduce tail latency by masking service-time variability. However, traditional client-based cloning is static and harmful to performance under high load, while a recent coordinator-based approach is slow and not scalable. Both approaches are insufficient to serve modern microsecond-scale Remote Procedure Calls (RPCs). To this end, we present NetClone, a request cloning system that performs cloning decisions dynamically within nanoseconds at scale. Rather than the client or the coordinator, NetClone performs request cloning in the network switch by leveraging the capability of programmable switch ASICs. Specifically, NetClone replicates requests based on server states and blocks redundant responses using request fingerprints in the switch data plane. To realize the idea while satisfying the strict hardware constraints, we address several technical challenges when designing a custom switch data plane. NetClone can be integrated with emerging in-network request schedulers like RackSched. We implement a NetClone prototype with an Intel Tofino switch and a cluster of commodity servers. Our experimental results show that NetClone can improve the tail latency of microsecond-scale RPCs for synthetic and real-world application workloads and is robust to various system conditions.

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

↑