Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Can use a servlet rather than a hardware device for HTTP load-balancing across a cluster

Updated on September 13, 2021


A business with high-volume site needs to load-balance traffic for Process Commander applications among multiple physical servers in a cluster, and across multiple JVMs within each of those servers, to achieve good performance.

In similar situations, the site has used a servlet to forward requests to a single, specific hardware server.  Once a request has been forwarded to that server, the request is handled by an IBM plug-in which automatically forwards requests to, and maintains them with, a specific JVM on that server.

The PDN article Load-balancing a multi-node cluster recommends buying a hardware solution for this purpose as a best practice.  

The administrator asks: If a hardware solution is not feasible, can a new servlet that sits in front of PRServlet accomplish this load-balancing and redirection? Or can PRServlet itself be enhanced to do this, or is there another approach?

Suggested Approach

You can treat this like a proxy server situation, by writing a servlet that front-ends PRServlet. 

Make sure that this servlet passes all of the cookie information through, so that PRServlet receives the session IDs.. 

Proxy configuration is documented elsewhere.  It essentially is a matter of making sure that requests for static content get routed appropriately.

See also How to invoke Process Commander from a servlet.

  • Previous topic Performance tool (PAL) and Related Tools
  • Next topic Enabling PAL CPU Counters Using the pr3native Library


Pega Platform 7.1.1 - 8.3.1 System Architect System/Cloud Ops Administrator System Administration

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us