Dashboard > GridGain User Guide > Table Of Contents > Developers Guide > Grid Task Load Balancing
Grid Task Load Balancing
Added by architect, last edited by architect on Apr 17, 2008
Labels: 
(None)


Description

Load balancing is a simple process of the optimal assignment of jobs to the nodes where these jobs to be executed. As almost all kernel level functionality in GridGain the load balancing is designed as load balancing SPI (Service Provider Interface). It consists of the public SPI and several implementations. Number of pre-built implementations are shipped with GridGain and user can develop one easily.

This load balancing is usually referred as early load balancing as it happens early in the process of the grid task execution during mapping phase of MapReduce process. Note that late load balancing happens during collision resolution and is handled by collision SPI.

For more information see load balancing at useful concepts.

Load Balancing SPI

Load balancing SPI provides the next best balanced node for job execution. This SPI is used either implicitly or explicitly whenever a job gets mapped to a node during GridTask.map(List, Object) invocation:

Load Balancing SPI

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators