Servertec ClusterProxy
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Server API
Servlet / JSP API
Xerces API
CGI
SSI
Servlets
AdminServlet
CgiServlet
ClusterProxy
ClusterRedirector
CommandServlet
FileServlet
InvokerServlet
JspServlet
MessageServlet
RedirectServlet
ServletTagServlet
SSIncludeServlet
StatusServlet

Config Files
Log Files
Classes
Directory Tree
Examples
Legal
Contact Us

 

ClusterProxy provides load balancing and fault tolerance by proxying 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 proxy 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.

retry The number of workgroup servers to try to connect to, normally 3.

Aliases

Alias: /
Type: Servlet
Resource: ClusterProxy

Servlets

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

Notes

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

AVAILABLE ONLY IN ENTERPRISE EDITION

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:57:18 EDT 2005