4.17 Deploying Oracle Graph Server Behind a Load Balancer
You can deploy multiple graph servers (PGX) behind a load balancer and connect clients to the servers through the load balancer.
Using Session Persistence with a Load Balancer
You can use the Load Balancer sticky cookie feature since the graph server (PGX) is not stateless. This implies that when you configure load balancer cookie stickiness, the load balancer inserts a cookie to identify the server and the client requests are always directed to the same backend server.
The graph client supports all sessions that belong to a
serverInstance
to be sent to the same server. You must set the
cookie name as PGX_INSTANCE_STICKY_COOKIE
.
You can use one of the following options to deploy different graph servers behind a load balancer:
- Using HAProxy for PGX Load Balancing and High Availability
HAProxy is a high-performance TCP/HTTP load balancer and proxy server that allows multiplexing incoming requests across multiple web servers. - Deploying Graph Server (PGX) Using OCI Load Balancer
You can deploy multiple graph servers (PGX) behind a load balancer using Oracle Cloud Infrastructure (OCI) Load Balancing Service. - Health Check in the Load Balancer
Parent topic: Using the Graph Server (PGX)