Akka 1.6.0-beta4

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.

Using the v1.6 betas? Start here.

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.

No packages depend on Akka.

Akka.NET 1.6.0-beta4 simplifies source-generated serializer registration, adds three generator diagnostics that catch schema mistakes earlier, and cuts allocations across Artery, TCP and Akka.Streams. Read the v1.6 getting started guide for the full upgrade path.

Serialization V2

  • Generated serializers now return core SerializerDetails instead of the removed Akka.Serialization.V2.SerializerRegistration. Declare CreateSerializerDetails(ExtendedActorSystem) and pass its method group to Akka.Hosting's WithCustomSerializer, or invoke it inside SerializationSetup.Create. (#8852)
  • The generator now validates a marked type's shape as soon as [AkkaSerializable] appears, before any serializer references it. Missing fields, duplicate indices, inaccessible declarations and inaccessible getters report at their source declarations, including on open generic definitions. Malformed types that used to compile silently now fail. (#8860, fixes #8853)
  • AKKASG046 warns when a marked type declares a public stored property with no [AkkaField] - that property is not serialized. AKKASG047 warns when a type carries [AkkaField] annotations but no [AkkaSerializable], so the annotations are ignored. Both are warnings, and both fail a warnings-as-errors build. (#8861, fixes #8854; #8862, fixes #8856)
  • Generated message helper names no longer collide when two message types share a simple name across namespaces. (#8859)

Akka.Remote / Artery (experimental)

  • An idle Artery association no longer reconnects to a peer that shut down. A failed stream with no queued traffic or unacknowledged system messages goes dormant instead of retrying forever; channels and reliable delivery state stay intact, and normal sends or ActorSelection.ResolveOne wake the association with a fresh handshake. (#8858, fixes #8857)
  • Quarantine notices survive bounded control-stream retries, and quarantined reliable delivery resets before restart replay. (#8863)
  • Artery envelope encoding no longer allocates a closure per message, and metadata is written as UTF-8 straight into the frame buffer. (#8804, #8805)

Akka.Streams

  • Source.Lazily now surfaces a factory exception through the materialized task instead of losing it. (#8843)
  • Value-type elements stay typed across fused connections and restart substream ingress, so they no longer box on every hop. (#8807, #8824)
  • Async callbacks skip closure allocation when ingress tracing is off. (#8823)

Akka.Cluster.Sharding

  • A shard handoff no longer drops the owner's termination signal while handoff acknowledgements are still in flight. (#8865)

Performance

  • TCP reads avoid per-read closures and nested async wrappers. (#8825)
  • Generated serializers skip counting-writer allocations for known buffer writers, and IReadOnlyList serialization no longer boxes enumerators. (#8822, #8808)

Dependency updates

  • MessagePack 3.1.12, Google.Protobuf 3.36.2, LightningDB 0.23.1, Microsoft.Data.Sqlite, Grpc.Tools 2.84.0, FsCheck.Xunit 3.6.0. (#8803, #8776, #8797, #8801, #8593, #8833)

2 contributors since release 1.6.0-beta3

COMMITS LOC+ LOC- AUTHOR
21 7970 1605 Aaron Stannard
1 61 2 Ariel Fischer

Version Downloads Last updated
1.6.0-beta4 2 10/28/2026
1.6.0-beta3 22 10/07/2026
1.6.0-beta2 21 10/07/2026
1.6.0-beta1 23 10/02/2026
1.5.73 22 10/06/2026
1.5.72 19 10/04/2026
1.5.71 30 08/28/2026
1.5.70 48 07/04/2026
1.5.70-beta2 30 07/02/2026
1.5.70-beta1 29 06/25/2026
1.5.69 34 06/14/2026
1.5.68 39 05/19/2026
1.5.67 52 04/26/2026
1.5.66 50 04/26/2026
1.5.65 50 04/12/2026
1.5.64 46 04/02/2026
1.5.63 46 03/26/2026
1.5.62 35 03/05/2026
1.5.61 50 03/02/2026
1.5.60 47 02/10/2026
1.5.59 53 01/28/2026
1.5.58 48 01/11/2026
1.5.57 63 12/12/2025
1.5.57-beta2 53 12/11/2025
1.5.57-beta1 50 12/11/2025
1.5.56 54 12/11/2025
1.5.55 55 12/13/2025
1.5.54 50 12/11/2025
1.5.53 48 12/14/2025
1.5.52 47 12/13/2025
1.5.51 46 12/13/2025
1.5.50 6 09/30/2026
1.5.49 45 12/12/2025
1.5.48 50 12/11/2025
1.5.47 47 12/12/2025
1.5.46 6 09/27/2026
1.5.45 3 10/06/2026
1.5.44 11 09/30/2026
1.5.43 49 12/11/2025
1.5.42 57 12/11/2025
1.5.41 55 12/11/2025
1.5.40 57 12/11/2025
1.5.39 51 12/11/2025
1.5.38 7 09/28/2026
1.5.37 50 12/15/2025
1.5.36 45 12/13/2025
1.5.35 4 10/06/2026
1.5.34 48 12/12/2025
1.5.33 36 12/12/2025
1.5.32 10 09/28/2026
1.5.31 62 12/11/2025
1.5.30 4 10/06/2026
1.5.29 59 12/11/2025
1.5.28 6 09/28/2026
1.5.28-beta1 10 10/06/2026
1.5.27.1 5 09/29/2026
1.5.27 41 12/11/2025
1.5.27-beta2 47 12/11/2025
1.5.27-beta1 47 12/11/2025
1.5.26 56 12/11/2025
1.5.25 7 10/06/2026
1.5.24 5 09/29/2026
1.5.23 4 10/06/2026
1.5.22 37 12/12/2025
1.5.21 5 09/28/2026
1.5.20 6 09/28/2026
1.5.19 49 12/11/2025
1.5.18 5 10/05/2026
1.5.17.1 48 12/12/2025
1.5.17 51 12/12/2025
1.5.16 8 10/02/2026
1.5.15 8 09/28/2026
1.5.14 55 12/12/2025
1.5.13 4 09/29/2026
1.5.13-beta1 5 09/30/2026
1.5.12 54 12/11/2025
1.5.11 49 12/11/2025
1.5.10 51 12/10/2025
1.5.9 50 12/11/2025
1.5.8 62 12/12/2025
1.5.7 55 12/11/2025
1.5.6 4 10/06/2026
1.5.5 32 12/13/2025
1.5.4 7 10/02/2026
1.5.3 4 10/06/2026
1.5.2 42 12/11/2025
1.5.1 3 10/08/2026
1.5.0 8 09/27/2026
1.5.0-beta6 55 12/14/2025
1.5.0-beta5 46 12/13/2025
1.5.0-beta4 9 09/28/2026
1.5.0-beta3 4 10/06/2026
1.5.0-beta2 51 12/14/2025
1.5.0-beta1 6 10/06/2026
1.5.0-alpha4 4 10/06/2026
1.5.0-alpha3 48 12/11/2025
1.5.0-alpha2 51 12/12/2025
1.5.0-alpha1 5 09/30/2026
1.4.51 40 12/13/2025
1.4.50 6 10/03/2026
1.4.49 53 12/12/2025
1.4.49-beta1 51 12/11/2025
1.4.48 53 12/11/2025
1.4.47 7 10/01/2026
1.4.46 42 12/12/2025
1.4.45 4 10/06/2026
1.4.44 47 12/11/2025
1.4.43 51 12/11/2025
1.4.42 7 10/06/2026
1.4.41 47 12/13/2025
1.4.40 8 09/27/2026
1.4.39 6 09/28/2026
1.4.38 7 10/06/2026
1.4.37 5 10/06/2026
1.4.36 48 12/15/2025
1.4.35 4 10/02/2026
1.4.34 46 12/13/2025
1.4.33 5 09/30/2026
1.4.32 50 12/12/2025
1.4.31 54 12/11/2025
1.4.30 56 12/12/2025
1.4.29 48 12/11/2025
1.4.28 9 09/28/2026
1.4.27 4 10/03/2026
1.4.26 47 12/13/2025
1.4.25 50 12/12/2025
1.4.24 4 09/30/2026
1.4.23 51 12/11/2025
1.4.22 55 12/11/2025
1.4.21 9 09/29/2026
1.4.21-beta1 49 12/12/2025
1.4.20 46 12/15/2025
1.4.19 53 12/15/2025
1.4.18 5 10/10/2026
1.4.17 8 09/29/2026
1.4.16 52 12/12/2025
1.4.15 50 12/11/2025
1.4.14 7 10/09/2026
1.4.13 7 09/29/2026
1.4.12 6 10/07/2026
1.4.11 49 12/15/2025
1.4.10 55 12/15/2025
1.4.9 6 10/01/2026
1.4.8 46 12/12/2025
1.4.7 68 12/11/2025
1.4.6 55 12/10/2025
1.4.5 5 10/06/2026
1.4.4 49 12/12/2025
1.4.3 4 10/02/2026
1.4.2 35 12/12/2025
1.4.1 6 09/30/2026
1.4.1-rc3 5 09/28/2026
1.4.1-rc2 6 09/29/2026
1.4.1-rc1 48 12/14/2025
1.4.0 48 12/14/2025
1.4.0-beta4 42 12/16/2025
1.4.0-beta3 47 12/13/2025
1.4.0-beta2 5 10/06/2026
1.4.0-beta1 8 10/04/2026
1.3.19 58 12/11/2025
1.3.18 46 12/12/2025
1.3.17 42 12/10/2025
1.3.16 9 09/28/2026
1.3.15 50 12/11/2025
1.3.14 50 12/11/2025
1.3.13 57 12/11/2025
1.3.12 47 12/11/2025
1.3.11 49 12/11/2025
1.3.10 44 12/15/2025
1.3.9 56 12/11/2025
1.3.8 65 12/12/2025
1.3.7 45 12/12/2025
1.3.6 47 12/12/2025
1.3.5 5 09/30/2026
1.3.4 6 10/06/2026
1.3.3 38 12/15/2025
1.3.2 7 10/07/2026
1.3.1 50 12/12/2025
1.3.0 57 12/15/2025
1.2.3 4 10/03/2026
1.2.2 8 10/02/2026
1.2.1 50 12/11/2025
1.2.0 55 12/12/2025
1.1.3 53 12/15/2025
1.1.2 49 12/15/2025
1.1.1 47 12/14/2025
1.1.0 58 12/11/2025
1.0.8 7 10/03/2026
1.0.7 53 12/11/2025
1.0.6 55 12/11/2025
1.0.5 6 10/01/2026
1.0.4 56 12/12/2025
1.0.3 5 10/02/2026
1.0.2 56 12/11/2025
1.0.1 3 10/06/2026
1.0.0 9 10/01/2026
1.0.0-dev1504032244 5 10/06/2026
0.8.0 46 12/15/2025
0.7.1 49 12/11/2025
0.7.0 48 12/14/2025
0.6.4 44 12/11/2025
0.6.3 7 10/06/2026
0.6.2 43 12/11/2025
0.6.1 5 10/06/2026
0.6.0 53 12/11/2025
0.5.8 51 12/12/2025
0.5.2 49 12/12/2025
0.5.0 55 12/11/2025
0.2.1-beta 52 12/11/2025
0.2.0-beta 5 10/06/2026