Akka.Persistence 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.Persistence --version 1.4.22                
NuGet\Install-Package Akka.Persistence -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.Persistence" Version="1.4.22" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Akka.Persistence --version 1.4.22                
#r "nuget: Akka.Persistence, 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.Persistence as a Cake Addin
#addin nuget:?package=Akka.Persistence&version=1.4.22

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

Persistence actor support for Akka.NET

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. 
.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 (47)

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

Package Downloads
Akka.Cluster.Sharding

Sharded actors with managed lifecycle for Akka.NET cluster. Used to distribute state in a fault-tolerant, consistent fashion over an Akka.NET cluster.

Akka.Persistence.Sql.Common

Akka.NET Persistence ADO.NET middleware

Akka.Persistence.Query

Stream based query interface for persistence journal plugins for Akka.NET

Akka.Persistence.Query.Sql

Akka.NET streams support for ADO.NET Persistence middleware.

Akka.Persistence.Hosting

Akka.Persistence Microsoft.Extensions.Hosting support.

GitHub repositories (4)

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

Repository Stars
ThembisileNGQ/Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
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.31 2,087 11/11/2024
1.5.30 18,729 10/3/2024
1.5.29 4,597 10/1/2024
1.5.28 28,793 9/4/2024
1.5.28-beta1 588 8/23/2024
1.5.27.1 41,122 7/26/2024
1.5.27 660 7/25/2024
1.5.27-beta2 412 7/3/2024
1.5.27-beta1 369 7/3/2024
1.5.26 58,738 6/27/2024
1.5.25 43,036 6/14/2024
1.5.24 12,636 6/7/2024
1.5.23 974 6/6/2024
1.5.22 2,629 6/3/2024
1.5.21 5,815 5/28/2024
1.5.20 38,556 4/29/2024
1.5.19 15,858 4/15/2024
1.5.18 43,885 3/12/2024
1.5.17.1 12,277 3/2/2024
1.5.17 1,315 2/29/2024
1.5.16 36,793 1/29/2024
1.5.15 50,762 1/10/2024
1.5.14 41,104 11/3/2023
1.5.13 106,530 9/18/2023
1.5.13-beta1 1,240 8/25/2023
1.5.12 91,884 8/2/2023
1.5.11 4,001 7/27/2023
1.5.10 8,982 7/25/2023
1.5.9 15,102 7/17/2023
1.5.8 50,983 6/15/2023
1.5.7 40,178 5/17/2023
1.5.6 12,693 5/8/2023
1.5.5 33,931 5/4/2023
1.5.4 46,703 4/25/2023
1.5.3 4,682 4/20/2023
1.5.2 51,589 4/6/2023
1.5.1 33,730 3/15/2023
1.5.0 46,474 3/2/2023
1.5.0-beta6 1,856 3/1/2023
1.5.0-beta5 1,267 3/1/2023
1.5.0-beta4 1,398 2/28/2023
1.5.0-beta3 2,075 2/27/2023
1.5.0-beta2 2,203 2/23/2023
1.5.0-beta1 1,338 2/20/2023
1.5.0-alpha4 1,768 2/1/2023
1.5.0-alpha3 1,664 11/15/2022
1.5.0-alpha2 1,343 10/17/2022
1.5.0-alpha1 8,297 8/22/2022
1.4.51 21,495 6/28/2023
1.4.50 6,205 3/15/2023
1.4.49 34,337 1/27/2023
1.4.49-beta1 1,384 1/11/2023
1.4.48 54,945 1/5/2023
1.4.47 14,860 12/9/2022
1.4.46 44,993 11/15/2022
1.4.45 40,155 10/19/2022
1.4.44 9,779 10/17/2022
1.4.43 41,487 9/27/2022
1.4.42 8,788 9/23/2022
1.4.41 173,535 8/31/2022
1.4.40 56,633 7/22/2022
1.4.39 103,864 6/1/2022
1.4.38 45,930 5/6/2022
1.4.37 19,068 4/14/2022
1.4.36 25,674 4/5/2022
1.4.35 89,531 3/18/2022
1.4.34 16,555 3/7/2022
1.4.33 22,543 2/14/2022
1.4.32 43,623 1/18/2022
1.4.31 78,187 12/21/2021
1.4.30 3,639 12/20/2021
1.4.29 4,935 12/13/2021
1.4.28 70,130 11/10/2021
1.4.27 61,800 10/11/2021
1.4.26 8,168 9/28/2021
1.4.25 39,661 9/8/2021
1.4.24 14,458 8/17/2021
1.4.23 6,420 8/10/2021
1.4.22 8,715 8/5/2021
1.4.21 37,513 6/16/2021
1.4.21-beta1 2,237 6/4/2021
1.4.20 37,878 5/12/2021
1.4.19 26,483 4/28/2021
1.4.18 32,058 3/23/2021
1.4.17 13,311 3/10/2021
1.4.16 49,693 1/22/2021
1.4.15 6,333 1/20/2021
1.4.14 24,119 12/30/2020
1.4.13 6,570 12/16/2020
1.4.12 69,628 11/16/2020
1.4.11 22,984 11/5/2020
1.4.10 52,254 8/20/2020
1.4.9 26,241 7/21/2020
1.4.8 61,615 6/17/2020
1.4.7 16,256 5/27/2020
1.4.6 12,406 5/12/2020
1.4.5 18,344 4/29/2020
1.4.4 47,974 3/31/2020
1.4.3 13,687 3/18/2020
1.4.2 13,177 3/13/2020
1.4.1 46,262 3/11/2020
1.4.1-rc3 3,839 3/10/2020
1.4.1-rc2 2,558 3/10/2020
1.4.1-rc1 4,374 2/28/2020
1.4.0-beta4 3,783 1/28/2020
1.4.0-beta3 8,947 10/30/2019
1.4.0-beta2 5,274 9/23/2019
1.4.0-beta1 3,921 7/19/2019
1.3.19 381 5/2/2024
1.3.18 25,675 3/9/2020
1.3.17 57,016 12/20/2019
1.3.16 16,138 11/14/2019
1.3.15 86,714 9/23/2019
1.3.14 43,842 7/30/2019
1.3.13 55,243 4/30/2019
1.3.12 36,847 3/14/2019
1.3.11 37,607 12/18/2018
1.3.10 93,370 11/2/2018
1.3.9 86,568 8/23/2018
1.3.8 27,379 6/5/2018
1.3.7 18,847 5/15/2018
1.3.6 9,115 4/17/2018
1.3.5 24,565 2/22/2018
1.3.4 7,511 2/1/2018
1.3.3 6,568 1/19/2018
1.3.2 40,432 10/21/2017
1.3.1 26,698 9/5/2017
1.3.0 13,591 8/11/2017
1.2.3.43-beta 6,507 7/10/2017
1.2.3.41-beta 2,862 7/10/2017
1.2.2.40-beta 5,986 6/28/2017
1.2.2.39-beta 2,750 6/28/2017
1.2.1.38-beta 5,719 6/23/2017
1.2.1.37-beta 2,824 6/23/2017
1.2.0.36-beta 16,376 4/13/2017
1.2.0.35-beta 2,759 4/13/2017
1.2.0.34-beta 2,692 4/12/2017
1.2.0.33-beta 2,873 4/12/2017
1.1.3.32-beta 15,311 1/23/2017
1.1.3.31-beta 2,968 1/23/2017
1.1.2.30-beta 19,953 9/22/2016
1.1.2.29-beta 3,038 9/22/2016
1.1.1.28-beta 8,093 7/16/2016
1.1.1.27-beta 2,767 7/16/2016
1.1.0.26-beta 3,186 7/7/2016
1.0.8.25-beta 4,153 4/26/2016
1.0.8.24-beta 2,077 4/26/2016
1.0.7.18-beta 2,528 4/6/2016
1.0.6.17-beta 10,081 1/18/2016
1.0.6.16-beta 1,620 1/18/2016
1.0.5.15-beta 10,463 12/3/2015
1.0.5.14-beta 1,845 12/3/2015
1.0.4.12-beta 3,274 8/8/2015
1.0.3-beta 2,079 6/12/2015
1.0.2.9-beta 1,954 6/3/2015
1.0.1-pre1504282013 2,031 4/28/2015
1.0.0-pre1504092226 1,506 4/9/2015
1.0.0-dev1504032244 1,408 4/3/2015
0.8.0-pre1502120115 2,912 2/12/2015

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 |