TECHIS.Cloud.LeaderElection
0.1.2.5
In a set of instances that run identical code, elect a temporary leader to execute short-lived management functions.
For High Availability and Scale, applications and services may run on several instances of containers, VMs or service hosts. Yet, some functions are best executed by a single instance for a given time period.
Call the Elector.EnsureIsLeaderAsync method to acertain if a particular instance has been successfully designated as 'Leader' for a given time period.
This implementation uses the Lease mechanism provided by Azure Storage Blob Service.
See a description of the Leader Election pattern https://docs.microsoft.com/en-us/azure/architecture/patterns/leader-election
Install-Package TECHIS.Cloud.LeaderElection -Version 0.1.2.5
dotnet add package TECHIS.Cloud.LeaderElection --version 0.1.2.5
<PackageReference Include="TECHIS.Cloud.LeaderElection" Version="0.1.2.5" />
paket add TECHIS.Cloud.LeaderElection --version 0.1.2.5
Release Notes
Updated dependencies. Added added support for netstandard2.0
Dependencies
-
.NETStandard 1.5
- NETStandard.Library (>= 1.6.1)
- TECHIS.Cloud.AzureStorage (>= 0.2.5.6)
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.1)
- TECHIS.Cloud.AzureStorage (>= 0.2.5.6)
-
.NETStandard 2.0
- TECHIS.Cloud.AzureStorage (>= 0.2.5.6)
GitHub Usage
This package is not used by any popular GitHub repositories.