Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

running multiple edgemicro instances to point to differen instances of my microservice

Not applicable

If you have multiple edgemicro instances (each running on different server) front ended by NGINX load balancer, the proxy endpoint to target endpoint mapping is the same for each edgemicro instance. How do you load balance the traffic to different instances of your API service?

For example, the HTTP request to Nginx is http://myNginx:8080/myservice. The request is round robin to two edgemicro instances: http://server1:8000/myservice and http://server2:8000/myservice

Since the proxy /myservice to target URL mapping is the same for these two edgemicro instances, the traffic will point to the same service end point again( the same instance of my API service).

This is not what we want for using front end load balancer. We need to redirect traffic to different instances of the my API service.

Thanks,

0 10 806
10 REPLIES 10