Azure / service-fabric-mesh-preview

Service Fabric Mesh is the Service Fabric's serverless offering to enable developers to deploy containerized applications without managing infrastructure. Service Fabric Mesh , aka project “SeaBreeze” is currently available in private preview. This repository will be used for tracking bugs/feature requests as GitHub issues and for maintaining the latest documentation.
MIT License
82 stars 12 forks source link

Load balance across service replica's #339

Open amolenk opened 5 years ago

amolenk commented 5 years ago

I've deployed a Web API in a Linux container with a replicaCount of 3. I expected that calls to the service (from the 'open' network) would be load balanced across the service replicas. Instead, a single replica seems to be handling all requests. How can I load balance incoming requests across the replicas?

guibirow commented 5 years ago

Generally when the request re-use the same connection, it tend to send the requests to the same instance. In some scenarios, the best way to test is generating multiple connections(clients).

This is not set in stone, it also can send the calls to multiple services when coming from same connection.

Not sure if there is a configuration for that. Worth waiting an official answer from SF Team.