Skip to main content

Generalized Two-Server Problem

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 282 Accesses

Years and Authors of Summarized Original Work

  • 2006; Sitters, Stougie

Problem Definition

In the generalized two-server problem, we are given two servers: one moving in a metric space \(\mathbb{X}\) and one moving in a metric space \(\mathbb{Y}\). They are to serve requests \(r \in \mathbb{X} \times \mathbb{Y}\) which arrive one by one. A request r = (x, y) is served by moving either the \(\mathbb{X}\)-server to point x or the \(\mathbb{Y}\)-server to point y. The decision as to which server to move to the next request is irrevocable and has to be taken without any knowledge about future requests. The objective is to minimize the total distance traveled by the two servers (Fig. 1).

Generalized Two-Server Problem, Fig. 1
figure 71 figure 71

In this example, both servers move in the plane and start from the configuration (x0, y0). The \(\mathbb{X}\)-server moves through requests 1 and 3, and the \(\mathbb{Y}\)-server takes care of requests 2 and 4. The cost of this solution is the sum of the path-lengths

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Borodin A, El-Yaniv R (1998) Online computation and competitive analysis. Cambridge University Press, Cambridge

    MATH  Google Scholar 

  2. Burley WR (1996) Traversing layered graphs using the work function algorithm. J Algorithms 20:479–511

    Article  MathSciNet  MATH  Google Scholar 

  3. Chrobak M (2003) Sigact news online algorithms column 1. ACM SIGACT News 34:68–77

    Article  Google Scholar 

  4. Chrobak M, Larmore LL (1992) Metrical service systems: deterministic strategies. Tech. Rep. UCR-CS-93-1, Department of Computer Science, University of California at Riverside

    Google Scholar 

  5. Chrobak M, Sgall J (2004) The weighted 2-server problem. Theor Comput Sci 324:289–312

    Article  MathSciNet  MATH  Google Scholar 

  6. Chrobak M, Karloff H, Payne TH, Vishwanathan S (1991) New results on server problems. SIAM J Discret Math 4:172–181

    Article  MathSciNet  MATH  Google Scholar 

  7. Fiat A, Ricklin M (1994) Competitive algorithms for the weighted server problem. Theor Comput Sci 130:85–99

    Article  MathSciNet  MATH  Google Scholar 

  8. Koutsoupias E, Papadimitriou CH (1995) On the k-server conjecture. J ACM 42:971–983

    Article  MathSciNet  MATH  Google Scholar 

  9. Koutsoupias E, Taylor DS (2004) The CNN problem and other k-server variants. Theor Comput Sci 324:347–359

    Article  MathSciNet  MATH  Google Scholar 

  10. Manasse MS, McGeoch LA, Sleator DD (1990) Competitive algorithms for server problems. J Algorithms 11, 208–230

    Article  MathSciNet  MATH  Google Scholar 

  11. Sitters RA, Stougie L (2006) The generalized two-server problem. J ACM 53:437–458

    Article  MathSciNet  MATH  Google Scholar 

  12. Sleator DD, Tarjan RE (1985) Self-adjusting binary search trees. J ACM 32:652–686

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to René A. Sitters .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Sitters, R.A. (2016). Generalized Two-Server Problem. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_162

Download citation

Publish with us

Policies and ethics