Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-l7hp2 Total loading time: 0 Render date: 2024-11-29T04:54:51.919Z Has data issue: false hasContentIssue false

12 - Load Balancing

Published online by Cambridge University Press:  07 May 2024

Rahul Vaze
Affiliation:
Tata Institute of Fundamental Research, Mumbai, India
Get access

Summary

Introduction

In this chapter, we consider the load balancing problem, which in its simplest form is to assign jobs with different sizes sequentially to multiple machines so as to minimize the maximum of the sum of the sizes of jobs assigned to any machine at any point in time.

We present some of the basic techniques developed for solving the load balancing problem under many settings of interest. We start with the simplest setting, where all machines are identical and all jobs are of equal size, and they are permanent, i.e., once they arrive, they do not leave the system. In this setting, round robin is an optimal algorithm; however, it needs to remember past decisions, requiring memory. One challenge is to devise algorithms that are memoryless but still have performance close to that of round robin. In this setting, we present the power-of-d algorithm, where a job on its arrival is assigned to the least loaded machine among d machines, where the d machines are chosen uniformly randomly from the set of all machines.

When job sizes are arbitrary, the load balancing problem is a bit more difficult. For permanent jobs with arbitrary sizes, we consider the case where machine speeds are not identical, and present a near-optimal deterministic online algorithm. Compared to the permanent jobs setting, the temporary jobs setting is more practical but challenging, where jobs arrive into the system and leave at an arbitrary time that is not necessarily known to an algorithm. In the temporary jobs case, we consider two well-studied models: (i) with machine restriction, where each job can be processed by a subset of machines while all the machines have identical speed, and (ii) without machine restriction, where any job can be processed by any machine; however, machine speeds are non-identical.

Finally, we consider the load balancing problem over a network, where each job corresponds to a source–destination pair, and fulfilling a job involves finding a path from the specified source to the destination. Assigning a job to a path means that each edge on that path carries an additional load equal to the size of the job.

Type
Chapter
Information
Online Algorithms , pp. 247 - 278
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Load Balancing
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.013
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Load Balancing
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.013
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Load Balancing
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.013
Available formats
×