Akka.DistributedData 1.5.57-beta2

Prefix Reserved
This is a prerelease version of Akka.DistributedData.
dotnet add package Akka.DistributedData --version 1.5.57-beta2
                    
NuGet\Install-Package Akka.DistributedData -Version 1.5.57-beta2
                    
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.DistributedData" Version="1.5.57-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Akka.DistributedData" Version="1.5.57-beta2" />
                    
Directory.Packages.props
<PackageReference Include="Akka.DistributedData" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Akka.DistributedData --version 1.5.57-beta2
                    
#r "nuget: Akka.DistributedData, 1.5.57-beta2"
                    
#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.
#:package Akka.DistributedData@1.5.57-beta2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Akka.DistributedData&version=1.5.57-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Akka.DistributedData&version=1.5.57-beta2&prerelease
                    
Install as a Cake Tool

Akka.NET

Akka.NET logo

Discord NuGet Nuget

Akka.NET is a .NET port of the popular Akka project from the Scala / Java community. We are an idiomatic .NET implementation of the actor model built on top of the .NET Common Language Runtime.

Akka.NET is a .NET Foundation project.

.NET Foundation Logo

How is Akka.NET Used?

Akka.NET can be used in-process or inside large, distributed real-time systems; we support a wide variety of use cases.

Akka.NET can be used to solve the following types of problems:

  1. Concurrency - Akka.NET actors only process messages one-at-a-time and they do so in first in, first out (FIFO) order; this means that any application state internal to an actor is automatically thread-safe without having to use locks or any other shared-memory synchronization mechanisms.
  2. Stream Processing - Akka.NET actors and Akka.Streams make it easy to build streaming applications, used for processing incoming streams of data or incoming streams of live events such as UI or network events inside native applications.
  3. Event-Driven Programming - actors make it easy to build event-driven applications, as actors' message-processing routines naturally express these types of designs.
  4. Event Sourcing and CQRS - Akka.Persistence, used by actors to make their state re-entrant and recoverable across restarts or migrations between nodes, natively supports event sourcing. Akka.Persistence.Query can be used to compute CQRS-style projections and materialized views from Akka.Persistence data.
  5. Location Transparency - Akka.Remote makes it simple for actors in remote processes to transparently communicate with each other.
  6. Highly Available, Fault-Tolerant Distributed Systems - Akka.Cluster, Akka.Cluster.Sharding, and other tools built on top of Akka.Cluster make it possible to build highly available and fault-tolerant distributed systems by leveraging peer-to-peer programming models with topology-aware message routing and distribution.
  7. Low Latency, High Throughput - Akka.NET aims to be low latency and high throughput, processing 10s millions of messages per second in-memory and hundreds of thousands of messages per second over remote connections.

Where Can I Learn Akka.NET?

You can start by taking the Akka.NET Bootcamp, but there are many other great learning resources for Akka.NET Online.

Build Status

Stage Status
NuGet Pack Build Status
.NET Framework Unit Tests Build Status
.NET Unit Tests (Windows) Build Status
.NET Unit Tests (Linux) Build Status
.NET MultiNode Tests (Windows) Build Status
.NET MultiNode Tests (Linux) Build Status
Docs Build Status

Install Akka.NET via NuGet

If you want to include Akka.NET in your project, you can install it directly from NuGet

To install Akka.NET Distributed Actor Framework, run the following command in the Package Manager Console

PM> Install-Package Akka.Hosting

Akka.Hosting includes the base Akka NuGet package and also provides an easy interface to integrate Akka.NET with the most-used parts of the Microsoft.Extensions ecosystem: Configuration, Logging, Hosting, and DependencyInjection. We encourage developers to adopt it.

And if you need F# support:

PM> Install-Package Akka.FSharp

Akka.NET Project Templates

To create your own Akka.NET projects using our templates (Akka.Templates), install them via the dotnet CLI:

dotnet new install "Akka.Templates::*"

This will make our templates available via dotnet new on the CLI and as new project templates inside any .NET IDE such as Visual Studio or JetBrains Rider. You can view the full list of templates included in our package here: https://github.com/akkadotnet/akkadotnet-templates#available-templates

Builds

Please see Building Akka.NET.

To access nightly Akka.NET builds, please see the instructions here.

Support

If you need help getting started with Akka.NET, there's a number of great community resources online:

If you and your company are interested in getting professional Akka.NET support, you can contact Petabridge for dedicated Akka.NET support.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (8)

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

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.DistributedData.LightningDB

Replicated data using CRDT structures

Akka.Cluster.Hosting

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

Akkling.DistributedData

F# wrapper library for Akka.NET with geo-replicated distributed data support (CRDT)

FAkka.Shared

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.57-beta2 366 12/3/2025
1.5.57-beta1 278 12/2/2025
1.5.56 842 11/25/2025
1.5.55 16,952 10/26/2025
1.5.54 2,734 10/17/2025
1.5.53 15,202 10/10/2025
1.5.52 6,945 10/6/2025
1.5.51 42,118 10/1/2025
1.5.50 5,603 9/22/2025
1.5.49 4,727 9/10/2025
1.5.48 11,843 8/22/2025
1.5.47 2,305 8/14/2025
1.5.46 9,872 7/17/2025
1.5.45 10,395 7/7/2025
1.5.44 9,334 6/19/2025
1.5.43 4,763 6/10/2025
1.5.42 27,168 5/21/2025
1.5.41 2,361 5/6/2025
1.5.40 109,049 3/24/2025
1.5.39 7,078 3/14/2025
1.5.38 126,356 2/17/2025
1.5.37 28,748 1/23/2025
1.5.36 2,978 1/22/2025
1.5.35 6,894 1/13/2025
1.5.34 2,985 1/7/2025
1.5.33 29,973 12/23/2024
1.5.32 14,110 12/4/2024
1.5.31 17,925 11/11/2024
1.5.30 44,049 10/3/2024
1.5.29 2,766 10/1/2024
1.5.28 65,885 9/4/2024
1.5.28-beta1 300 8/23/2024
1.5.27.1 194,325 7/26/2024
1.5.27 1,346 7/25/2024
1.5.27-beta2 298 7/3/2024
1.5.27-beta1 236 7/3/2024
1.5.26 97,256 6/27/2024
1.5.25 142,018 6/14/2024
1.5.24 6,595 6/7/2024
1.5.23 1,575 6/6/2024
1.5.22 2,794 6/3/2024
1.5.21 4,843 5/28/2024
1.5.20 32,722 4/29/2024
1.5.19 19,495 4/15/2024
1.5.18 44,218 3/12/2024
1.5.17.1 11,080 3/2/2024
1.5.17 1,731 2/29/2024
1.5.16 31,244 1/29/2024
1.5.15 42,668 1/10/2024
1.5.14 32,868 11/3/2023
1.5.13 106,972 9/18/2023
1.5.13-beta1 629 8/25/2023
1.5.12 25,954 8/2/2023
1.5.11 3,981 7/27/2023
1.5.10 9,837 7/25/2023
1.5.9 9,199 7/17/2023
1.5.8 38,754 6/15/2023
1.5.7 27,716 5/17/2023
1.5.6 12,156 5/8/2023
1.5.5 39,475 5/4/2023
1.5.4 13,991 4/25/2023
1.5.3 3,835 4/20/2023
1.5.2 22,043 4/6/2023
1.5.1 9,606 3/15/2023
1.5.0 13,473 3/2/2023
1.5.0-beta6 1,228 3/1/2023
1.5.0-beta5 740 3/1/2023
1.5.0-beta4 884 2/28/2023
1.5.0-beta3 946 2/27/2023
1.5.0-beta2 775 2/23/2023
1.5.0-beta1 823 2/20/2023
1.5.0-alpha4 1,229 2/1/2023
1.5.0-alpha3 1,105 11/15/2022
1.5.0-alpha2 873 10/17/2022
1.5.0-alpha1 904 8/22/2022
1.4.51 11,942 6/28/2023
1.4.50 5,540 3/15/2023
1.4.49 18,057 1/27/2023
1.4.49-beta1 943 1/11/2023
1.4.48 30,199 1/5/2023
1.4.47 11,481 12/9/2022
1.4.46 28,035 11/15/2022
1.4.45 25,194 10/19/2022
1.4.44 3,931 10/17/2022
1.4.43 12,928 9/27/2022
1.4.42 3,822 9/23/2022
1.4.41 163,631 8/31/2022
1.4.40 15,679 7/22/2022
1.4.39 88,196 6/1/2022
1.4.38 40,818 5/6/2022
1.4.37 12,580 4/14/2022
1.4.36 11,352 4/5/2022
1.4.35 24,108 3/18/2022
1.4.34 9,138 3/7/2022
1.4.33 9,926 2/14/2022
1.4.32 15,939 1/18/2022
1.4.31 30,096 12/21/2021
1.4.30 2,867 12/20/2021
1.4.29 3,256 12/13/2021
1.4.28 55,571 11/10/2021
1.4.27 50,967 10/11/2021
1.4.26 6,100 9/28/2021
1.4.25 7,117 9/8/2021
1.4.24 9,996 8/17/2021
1.4.23 4,867 8/10/2021
1.4.22 7,087 8/5/2021
1.4.21 21,469 6/16/2021
1.4.21-beta1 1,183 6/4/2021
1.4.20 16,276 5/12/2021
1.4.19 15,800 4/28/2021
1.4.18 12,658 3/23/2021
1.4.17 7,396 3/10/2021
1.4.16 31,011 1/22/2021
1.4.15 3,668 1/20/2021
1.4.14 12,012 12/30/2020
1.4.13 4,414 12/16/2020
1.4.12 20,519 11/16/2020
1.4.11 14,149 11/5/2020
1.4.10 20,406 8/20/2020
1.4.9 16,757 7/21/2020
1.4.8 50,974 6/17/2020
1.4.7 7,473 5/27/2020
1.4.6 7,837 5/12/2020
1.4.5 5,569 4/29/2020
1.4.4 11,107 3/31/2020
1.4.3 6,196 3/18/2020
1.4.2 6,295 3/13/2020
1.4.1 10,378 3/11/2020
1.4.1-rc3 1,454 3/10/2020
1.4.1-rc2 1,211 3/10/2020
1.4.1-rc1 1,665 2/28/2020
1.4.0-beta4 2,884 1/28/2020
1.4.0-beta3 7,509 10/30/2019
1.4.0-beta2 4,316 9/23/2019
1.4.0-beta1 3,145 7/19/2019
1.4.0-beta 1,477 10/30/2019
1.3.19-beta 245 5/2/2024
1.3.18-beta 11,162 3/9/2020
1.3.17-beta 7,619 12/20/2019
1.3.16-beta 3,458 11/14/2019
1.3.15-beta 5,016 9/23/2019
1.3.14-beta 8,793 7/30/2019
1.3.13-beta 20,380 4/30/2019
1.3.12-beta 14,692 3/14/2019
1.3.11-beta 11,699 12/18/2018
1.3.10-beta 80,375 11/2/2018
1.3.9-beta68 47,973 8/23/2018
1.3.9-beta67 1,702 8/23/2018
1.3.9-beta 1,621 8/30/2018
1.3.8-beta66 10,453 6/5/2018
1.3.8-beta65 2,121 6/5/2018
1.3.7-beta64 2,813 5/15/2018
1.3.7-beta63 2,245 5/15/2018
1.3.6-beta62 4,329 4/17/2018
1.3.6-beta61 2,213 4/17/2018
1.3.5-beta60 10,320 2/22/2018
1.3.5-beta59 1,956 2/22/2018
1.3.4-beta58 2,329 2/1/2018
1.3.4-beta57 2,132 2/1/2018
1.3.3-beta56 2,359 1/19/2018
1.3.3-beta55 2,213 1/19/2018
1.3.2-beta54 8,251 10/21/2017
1.3.2-beta53 1,377 10/21/2017
1.3.2-beta 2,602 10/24/2017
1.3.1-beta52 1,272 9/5/2017
1.3.1-beta51 1,451 9/5/2017
1.3.0-beta50 1,221 8/18/2017
1.3.0-beta48 1,230 8/17/2017
1.3.0-beta47 1,169 8/17/2017
1.3.0-beta46 1,701 8/11/2017
1.2.3.43-beta 1,190 7/10/2017
1.2.3.41-beta 1,192 7/10/2017
1.2.2.40-beta 1,227 6/28/2017
1.2.2.39-beta 1,227 6/28/2017
1.2.1.38-beta 1,211 6/23/2017
1.2.1.37-beta 1,192 6/23/2017
1.2.0.36-beta 1,274 4/13/2017
1.2.0.35-beta 1,207 4/13/2017
1.2.0.34-beta 1,207 4/12/2017
1.2.0.33-beta 1,797 4/12/2017
1.1.3.32-beta 1,600 1/23/2017
1.1.3.31-beta 1,213 1/23/2017

Akka.NET v1.5.57-beta2 is a beta release containing significant new APIs for Akka.Persistence that add completion callbacks and async handler support.

**New Features:**

* [Persistence completion callbacks via Defer - simplified alternative](https://github.com/akkadotnet/akka.net/pull/7957) - This release adds completion callback and async handler support to `Persist`, `PersistAsync`, `PersistAll`, and `PersistAllAsync` methods in Akka.Persistence. Key improvements include:
 - **Async Handler Support**: All persist methods now support `Func<TEvent, Task>` handlers for async event processing
 - **Completion Callbacks**: `PersistAll` and `PersistAllAsync` now accept optional completion callbacks (both sync `Action` and async `Func<Task>`) that execute after all events are persisted and handled
 - **Ordering Guarantees**: Completion callbacks use `Defer`/`DeferAsync` internally to maintain strict ordering guarantees
 - **Zero Breaking Changes**: All new APIs are additive overloads

**Code Examples:**

```csharp
// Async handler support - process events asynchronously
Persist(new OrderPlaced(orderId), async evt =>
{
   await _orderService.ProcessOrderAsync(evt);
});

// PersistAll with completion callback - know when all events are done
PersistAll(orderEvents, evt =>
{
   _state.Apply(evt);
}, onComplete: () =>
{
   // All events persisted and handlers executed
   _logger.Info("Order batch completed");
   Sender.Tell(new BatchComplete());
});

// PersistAll with async handler AND async completion callback
PersistAll(events,
   handler: async evt => await ProcessEventAsync(evt),
   onCompleteAsync: async () =>
   {
       await NotifyCompletionAsync();
       Sender.Tell(Done.Instance);
   });

// PersistAllAsync with completion - allows commands between handlers
PersistAllAsync(largeEventBatch,
   handler: evt => _state.Apply(evt),
   onComplete: () => Sender.Tell(new BatchProcessed()));
```

**Technical Details:**

The implementation maintains Akka.Persistence's strict ordering guarantees by using `Defer`/`DeferAsync` for completion callbacks, ensuring they execute in order even when called with empty event collections. The new async handler invocations (`IAsyncHandlerInvocation`) are processed via `RunTask` to preserve the actor's single-threaded execution model.

1 contributor since release 1.5.57-beta1

| COMMITS | LOC+ | LOC- | AUTHOR |
| --- | --- | --- | --- |
| 1 | 1386 | 67 | Aaron Stannard |

To [see the full set of changes in Akka.NET v1.5.57-beta2, click here](https://github.com/akkadotnet/akka.net/milestone/141?closed=1)