The $k$-Server Problem covers plenty of resource allocation scenarios, and several variations have been studied extensively for decades. We present a model generalizing the $k$-Server Problem by preferences of the requests, where the servers are not identical and requests can express which specific servers should serve them. In our model, requests can either be answered by any server (general requests) or by a specific one (specific requests). If only general requests appear, the instance is one of the original $k$-Server Problem, and a lower bound for the competitive ratio of $k$ applies. If only specific requests appear, a solution with a competitive ratio of $1$ becomes trivial. We show that if both kinds of requests appear, the lower bound raises to $2k-1$. We study deterministic online algorithms and present two algorithms for uniform metrics. The first one has a competitive ratio dependent on the frequency of specific requests. It achieves a worst-case competitive ratio of $3k-2$ while it is optimal when only general requests appear or when specific requests dominate the input sequence. The second has a worst-case competitive ratio of $2k+14$. For the first algorithm, we show a lower bound of $3k-2$, while the second algorithm has a lower bound of $2k-1$ when only general requests appear. The two algorithms differ in only one behavioral rule that significantly influences the competitive ratio. We show that there is a trade-off between performing well against instances of the $k$-Server Problem and mixed instances based on the rule. Additionally, no deterministic online algorithm can be optimal for both kinds of instances simultaneously. Regarding non-uniform metrics, we present an adaption of the Double Coverage algorithm for $2$ servers on the line achieving a competitive ratio of $6$, and an adaption of the Work-Function-Algorithm achieving a competitive ratio of $4k$.
翻译:$k$- server 问题涉及大量资源分配方案,而且数十年来对若干变异性进行了广泛研究。我们展示了一个模型,根据请求的偏好,将$k$-server 问题加以概括化,因为服务器并不相同,而请求可以表示哪些特定的服务器。在我们的模式中,请求可以由任何服务器(一般请求)或特定请求(具体请求)来回答。如果只是一般请求出现,情况就是一个3k美元-Server 问题,而且对适用竞争性比率为$k美元适用的风险比率较低。如果出现具体请求,那么以1美元为竞争力比率的解决方案就变得微不足道。我们显示,如果两种请求都出现,则较低约束值为2k-14美元。我们研究确定性在线算法,提出两种统一度的算法。第一个是竞争比率取决于具体请求的频率。如果只是一般请求出现,则达到最差的3k-2美元竞争比率,而具体请求在在线输入序列中占最佳。第二个最差的就是以2k+14美元的汇率为最低的汇率比率,在2美元-ral-ral-ral oral oral-alalalalalalalalalation 。我们只算算算算算算算出一个低为最低为2,只有2美元。