Microservice load balancing setup
Use any load balancer to divide the load to your microservices.
- Discovery Service
- Content Service
- Session-enabled Content Service
- Preview Service
- Context Service (deprecated)
- Contextual Image Delivery (deprecated)
All instances of a scaled-out microservices share the same data repository, except for the (deprecated) Context Service, each instance of which has its own local device repository.
To apply load-balancing to these microservices, install any of them multiple times, and set up your own load balancer (any load balancer will do) to offer one single, virtual IP address or hostname representing all instances, which redirects to the URL of any of the microservice instances. Balancing the load ensures good performance.