Service Fabric offers many built-in communication options to support inter-service communications. Service remoting is one of them. This option allows strong typed remote procedure calls between Reliable Services and Reliable Actors. This option is very easy to set up and operate with as service remoting handles resolution of service addresses, connection, retry, and error handling. Service Fabric also supports HTTP for language-agnostic communication.
Service Fabric SDK exposes ICommunicationClient
and ServicePartitionClient
classes for service resolution, HTTP connections, and retry loops. WCF is also supported by Service Fabric as a communication channel to enable legacy workload to be hosted on it. The SDK exposed WcfCommunicationListener
for the server side and WcfCommunicationClient
and ServicePartitionClient
classes for the client to ease programming hurdles.