[OpenLayers-Dev] Client side load balancing

Christopher Schmidt crschmidt at metacarta.com
Wed Oct 10 15:36:40 EDT 2007


On Wed, Oct 10, 2007 at 11:55:09AM -0700, Ben Brehmer wrote:
> Has this already been done? 

Yes. This is implemented for all subclasses of the HTTPRequest layer -- 
if the "URL" parameter is an Array (as described as a possibility on
http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/HTTPRequest-js.html#OpenLayers.Layer.HTTPRequest.OpenLayers.Layer.HTTPRequest),
then a URL will be selected based on a hash of the tile parameters. 

The multiserver.html file demonstrates this.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list