Load Balancer
A load balancer is a server used to distribute the workload across multiple computer resources. A load balancer allows you to scale the system to max and optimize the resource use and throughput, and at the same time minimize the response time. A load balancer can also be used to ensure that the system will still be available, even during downtime on a computer resource.
Very much like proxies, there are a variety of load balancers available. The only requirement Panopticon Real Time has on the load balancer is that it supports persistence or stickiness. This means that the proxy will establish a user session and ensure that the user continues to use the same computer resource.
Stickiness is mainly implemented in two means: Cookies or URL encoding. These two alternatives will be used to determine which route the user will continue to take in the load balancer. The rest of this section will cover how to implement stickiness with cookies.
Sticky load balancer that are using cookies are normally using session tokens. Due to this, it is required to configure Panopticon to use session tokens. This is done by updating the following property to SESSION in the Panopticon.properties file:
authentication.token.persistence.
authentication.token.persistence=SESSION
IMPORTANT:
After modifying the property value to SESSION, ensure to clear the AppData/Token folder before starting the server.
For details on how to configure multiple servers to run in a cluster and synchronize content between them, see Server Cluster Configuration.
(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.