Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 555 Bytes

load-balancing.md

File metadata and controls

8 lines (6 loc) · 555 Bytes

Load Balancing

load_balancing

The reason we cannot send a request directly to a microservice is that the microservice may have multiple instances and each of them will have different endpoints. This is where service (that little triangle) comes in. Service is a kubernetes component and provides an endpoint to a consumer. It also acts as a load balancer. In the image below, the request will be received by an appropriate payment microservice.