Servertec ClusterRedirector
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Java API
Servlet API
CGI
SSI
Servlets
AdminServlet
CgiServlet
ClusterProxy
ClusterRedirector
CommandServlet
FileServlet
InvokerServlet
MessageServlet
RedirectServlet
ServletTagServlet
SSIncludeServlet
StatusServlet

Config Files
Log Files
Classes
Directory Tree

Return

 

ClusterRedirector provides load balancing and fault tolerance by redirecting client requests to an available workgroup of servers.

Parameters

hosts The comma delimited list of the names of the servers in the workgroup that requests will be redirected to.
interval Used to specify in milliseconds how often the workgroup servers status is updated.

A value greater than or equal to 50 milliseconds.

If an interval is not specified or if 0 is used then the workgroup server status is only checked if the method is best when the request is made.

1000 milliseconds is a good value to use.

A value too small may have a negative impact on performance and a value too large when method is best may delay use of a recovered workgroup server.

method The method used to determine which server within the workgroup will service the current request.

best - the server with the best response time.
next - the next available server.

If a method is not specified then next is used.

Aliases

Alias: /
Type: Servlet
Resource: ClusterRedirector

Servlets

Alias: ClusterRedirector
Class File: stec.iws.ClusterRedirector
Parameters: hosts=p1:8080,p2:8080,p3:8080,p4:8080
Parameters: interval=30000
Parameters: method=next

Notes

Requires that iws_dir/classes/optional.jar be present in the CLASSPATH.

Normally defined as a Servlet aliased to the base URI to redirect.

AVAILABLE ONLY IN ENTERPRISE EDITION

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:38 EDT 2005