Skip to content

The Harmonic Online kk-Server Algorithm Is Poly(k)-Competitive

Yichen Huang

cs.DS

Abstract

The online kk-server problem is one of the most fundamental problems in online algorithms. In this problem, kk servers are located in a metric space and serve a sequence of requests at points in the metric space by moving a server there. The Harmonic algorithm is a very natural algorithm: it chooses a server with probability inversely proportional to its distance from the request. It is also highly efficient, being memoryless and answering each request in O(k)O(k) time. However, its competitive ratio has remained unsettled between the O(2klog⁡k)O(2^k \log k) upper bound (Bartal and Grove, JACM 2000) and the k(k+1)/2k(k+1)/2 lower bound (Raghavan and Snir, 1994, IBM J. Res. Dev.). We prove that Harmonic is 2k42k^4-competitive on every metric space against adaptive online adversaries. Our analysis uses a potential combining corrected electrical energy with the distances of online servers to their assigned adversary locations.

Create a lesson