Mod proxy bybusyness Load Balancing Method

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This method keeps track of how many requests each worker is currently assigned at present. A new request is automatically assigned to the worker with the lowest number of active requests. This algorithm is is appropriate if the backend nodes queue incoming requests independently, and insures that their request queues are evenly loaded. This way, a request is given to the worker most likely to service it the fastest and reduce latency. Over time, the distribution of work will come to resemble that characteristic of byrequests.