can we auto scale stateless service based on connection count

Ramu Sangabathula 21 Reputation points
2019-12-03T12:46:22.903+00:00

We have stateless service deployed in service fabric need to auto scale.

we have requirement to create new service instance every time when connection count to the service reaches a threshold(per say 10000 requests/connections), need to spawn a service instance. Do we have any pre-defined metric we can use to auto scale the service like servicefabric:/_MemoryInMB, or is it going to be a custom metric we have to create, if it is custom metric then in stateless service how can I keep the count of number of connections/requests made to the service so that I can report the load to service Fabric.

Any help greatly appreciated.

Thanks,
Ramu Sangabathula

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
{count} votes