Azure Service Fabric¶
Plural site course (focusing on ‘Reliable Services’) https://app.pluralsight.com/course-player?clipId=ec014437-6f1b-49e0-a70f-47878c055bcb
4 approaches to create micro services in service fabric:
Reliable services (stateless / stateful)
Reliable actodflsdfrs
Guest executables
Containers
Reliable Services¶
Reliable services are like normal apps with the difference that they are exposed to Service Fabric APIs so that orchestration can happen on them.
Stateless reliable services
State is stored locally (no need to talk to a database). What if a server crashes? replicas are being used. Minimum set of replicas to achieve data consistency is called a Quorum.
Service Communication¶
The following are supported by service fabric out of the box:
WCF (Windows Communication Foundation)
HTTP
Service Remoting
Service Remoting is default and recommended. Supports:
Auto address resolution
Establishing connection
Retries
Error handling
Strong types
Fast
C# and Java support