c# - Call a specific instance of a service in Azure Service Fabric -


in our service fabric application have service requires keeping data in memory during operation optimise performance, in rare cases need clear data.

so @ point, call comes service , tells empty cache. problem arises may have several instances of service, , when call service (from service) in service fabric call ends going 1 instance. need call instances of service.

we connect our services (using generic method) so:

t service = serviceproxy.create<t>(serviceuri); 

is there way specify instance of service use? or other way message instances of service?

thanks

this seems perfect use case service fabric pub/sub. have services need clear in data memory subscribers, , calling service can publish message broadcast subscribing services.

see more here: https://github.com/loekd/servicefabric.pubsubactors.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -