面向大规模系统的快速ACS形式规范:低延迟基于文件的有序消息交付
Formal Specification for Fast ACS: Low-Latency File-Based Ordered Message Delivery at Scale
AI总结:
本文提出Fast ACS,一种基于文件的有序消息交付系统,通过结合双向和单向通信原语,实现低延迟、大规模的有序消息传递。
摘要:
低延迟的消息交付对于实时系统至关重要。数据来源于生产者必须传递给消费者,这些消费者可能分布在城市和大陆边界的不同集群中。随着计算规模的扩大,可能会有几千个数据消费者。此类系统需要一个可靠的通信系统,能够跨集群传输包含数据的消息,并高效地将这些消息传递给消费者。该系统必须提供诸如顺序性和至少一次交付等保证,同时避免对消费者造成过载,允许它们以自己的节奏消费消息。本文介绍了Fast ACS(即广告复制服务)的设计,这是一个基于文件的有序消息交付系统,利用双向(跨集群)和单向(内集群)通信原语——即远程过程调用和远程内存访问——来传递消息。该系统已成功部署到数十个生产集群,并可扩展以容纳每个集群中的数千个消费者,这相当于峰值时内集群消费者流量达到Tbps级。值得注意的是,Fast ACS能够在几秒钟甚至亚秒(p99)内将消息传递到全球各地的消费者,且以低资源成本实现。
英文摘要:
Low-latency message delivery is crucial for real-time systems. Data originating from a producer must be delivered to consumers, potentially distributed in clusters across metropolitan and continental boundaries. With the growing scale of computing, there can be several thousand consumers of the data. Such systems require a robust messaging system capable of transmitting messages containing data across clusters and efficiently delivering them to consumers. The system must offer guarantees like ordering and at-least-once delivery while avoiding overload on consumers, allowing them to consume messages at their own pace. This paper presents the design of Fast ACS (an abbreviation for Ads Copy Service), a file-based ordered message delivery system that leverages a combination of two-sided (inter-cluster) and one-sided (intra-cluster) communication primitives - namely, Remote Procedure Call and Remote Memory Access, respectively - to deliver messages. The system has been successfully deployed to dozens of production clusters and scales to accommodate several thousand consumers within each cluster, which amounts to Tbps-scale intra-cluster consumer traffic at peak. Notably, Fast ACS delivers messages to consumers across the globe within a few seconds or even sub-seconds (p99) based on the message volume and consumer scale, at a low resource cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。