arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1311.2851cs.NIcs.DCcs.PF
收藏

冗余请求何时会减少延迟?

When Do Redundant Requests Reduce Latency ?

Nihar B. Shah, Kangwook Lee, Kannan Ramchandran

摘要:

一些系统具有以多种方式服务请求的灵活性。例如,存储数据的多个副本的分布式存储系统可以服务于来自存储所请求的数据的多个服务器中的任何一个的请求,或者计算任务可以由多个处理器中的任何一个在计算集群中执行。在这样的系统中,通过发送“冗余请求”可以潜在地减少服务请求的延迟:请求可以被发送到比所需的更多的服务器,并且当必要数量的服务器完成服务时,该请求被认为是被服务的。这样的机制在请求的至少一个副本的更快执行的可能性与由于系统上的增加的负载而导致的延迟的增加之间进行权衡。由于这种权衡,目前还不清楚冗余请求何时会真正有所帮助。最近的几项工作经验评估的延迟性能的冗余请求在不同的设置。这项工作的目的是冗余请求的延迟性能的分析研究,主要目标是表征在什么情况下发送冗余请求会有帮助(以及在什么情况下它们不会有帮助),以及设计最佳的冗余请求策略。我们首先提出了一个模型,捕捉这些系统的关键特征。我们表明,当服务时间是i.i.d.无内存或“较重”,并且当已经完成的作业的额外副本可以立即删除时,冗余请求减少了平均延迟。另一方面,当服务时间“较轻”或当服务时间是无记忆的并且作业的移除不是瞬时的时,则在请求中不具有任何冗余在高负载下是最优的。我们的结果适用于任意到达过程。

英文摘要:

Several systems possess the flexibility to serve requests in more than one way. For instance, a distributed storage system storing multiple replicas of the data can serve a request from any of the multiple servers that store the requested data, or a computational task may be performed in a compute-cluster by any one of multiple processors. In such systems, the latency of serving the requests may potentially be reduced by sending "redundant requests": a request may be sent to more servers than needed, and it is deemed served when the requisite number of servers complete service. Such a mechanism trades off the possibility of faster execution of at least one copy of the request with the increase in the delay due to an increased load on the system. Due to this tradeoff, it is unclear when redundant requests may actually help. Several recent works empirically evaluate the latency performance of redundant requests in diverse settings. This work aims at an analytical study of the latency performance of redundant requests, with the primary goals of characterizing under what scenarios sending redundant requests will help (and under what scenarios they will not help), as well as designing optimal redundant-requesting policies. We first present a model that captures the key features of such systems. We show that when service times are i.i.d. memoryless or "heavier", and when the additional copies of already-completed jobs can be removed instantly, redundant requests reduce the average latency. On the other hand, when service times are "lighter" or when service times are memoryless and removal of jobs is not instantaneous, then not having any redundancy in the requests is optimal under high loads. Our results hold for arbitrary arrival processes.

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

↑