分布式读写系统中的延迟-冗余权衡
Latency-Redundancy Tradeoff in Distributed Read-Write Systems
摘要:
数据在多个服务器上进行冗余复制和存储,以确保分布式数据库中的可用性。我们关注的是具有频繁读写的数据库,在这些数据库中,读写延迟都很重要。这与主要为读或写应用程序设计的数据库相反。Reddit对读取和写入延迟的影响截然不同。读延迟可以通过来自多个服务器的潜在并行访问来减少,而写延迟则会随着必须更新大量副本而增加。我们量化的读和写延迟之间的权衡作为冗余的函数,并提供了一个封闭的形式近似时,请求到达是泊松和服务是无记忆的。我们的经验表明,这种近似是紧在所有范围内的系统参数。从而为分布式数据库的冗余选择提供了指导。
英文摘要:
Data is replicated and stored redundantly over multiple servers for availability in distributed databases. We focus on databases with frequent reads and writes, where both read and write latencies are important. This is in contrast to databases designed primarily for either read or write applications. Redundancy has contrasting effects on read and write latency. Read latency can be reduced by potential parallel access from multiple servers, whereas write latency increases as a larger number of replicas have to be updated. We quantify this tradeoff between read and write latency as a function of redundancy, and provide a closed-form approximation when the request arrival is Poisson and the service is memoryless. We empirically show that this approximation is tight across all ranges of system parameters. Thus, we provide guidelines for redundancy selection in distributed databases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。