Example: Configuring Multiple Oracle NoSQL Database Proxies for Redundancy

Learn how to configure multiple Oracle NoSQL Database proxies to work with a load balancer.

You can set up a configuration using multiple Oracle NoSQL Database proxies to create redundancy. Redundancy ensures that at least one proxy continues to function through different demand loads and failure types.

The Oracle NoSQL Database Proxy can run in one or multiple dedicated hosts. It can also be hosted inside the nodes of the data store. You can use a load balancer as the front end, which has a back end set of multiple Oracle NoSQL Database proxies for redundancy on different hosts.

HAProxy is an open-source software that offers a load balancer for HTTP and TCP applications. You can use the HAProxy software as a load balancer in front of multiple Oracle NoSQL Database proxies.

Note: There are other load balancers available. This topic demonstrates the concepts using HAProxy as the load balancer.

For example, consider a data store with three dedicated proxy hosts: proxy1-nosql, proxy2-nosql, proxy3-nosql. To set up multiple proxies with redundancy, you can configure the hosts proxy1-nosql, proxy2-nosql, proxy3-nosql as Oracle NoSQL Database proxies in the back end. Install and configure the HAProxy software as the load balancer. The load balancer routes requests to the proxies.

ConfiguringOracle NoSQL Database Proxyin the hosts

Ensure that you have deployed the data store.

Configuring the load balancer