LogPlayer:使用gRPC异步流的容错精确一次交付
LogPlayer: Fault-tolerant Exactly-once Delivery using gRPC Asynchronous Streaming
摘要:
在本文中,我们提出了我们的LogPlayer的设计,这是一个组件,负责容错交付的事务变化记录在一个WAL到后端存储碎片。LogPlayer依赖于gRPC进行异步流。然而,本文提供的设计可以与其他异步流媒体平台一起使用。我们使用TLA+对LogPlayer进行了模型检验。特别是,我们的TLA+规范表明,LogPlayer保证WAL条目按顺序准确地传递到存储分片,即使在分片或LogPlayer故障的情况下。我们的实验表明,LogPlayer能够以亚毫秒级的延迟进行高效交付,并且在设计一个具有精确一次保证的WAL系统时,它比Apache Kafka更有效。
英文摘要:
In this paper, we present the design of our LogPlayer that is a component responsible for fault-tolerant delivery of transactional mutations recorded on a WAL to the backend storage shards. LogPlayer relies on gRPC for asynchronous streaming. However, the design provided in this paper can be used with other asynchronous streaming platforms. We model check the correctness of LogPlayer by TLA+. In particular, our TLA+ specification shows that LogPlayer guarantees in-order exactly-once delivery of WAL entries to the storage shards, even in the presence of shards or LogPlayer failures. Our experiments show LogPlayer is capable of efficient delivery with sub-millisecond latency, and it is significantly more efficient than Apache Kafka for designing a WAL system with exactly-once guarantee.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。