地理分布事务的乐观中止
Optimistic Aborts for Geo-distributed Transactions
摘要:
网络延迟可能对事务存储系统的性能产生重大影响,特别是在广域或地理分布部署中。为了减少延迟,系统通常依赖于缓存来服务更靠近客户端的读取请求。然而,高速缓存对于写入繁重的工作负载是无效的,这些工作负载必须由存储系统处理以保持可串行化性。本文提出了一种称为乐观中止的新技术,该技术通过识别将尽早中止的事务并在它们到达存储之前中止它们,来减少高争用、写繁重工作负载的网络延迟。我们已经实现了乐观中止系统称为Gotthard,利用网络数据平面可编程性的最新进展,直接在网络设备中执行事务处理逻辑。Gotthard检查网络流量以观察和记录事务请求。如果Gotthard怀疑某个事务可能会在存储中中止,它会通过重写数据包报头并将数据包路由回客户端来提前中止该事务。Gotthard显著降低了总体延迟,并提高了高争用工作负载的吞吐量。
英文摘要:
Network latency can have a significant impact on the performance of transactional storage systems, particularly in wide area or geo-distributed deployments. To reduce latency, systems typically rely on a cache to service read-requests closer to the client. However, caches are not effective for write-heavy workloads, which have to be processed by the storage system in order to maintain serializability. This paper presents a new technique, called optimistic abort, which reduces network latency for high-contention, write-heavy workloads by identifying transactions that will abort as early as possible, and aborting them before they reach the store. We have implemented optimistic abort in a system called Gotthard, which leverages recent advances in network data plane programmability to execute transaction processing logic directly in network devices. Gotthard examines network traffic to observe and log transaction requests. If Gotthard suspects that a transaction is likely to be aborted at the store, it aborts the transaction early by re-writing the packet header, and routing the packets back to the client. Gotthard significantly reduces the overall latency and improves the throughput for high-contention workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。