January 2019
Intermediate to advanced
754 pages
18h 13m
English
To support scalability and reliability, Service Fabric supports setting up multiple instances of service and supports partitioning a service. Let's see what this concept means for stateless and stateful services.
Stateless services do not store any data locally. When you add a new stateless service in your Service Fabric application, you will find that a configuration is automatically created in ApplicationManifest.xml to configure the service to use SingletonPartition:
<Service Name="Stateless1"> <StatelessService ServiceTypeName="Stateless1Type" InstanceCount="[Stateless1_InstanceCount]"> <SingletonPartition /> </StatelessService> </Service>
SingletonPartition means that, number of partitions is one, which means ...
Read now
Unlock full access