Join-Idle-Queue: A Novel Load Balancing Algorithm for Dynamically Scalable Web Services
- Yi Lu ,
- Qiaomin Xie ,
- Gabriel Kliot ,
- Alan Geller ,
- Jim Larus ,
- Albert Greenberg
The 29th International Symposium on Computer Performance, Modeling, Measurements and Evaluation |
Published by Elsevier
Best Paper Award
The prevalence of dynamic-content web services, exemplified by search and online social networking, has motivated an increasingly wide web-facing front end. Horizontal scaling in the Cloud is favored for its elasticity, and distributed design of load balancers is highly desirable. Existing algorithms with a centralized design, such as Join-the-Shortest-Queue (JSQ), incur high communication overhead for distributed dispatchers.
We propose a novel class of algorithms called Join-Idle-Queue (JIQ) for distributed load balancing in large systems. Unlike algorithms such as Power-of-Two, the JIQ algorithm incurs no communication overhead between the dispatchers and processors at job arrivals. We analyze the JIQ algorithm in the large system limit and find that it effectively results in a reduced system load, which produces 30-fold reduction in queueing overhead compared to Power-of-Two at medium to high load. An extension of the basic JIQ algorithm deals with very high loads using only local information of server load.