Akka.Cluster.Sharding 1.4.22

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Akka.Cluster.Sharding --version 1.4.22                
NuGet\Install-Package Akka.Cluster.Sharding -Version 1.4.22                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Akka.Cluster.Sharding" Version="1.4.22" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Akka.Cluster.Sharding --version 1.4.22                
#r "nuget: Akka.Cluster.Sharding, 1.4.22"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Akka.Cluster.Sharding as a Cake Addin
#addin nuget:?package=Akka.Cluster.Sharding&version=1.4.22

// Install Akka.Cluster.Sharding as a Cake Tool
#tool nuget:?package=Akka.Cluster.Sharding&version=1.4.22                

Sharded actors with managed lifecycle for Akka.NET cluster

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (16)

Showing the top 5 NuGet packages that depend on Akka.Cluster.Sharding:

Package Downloads
Akka.Cluster.Hosting

Akka.Cluster and Akka.Cluster.Sharding Microsoft.Extensions.Hosting support.

Petabridge.Cmd.Cluster.Sharding

Akka.Cluster.Sharding Petabridge.Cmd palettes for shard management and monitoring.

wyvern.entity

Package Description

Akkling.Cluster.Sharding

F# wrapper library for Akka.NET cluster sharding module.

Akkatecture.Clustering

clustering library for akkatecture to enable distributed scenarios

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Akka.Cluster.Sharding:

Repository Stars
petabridge/akkadotnet-code-samples
Akka.NET professional reference code samples
ThembisileNGQ/Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
Aaronontheweb/InMemoryCQRSReplication
Akka.NET Reference Architecture - CQRS + Sharding + In-Memory Replication
Horusiath/AkkaCQRS
Event sourcing example build on Akka.NET with persistence plugin
Version Downloads Last updated
1.5.38 84 2/17/2025
1.5.37 8,454 1/23/2025
1.5.36 800 1/22/2025
1.5.35 3,935 1/13/2025
1.5.34 1,709 1/7/2025
1.5.33 8,124 12/23/2024
1.5.32 8,688 12/4/2024
1.5.31 11,508 11/11/2024
1.5.30 23,571 10/3/2024
1.5.29 1,705 10/1/2024
1.5.28 35,982 9/4/2024
1.5.28-beta1 137 8/23/2024
1.5.27.1 50,088 7/26/2024
1.5.27 591 7/25/2024
1.5.27-beta2 117 7/3/2024
1.5.27-beta1 94 7/3/2024
1.5.26 50,051 6/27/2024
1.5.25 65,350 6/14/2024
1.5.24 5,717 6/7/2024
1.5.23 790 6/6/2024
1.5.22 1,893 6/3/2024
1.5.21 3,535 5/28/2024
1.5.20 24,135 4/29/2024
1.5.19 13,399 4/15/2024
1.5.18 36,395 3/12/2024
1.5.17.1 7,709 3/2/2024
1.5.17 907 2/29/2024
1.5.16 20,742 1/29/2024
1.5.15 29,275 1/10/2024
1.5.14 27,883 11/3/2023
1.5.13 67,058 9/18/2023
1.5.13-beta1 445 8/25/2023
1.5.12 21,917 8/2/2023
1.5.11 3,207 7/27/2023
1.5.10 7,693 7/25/2023
1.5.9 8,465 7/17/2023
1.5.8 35,746 6/15/2023
1.5.7 22,281 5/17/2023
1.5.6 9,729 5/8/2023
1.5.5 35,720 5/4/2023
1.5.4 12,681 4/25/2023
1.5.3 2,908 4/20/2023
1.5.2 17,527 4/6/2023
1.5.1 8,695 3/15/2023
1.5.0 11,751 3/2/2023
1.5.0-beta6 1,003 3/1/2023
1.5.0-beta5 557 3/1/2023
1.5.0-beta4 648 2/28/2023
1.5.0-beta3 730 2/27/2023
1.5.0-beta2 577 2/23/2023
1.5.0-beta1 608 2/20/2023
1.5.0-alpha4 957 2/1/2023
1.5.0-alpha3 801 11/15/2022
1.5.0-alpha2 681 10/17/2022
1.5.0-alpha1 684 8/22/2022
1.4.51 10,329 6/28/2023
1.4.50 4,498 3/15/2023
1.4.49 15,533 1/27/2023
1.4.49-beta1 612 1/11/2023
1.4.48 28,454 1/5/2023
1.4.47 9,975 12/9/2022
1.4.46 26,115 11/15/2022
1.4.45 22,944 10/19/2022
1.4.44 2,706 10/17/2022
1.4.43 11,377 9/27/2022
1.4.42 2,369 9/23/2022
1.4.41 135,117 8/31/2022
1.4.40 13,759 7/22/2022
1.4.39 86,377 6/1/2022
1.4.38 42,903 5/6/2022
1.4.37 11,097 4/14/2022
1.4.36 9,796 4/5/2022
1.4.35 21,800 3/18/2022
1.4.34 7,564 3/7/2022
1.4.33 8,036 2/14/2022
1.4.32 13,365 1/18/2022
1.4.31 29,252 12/21/2021
1.4.30 1,743 12/20/2021
1.4.29 2,142 12/13/2021
1.4.28 50,774 11/10/2021
1.4.27 44,944 10/11/2021
1.4.26 4,728 9/28/2021
1.4.25 5,783 9/8/2021
1.4.24 8,617 8/17/2021
1.4.23 3,633 8/10/2021
1.4.22 6,011 8/5/2021
1.4.21 19,243 6/16/2021
1.4.21-beta1 888 6/4/2021
1.4.20 14,519 5/12/2021
1.4.19 14,099 4/28/2021
1.4.18 10,739 3/23/2021
1.4.17 6,207 3/10/2021
1.4.16 29,256 1/22/2021
1.4.15 2,479 1/20/2021
1.4.14 10,315 12/30/2020
1.4.13 3,205 12/16/2020
1.4.12 19,027 11/16/2020
1.4.11 12,482 11/5/2020
1.4.10 18,784 8/20/2020
1.4.9 15,159 7/21/2020
1.4.8 47,107 6/17/2020
1.4.7 5,722 5/27/2020
1.4.6 6,730 5/12/2020
1.4.5 4,408 4/29/2020
1.4.4 8,456 3/31/2020
1.4.3 5,058 3/18/2020
1.4.2 4,298 3/13/2020
1.4.1 9,112 3/11/2020
1.4.1-rc3 1,017 3/10/2020
1.4.1-rc2 835 3/10/2020
1.4.1-rc1 1,255 2/28/2020
1.4.0-beta4 2,449 1/28/2020
1.4.0-beta3 7,024 10/30/2019
1.4.0-beta2 3,813 9/23/2019
1.4.0-beta1 2,600 7/19/2019
1.4.0-beta 1,058 10/30/2019
1.3.19-beta 80 5/2/2024
1.3.18-beta 10,659 3/9/2020
1.3.17-beta 6,765 12/20/2019
1.3.16-beta 2,940 11/14/2019
1.3.15-beta 4,589 9/23/2019
1.3.14-beta 7,309 7/30/2019
1.3.13-beta 19,435 4/30/2019
1.3.12-beta 12,772 3/14/2019
1.3.11-beta 10,594 12/18/2018
1.3.10-beta 83,557 11/2/2018
1.3.9-beta68 40,676 8/23/2018
1.3.9-beta67 1,218 8/23/2018
1.3.9-beta 1,158 8/30/2018
1.3.8-beta66 8,814 6/5/2018
1.3.8-beta65 1,347 6/5/2018
1.3.7-beta64 1,954 5/15/2018
1.3.7-beta63 1,428 5/15/2018
1.3.6-beta62 3,401 4/17/2018
1.3.6-beta61 1,313 4/17/2018
1.3.5-beta60 8,839 2/22/2018
1.3.5-beta59 1,350 2/22/2018
1.3.4-beta58 1,578 2/1/2018
1.3.4-beta57 1,398 2/1/2018
1.3.3-beta56 1,519 1/19/2018
1.3.3-beta55 1,427 1/19/2018
1.3.2-beta54 20,403 10/21/2017
1.3.2-beta53 1,357 10/21/2017
1.3.2-beta 2,209 10/24/2017
1.3.1-beta52 2,151 9/5/2017
1.3.1-beta51 1,330 9/5/2017
1.3.0-beta50 1,413 8/18/2017
1.3.0-beta48 1,299 8/17/2017
1.3.0-beta47 1,362 8/17/2017
1.3.0-beta46 1,352 8/11/2017
1.2.3.43-beta 2,920 7/10/2017
1.2.3.41-beta 1,357 7/10/2017
1.2.2.40-beta 1,406 6/28/2017
1.2.2.39-beta 1,318 6/28/2017
1.2.1.38-beta 1,357 6/23/2017
1.2.1.37-beta 1,394 6/23/2017
1.2.0.36-beta 10,833 4/13/2017
1.2.0.35-beta 1,579 4/13/2017
1.2.0.34-beta 1,302 4/12/2017
1.2.0.33-beta 1,946 4/12/2017
1.1.3.32-beta 2,651 1/23/2017
1.1.3.31-beta 1,548 1/23/2017
1.1.2.30-beta 3,052 9/22/2016
1.1.2.29-beta 1,688 9/22/2016
1.1.1.28-beta 1,469 7/16/2016
1.1.1.27-beta 1,424 7/16/2016
1.1.0.26-beta 1,476 7/7/2016
1.0.8.25-beta 3,173 4/26/2016
1.0.8.24-beta 1,448 4/26/2016
1.0.7.18-beta 1,465 4/6/2016

Maintenance Release for Akka.NET 1.4**
Akka.NET v1.4.22 is a fairly large release that includes an assortment of performance and bug fixes.
Performance Fixes**
Akka.NET v1.4.22 includes a _significant_ performance improvement for `Ask<T>`, which now requires 1 internal `await` operation instead of 3:
Before*
|                        Method | Iterations |      Mean |     Error |    StdDev |     Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------ |----------- |----------:|----------:|----------:|----------:|------:|------:|----------:|
| RequestResponseActorSelection |      10000 | 83.313 ms | 0.7553 ms | 0.7065 ms | 4666.6667 |     - |     - |     19 MB |
|          CreateActorSelection |      10000 |  5.572 ms | 0.1066 ms | 0.1140 ms |  953.1250 |     - |     - |      4 MB |
After*
|                        Method | Iterations |      Mean |     Error |    StdDev |     Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------ |----------- |----------:|----------:|----------:|----------:|------:|------:|----------:|
| RequestResponseActorSelection |      10000 | 71.216 ms | 0.9885 ms | 0.9246 ms | 4285.7143 |     - |     - |     17 MB |
|          CreateActorSelection |      10000 |  5.462 ms | 0.0495 ms | 0.0439 ms |  953.1250 |     - |     - |      4 MB |
Bug Fixes and Improvements**
[Akka: Use ranged nuget versioning for Newtonsoft.Json](https://github.com/akkadotnet/akka.net/pull/5099)
[Akka: Pipe of Canceled Tasks](https://github.com/akkadotnet/akka.net/pull/5123)
[Akka: CircuitBreaker's Open state should return a faulted Task instead of throwing](https://github.com/akkadotnet/akka.net/issues/5117)
[Akka.Remote: Can DotNetty socket exception include information about the address?](https://github.com/akkadotnet/akka.net/issues/5130)
[Akka.Remote: log full exception upon deserialization failure](https://github.com/akkadotnet/akka.net/pull/5121)
[Akka.Cluster: SBR fix & update](https://github.com/akkadotnet/akka.net/pull/5147)
[Akka.Streams: Restart Source|Flow|Sink: Configurable stream restart deadline](https://github.com/akkadotnet/akka.net/pull/5122)
[Akka.DistributedData: ddata replicator stops but doesn't look like it can be restarted easily](https://github.com/akkadotnet/akka.net/pull/5145)
[Akka.DistributedData: ddata ReadMajorityPlus and WriteMajorityPlus](https://github.com/akkadotnet/akka.net/pull/5146)
[Akka.DistributedData: DData Max-Delta-Elements may not be fully honoured](https://github.com/akkadotnet/akka.net/issues/5157)
You can [see the full set of changes introduced in Akka.NET v1.4.22 here](https://github.com/akkadotnet/akka.net/milestone/52)
Akka.Cluster.Sharding.RepairTool**
In addition to the work done on Akka.NET itself, we've also created a separate tool for cleaning up any left-over data in the event of an Akka.Cluster.Sharding cluster running with `akka.cluster.sharding.state-store-mode=persistence` was terminated abruptly before it had a chance to cleanup.
We've added documentation to the Akka.NET website that explains how to use this tool here: https://getakka.net/articles/clustering/cluster-sharding.html#cleaning-up-akkapersistence-shard-state
And the tool itself has documentation here: https://github.com/petabridge/Akka.Cluster.Sharding.RepairTool
| COMMITS | LOC+ | LOC- | AUTHOR |
| --- | --- | --- | --- |
| 16 | 1254 | 160 | Gregorius Soedharmo |
| 7 | 104 | 83 | Aaron Stannard |
| 5 | 8 | 8 | dependabot[bot] |
| 4 | 876 | 302 | Ismael Hamed |
| 2 | 3942 | 716 | zbynek001 |
| 2 | 17 | 3 | Andreas Dirnberger |
| 1 | 187 | 2 | andyfurnival |
| 1 | 110 | 5 | Igor Fedchenko |