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 (46)

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 228 11/11/2024
1.5.30 16,086 10/3/2024
1.5.29 4,161 10/1/2024
1.5.28 26,844 9/4/2024
1.5.28-beta1 587 8/23/2024
1.5.27.1 39,536 7/26/2024
1.5.27 614 7/25/2024
1.5.27-beta2 411 7/3/2024
1.5.27-beta1 368 7/3/2024
1.5.26 55,393 6/27/2024
1.5.25 39,744 6/14/2024
1.5.24 12,521 6/7/2024
1.5.23 930 6/6/2024
1.5.22 2,580 6/3/2024
1.5.21 5,766 5/28/2024
1.5.20 37,318 4/29/2024
1.5.19 15,685 4/15/2024
1.5.18 43,590 3/12/2024
1.5.17.1 12,200 3/2/2024
1.5.17 1,269 2/29/2024
1.5.16 36,337 1/29/2024
1.5.15 50,225 1/10/2024
1.5.14 40,913 11/3/2023
1.5.13 105,801 9/18/2023
1.5.13-beta1 1,239 8/25/2023
1.5.12 91,610 8/2/2023
1.5.11 3,956 7/27/2023
1.5.10 8,872 7/25/2023
1.5.9 15,033 7/17/2023
1.5.8 50,857 6/15/2023
1.5.7 40,009 5/17/2023
1.5.6 12,526 5/8/2023
1.5.5 33,766 5/4/2023
1.5.4 46,643 4/25/2023
1.5.3 4,636 4/20/2023
1.5.2 51,487 4/6/2023
1.5.1 33,556 3/15/2023
1.5.0 46,422 3/2/2023
1.5.0-beta6 1,855 3/1/2023
1.5.0-beta5 1,266 3/1/2023
1.5.0-beta4 1,397 2/28/2023
1.5.0-beta3 2,074 2/27/2023
1.5.0-beta2 2,202 2/23/2023
1.5.0-beta1 1,337 2/20/2023
1.5.0-alpha4 1,767 2/1/2023
1.5.0-alpha3 1,663 11/15/2022
1.5.0-alpha2 1,342 10/17/2022
1.5.0-alpha1 8,296 8/22/2022
1.4.51 21,305 6/28/2023
1.4.50 6,154 3/15/2023
1.4.49 34,189 1/27/2023
1.4.49-beta1 1,383 1/11/2023
1.4.48 54,768 1/5/2023
1.4.47 14,788 12/9/2022
1.4.46 44,882 11/15/2022
1.4.45 40,080 10/19/2022
1.4.44 9,736 10/17/2022
1.4.43 41,220 9/27/2022
1.4.42 8,743 9/23/2022
1.4.41 173,489 8/31/2022
1.4.40 56,526 7/22/2022
1.4.39 103,790 6/1/2022
1.4.38 45,885 5/6/2022
1.4.37 18,999 4/14/2022
1.4.36 25,584 4/5/2022
1.4.35 89,102 3/18/2022
1.4.34 16,502 3/7/2022
1.4.33 22,460 2/14/2022
1.4.32 43,573 1/18/2022
1.4.31 78,092 12/21/2021
1.4.30 3,593 12/20/2021
1.4.29 4,890 12/13/2021
1.4.28 70,068 11/10/2021
1.4.27 61,633 10/11/2021
1.4.26 8,120 9/28/2021
1.4.25 39,567 9/8/2021
1.4.24 14,412 8/17/2021
1.4.23 6,374 8/10/2021
1.4.22 8,669 8/5/2021
1.4.21 37,443 6/16/2021
1.4.21-beta1 2,236 6/4/2021
1.4.20 37,829 5/12/2021
1.4.19 26,399 4/28/2021
1.4.18 32,009 3/23/2021
1.4.17 13,265 3/10/2021
1.4.16 49,648 1/22/2021
1.4.15 6,276 1/20/2021
1.4.14 24,072 12/30/2020
1.4.13 6,524 12/16/2020
1.4.12 69,582 11/16/2020
1.4.11 22,938 11/5/2020
1.4.10 52,204 8/20/2020
1.4.9 26,179 7/21/2020
1.4.8 61,519 6/17/2020
1.4.7 16,188 5/27/2020
1.4.6 12,362 5/12/2020
1.4.5 18,284 4/29/2020
1.4.4 47,871 3/31/2020
1.4.3 13,640 3/18/2020
1.4.2 13,133 3/13/2020
1.4.1 45,900 3/11/2020
1.4.1-rc3 3,838 3/10/2020
1.4.1-rc2 2,557 3/10/2020
1.4.1-rc1 4,373 2/28/2020
1.4.0-beta4 3,782 1/28/2020
1.4.0-beta3 8,946 10/30/2019
1.4.0-beta2 5,273 9/23/2019
1.4.0-beta1 3,920 7/19/2019
1.3.19 380 5/2/2024
1.3.18 25,670 3/9/2020
1.3.17 57,015 12/20/2019
1.3.16 16,137 11/14/2019
1.3.15 86,693 9/23/2019
1.3.14 43,833 7/30/2019
1.3.13 55,228 4/30/2019
1.3.12 36,846 3/14/2019
1.3.11 37,583 12/18/2018
1.3.10 93,359 11/2/2018
1.3.9 86,524 8/23/2018
1.3.8 27,377 6/5/2018
1.3.7 18,846 5/15/2018
1.3.6 9,114 4/17/2018
1.3.5 24,564 2/22/2018
1.3.4 7,509 2/1/2018
1.3.3 6,553 1/19/2018
1.3.2 40,426 10/21/2017
1.3.1 26,695 9/5/2017
1.3.0 13,583 8/11/2017
1.2.3.43-beta 6,506 7/10/2017
1.2.3.41-beta 2,861 7/10/2017
1.2.2.40-beta 5,985 6/28/2017
1.2.2.39-beta 2,749 6/28/2017
1.2.1.38-beta 5,718 6/23/2017
1.2.1.37-beta 2,823 6/23/2017
1.2.0.36-beta 16,375 4/13/2017
1.2.0.35-beta 2,758 4/13/2017
1.2.0.34-beta 2,691 4/12/2017
1.2.0.33-beta 2,853 4/12/2017
1.1.3.32-beta 15,310 1/23/2017
1.1.3.31-beta 2,967 1/23/2017
1.1.2.30-beta 19,907 9/22/2016
1.1.2.29-beta 3,037 9/22/2016
1.1.1.28-beta 8,090 7/16/2016
1.1.1.27-beta 2,766 7/16/2016
1.1.0.26-beta 3,185 7/7/2016
1.0.8.25-beta 4,152 4/26/2016
1.0.8.24-beta 2,076 4/26/2016
1.0.7.18-beta 2,527 4/6/2016
1.0.6.17-beta 10,080 1/18/2016
1.0.6.16-beta 1,619 1/18/2016
1.0.5.15-beta 10,431 12/3/2015
1.0.5.14-beta 1,844 12/3/2015
1.0.4.12-beta 3,273 8/8/2015
1.0.3-beta 2,078 6/12/2015
1.0.2.9-beta 1,953 6/3/2015
1.0.1-pre1504282013 2,030 4/28/2015
1.0.0-pre1504092226 1,505 4/9/2015
1.0.0-dev1504032244 1,407 4/3/2015
0.8.0-pre1502120115 2,911 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 |