My Oracle Support Banner

Using Oracle Web Cache 10gR2 and 11g as Load Balancer (Doc ID 333244.1)

Last updated on MARCH 28, 2024

Applies to:

Web Cache - Version to [Release AS10gR2 to Oracle11g]
Information in this document applies to any platform.
Portal - Version: to


Since first releases, Web Cache has provided a lightweight load balancing mechanism that allows to distribute the client HTTP requests among several origin servers. This never was, though, the main Web Cache feature and few enhancements were done to improve it.

Now, since the Web Cache release, Oracle Web Cache provides a
new and improved load balancing system recommended for all those want to have
a cheap and lightweight load balancer in front of their applications.

Specifically, this patch is recommended for all Portal users.

An example of this architecture is:

                    Web Cache CACHING1 ---> Origin Server 1
Web Cache LBR ---->
                    Web Cache CACHING2 ---> Origin Server 2

When using Web Cache only for something other than caching, such as a LBR, you are creating a bottleneck. This may be acceptable in some cases and not so in other cases.



In this configuration, Web Cache is not a true a Software LBR as it handles only HTTP and HTTPS protocols.
Configuring Web Cache as a Software LBR should ONLY be used for managing traffic to a low-volume, departmental, or test Web sites.

Oracle Development/Support's stand on the LB only feature in Web Cache:

Having said the above, Oracle will support this feature to the best we can. Oracle can not promise to be better than a hardware solution or operating system solution. This is because it is not feasible.

The LB only feature in Web Cache should be used in a non-critical environment where occasional failures are acceptable. Since every customer environment varies, Oracle cannot promise a certain level of throughput. Oracle will support any code related bugs and help in tuning the Web Cache's configuration file(s) if needed.

In summary, if Web Cache is configured as Load Balancer then most of its features are disabled and you'll need to add more Web Cache nodes if you want some other features like caching or ESI assembly.

Another point to take in consideration is that this deployment makes the OracleAS Web Cache server a single point of failure for your application. You can instead configure a cache cluster with multiple OracleAS Web Cache servers in conjunction with operating system load balancing capabilities. Please check the Web Cache documentation if you want to configure this.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 How to configure Web Cache as Load Balancer
 Mapping the Web Cache Load Balancer to the Origin Servers
 How to check if Web Cache is load balancing correctly

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.