Akka 1.6.0-beta7
Akka.NET
![]()
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.
- Website: https://getakka.net/
- Twitter 🐦: AkkaDotNet
- Discussions 📣: Akka.NET GitHub Discussions
- Chat 💬: Akka.NET on Discord
- StackOverflow ✔️: Akka.NET on StackOverflow
Akka.NET is a .NET Foundation project.
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:
- 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. - 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.
- Event-Driven Programming - actors make it easy to build event-driven applications, as actors' message-processing routines naturally express these types of designs.
- 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.
- Location Transparency - Akka.Remote makes it simple for actors in remote processes to transparently communicate with each other.
- 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.
- 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.
- Petabridge's Akka.NET Videos on YouTube
- ".NET Conf - When and How to Use the Actor Model An Introduction to Akka.NET Actors"
- Reactive Applications with Akka.NET
- Akka.NET Succinctly
Build Status
| Stage | Status | |
|---|---|---|
| NuGet Pack | ||
| .NET Framework Unit Tests | ||
| .NET Unit Tests (Windows) | ||
| .NET Unit Tests (Linux) | ||
| .NET MultiNode Tests (Windows) | ||
| .NET MultiNode Tests (Linux) | ||
| Docs |
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:
- Subscribe to the Akka.NET project feed on Twitter: https://twitter.com/AkkaDotNet (@AkkaDotNet)
- Join the Akka.NET Discord: https://discord.gg/GSCfPwhbWP
- Ask Akka.NET questions on Stack Overflow: http://stackoverflow.com/questions/tagged/akka.net
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-beta7 adds opt-in TLS to Akka.IO TCP, Akka.Streams TCP and Artery remoting, fixes two Akka.Persistence ordering bugs, and ships a DotNetty-to-Artery migration guide. Read the v1.6 getting started guide for the full upgrade path.
Akka.IO / TLS
- TCP now supports opt-in TLS. Pass
TlsClientSettingstoTcp.ConnectorTlsServerSettingstoTcp.Bindand the connection is encrypted and authenticated before any bytes flow. Server-only TLS authenticates the server; mutual TLS has both peers present and validate a certificate. A command withoutTlsuses plaintext TCP exactly as before, and Akka.IO never falls back to plaintext when a configured handshake fails. (#8771) - Peer trust is an explicit policy:
TlsPeerPolicy.SystemTrust()uses the OS chain,PinnedCertificates(...)trusts a leaf thumbprint, andCustomTrust(callback)hands the decision to your code. Compose extra checks with.And(...)-TlsCertificateValidation.ValidateHostname(),ValidateSubject(...),ValidateIssuer(...)- to narrow an already-trusted peer.SystemTrust()ignores only a name-mismatch error and does not check a host name by itself, so addValidateHostname()when DNS identity matters. (#8771) - New public types:
TlsClientSettingsandTlsServerSettings(immutable, withServerOnly/Mutualfactories,WithHandshakeTimeoutandWithProtocols),TlsPeerPolicy,TlsCertificateValidationand theTlsCertificateValidationCallbackdelegate. Certificates stay caller-owned and must outlive the actor system. (#8771) - An outgoing
Tcp.Connectedis sent only after the handshake succeeds, and a failed or timed-out handshake (10s default,WithHandshakeTimeout) arrives as the existingTcp.CommandFailed. An incoming connection reaches its handler only after its handshake succeeds; the listener stays available for other clients. (#8771) TlsCertificateLoaderloads PKCS#12 certificates from a file or byte array, or finds one in an X.509 store. It requires an accessible RSA or ECDSA private key and returns a caller-owned certificate - keep it alive until the actor system and every transport using it have stopped. (#8787)- Migration:
ITransportConnectionimplementors must addInitializeAsync(CancellationToken)andStart(), andTcpTransportConnectionconstructors no longer start pumps automatically. This affects only the v1.6 beta API; v1.5 is unchanged. See the v1.6 breaking-change ledger. (#8771)
Akka.Streams
Tcp.BindTls,Tcp.BindAndHandleTlsandTcp.OutgoingConnectionTlsadd TLS listeners and outgoing connections, using the sameTlsClientSettings/TlsServerSettingsas Akka.IO.BindAndHandleTlscompletes when the listener is ready, and an outgoing graph's materialized value completes after authentication. Existing plaintextBind,BindAndHandleandOutgoingConnectionkeep their current behavior, and TLS does not change back-pressure or half-close semantics. (#8788, addresses #2750)- A failed TCP command now surfaces its original exception as the
InnerExceptionof theStreamTcpExceptioninstead of dropping it, so a TLS handshake failure reports why it failed. (#8788)
Akka.Remote / Artery (experimental)
- Artery can now run over TLS. Add one
ArteryTlsSetupcarrying an immutableArteryTlsSettingsprofile to the actor-system setup and Artery uses TLS for inbound connections and every outbound channel - control, ordinary and large-message traffic. Without it, Artery stays on plaintext TCP, and a failed handshake closes the connection rather than retrying as plaintext. Profiles and validation callbacks are configured in code; there is no Artery TLS HOCON schema. (#8791, refs #4436) - Deployment note: TLS is all-or-nothing per transport. A TLS-enabled Artery node cannot associate with a plaintext Artery node, and a TLS-enabled Akka.IO listener will not accept plaintext clients. Configure every participating node the same way. (#8771, #8791)
- Akka.Hosting's
WithArteryRemotingexposes the same profile. It enables Artery, allows explicit bind host and port overrides, preserves an already selected Cluster, Remote or custom actor-ref provider, and adds or replaces the typed TLS setup whenTlsis set. (#8791)
Akka.Persistence
- Stashed commands now run in send order when an async
Persist/PersistAllhandler, or the asynconCompleteAsynccallback ofPersistAll, completes asynchronously. Two unstashes used to fire for the same invocation in the same turn, and because eachUnstash()puts the oldest stashed command at the front of the mailbox, the second overtook the first. The same double unstash hitPersistAsync,PersistAllAsyncandDeferAsyncwith async handlers. Synchronous handlers behave as before. (#8941, fixes #8942) Desequencedis now exempt from serialization verification. Withakka.actor.serialize-messages = on, every journal write reply was round-tripped through theSystem.ObjectJSON fallback before reaching the persistent actor, so the persist callback received a JSON copy of the event instead of the instance that was persisted. For a C# 15 union event that copy arrived withValue == null, so the handler saw an empty event. (#8912, fixes #8910)
Docs
- New TLS for Akka.IO, Akka.Streams, and Artery guide covers server-only and mutual TLS, trust policies, certificate lifetime, and the Streams and Artery APIs. (#8771, #8787, #8788, #8791)
- New Migrating From DotNetty to Artery guide covers the transport change, cluster transition, address changes, Hosting, and bind-address limitations. (#8913)
Internal
- Native AOT verification uses the serviced .NET 10 SDK 10.0.403. (#8914)
1 contributor since release 1.6.0-beta6
| COMMITS | LOC+ | LOC- | AUTHOR |
|---|---|---|---|
| 8 | 5511 | 284 | Aaron Stannard |
.NET 10.0
- Akka.Analyzers (>= 0.3.3)
- Microsoft.Extensions.ObjectPool (>= 10.0.0)
- Newtonsoft.Json (>= 13.0.1)
- System.Configuration.ConfigurationManager (>= 6.0.1)
| Version | Downloads | Last updated |
|---|---|---|
| 1.6.0-beta7 | 1 | 11/10/2026 |
| 1.6.0-beta6 | 5 | 11/7/2026 |
| 1.6.0-beta5 | 8 | 11/5/2026 |
| 1.6.0-beta4 | 21 | 10/29/2026 |
| 1.6.0-beta3 | 23 | 10/7/2026 |
| 1.6.0-beta2 | 18 | 10/7/2026 |
| 1.6.0-beta1 | 27 | 10/3/2026 |
| 1.5.74 | 7 | 11/5/2026 |
| 1.5.73 | 21 | 10/6/2026 |
| 1.5.72 | 24 | 10/5/2026 |
| 1.5.71 | 31 | 8/29/2026 |
| 1.5.70 | 31 | 7/5/2026 |
| 1.5.70-beta2 | 33 | 7/4/2026 |
| 1.5.70-beta1 | 25 | 6/26/2026 |
| 1.5.69 | 38 | 6/13/2026 |
| 1.5.68 | 41 | 5/18/2026 |
| 1.5.67 | 46 | 5/4/2026 |
| 1.5.66 | 43 | 5/3/2026 |
| 1.5.65 | 40 | 5/4/2026 |
| 1.5.64 | 43 | 5/4/2026 |
| 1.5.63 | 32 | 3/24/2026 |
| 1.5.62 | 38 | 3/9/2026 |
| 1.5.61 | 39 | 2/27/2026 |
| 1.5.60 | 39 | 2/13/2026 |
| 1.5.59 | 38 | 1/28/2026 |
| 1.5.58 | 44 | 1/12/2026 |
| 1.5.57 | 48 | 12/14/2025 |
| 1.5.57-beta2 | 53 | 12/4/2025 |
| 1.5.57-beta1 | 60 | 12/2/2025 |
| 1.5.56 | 58 | 11/26/2025 |
| 1.5.55 | 97 | 10/27/2025 |
| 1.5.54 | 84 | 10/23/2025 |
| 1.5.53 | 97 | 10/23/2025 |
| 1.5.52 | 79 | 10/23/2025 |
| 1.5.51 | 81 | 10/23/2025 |
| 1.5.50 | 98 | 10/23/2025 |
| 1.5.49 | 88 | 10/23/2025 |
| 1.5.48 | 73 | 10/23/2025 |
| 1.5.47 | 82 | 10/23/2025 |
| 1.5.46 | 82 | 10/23/2025 |
| 1.5.45 | 88 | 10/23/2025 |
| 1.5.44 | 92 | 10/23/2025 |
| 1.5.43 | 83 | 10/23/2025 |
| 1.5.42 | 65 | 10/23/2025 |
| 1.5.41 | 86 | 10/23/2025 |
| 1.5.40 | 89 | 10/23/2025 |
| 1.5.39 | 93 | 10/23/2025 |
| 1.5.38 | 98 | 10/23/2025 |
| 1.5.37 | 89 | 10/23/2025 |
| 1.5.36 | 104 | 10/23/2025 |
| 1.5.35 | 85 | 10/23/2025 |
| 1.5.34 | 86 | 10/23/2025 |
| 1.5.33 | 79 | 10/23/2025 |
| 1.5.32 | 97 | 10/23/2025 |
| 1.5.31 | 94 | 10/23/2025 |
| 1.5.30 | 84 | 10/23/2025 |
| 1.5.29 | 77 | 10/23/2025 |
| 1.5.28 | 74 | 10/23/2025 |
| 1.5.28-beta1 | 85 | 10/23/2025 |
| 1.5.27.1 | 74 | 10/23/2025 |
| 1.5.27 | 99 | 10/23/2025 |
| 1.5.27-beta2 | 68 | 10/23/2025 |
| 1.5.27-beta1 | 77 | 10/23/2025 |
| 1.5.26 | 94 | 10/23/2025 |
| 1.5.25 | 79 | 10/23/2025 |
| 1.5.24 | 71 | 10/23/2025 |
| 1.5.23 | 77 | 10/23/2025 |
| 1.5.22 | 86 | 10/23/2025 |
| 1.5.21 | 76 | 10/23/2025 |
| 1.5.20 | 94 | 10/23/2025 |
| 1.5.19 | 86 | 10/23/2025 |
| 1.5.18 | 82 | 10/23/2025 |
| 1.5.17.1 | 79 | 10/23/2025 |
| 1.5.17 | 86 | 10/23/2025 |
| 1.5.16 | 75 | 10/23/2025 |
| 1.5.15 | 91 | 10/23/2025 |
| 1.5.14 | 95 | 10/23/2025 |
| 1.5.13 | 103 | 10/23/2025 |
| 1.5.13-beta1 | 84 | 10/23/2025 |
| 1.5.12 | 73 | 10/23/2025 |
| 1.5.11 | 78 | 10/23/2025 |
| 1.5.10 | 85 | 10/23/2025 |
| 1.5.9 | 70 | 10/23/2025 |
| 1.5.8 | 85 | 10/23/2025 |
| 1.5.7 | 83 | 10/23/2025 |
| 1.5.6 | 79 | 10/23/2025 |
| 1.5.5 | 78 | 10/23/2025 |
| 1.5.4 | 104 | 10/23/2025 |
| 1.5.3 | 85 | 10/23/2025 |
| 1.5.2 | 76 | 10/23/2025 |
| 1.5.1 | 99 | 10/23/2025 |
| 1.5.0 | 93 | 10/23/2025 |
| 1.5.0-beta6 | 76 | 10/23/2025 |
| 1.5.0-beta5 | 73 | 10/23/2025 |
| 1.5.0-beta4 | 93 | 10/23/2025 |
| 1.5.0-beta3 | 89 | 10/23/2025 |
| 1.5.0-beta2 | 89 | 10/23/2025 |
| 1.5.0-beta1 | 93 | 10/23/2025 |
| 1.5.0-alpha4 | 74 | 10/23/2025 |
| 1.5.0-alpha3 | 77 | 10/23/2025 |
| 1.5.0-alpha2 | 92 | 10/23/2025 |
| 1.5.0-alpha1 | 80 | 10/23/2025 |
| 1.4.51 | 80 | 10/23/2025 |
| 1.4.50 | 95 | 10/23/2025 |
| 1.4.49 | 80 | 10/23/2025 |
| 1.4.49-beta1 | 77 | 10/23/2025 |
| 1.4.48 | 70 | 10/23/2025 |
| 1.4.47 | 79 | 10/23/2025 |
| 1.4.46 | 74 | 10/23/2025 |
| 1.4.45 | 72 | 10/23/2025 |
| 1.4.44 | 81 | 10/23/2025 |
| 1.4.43 | 82 | 10/23/2025 |
| 1.4.42 | 81 | 10/23/2025 |
| 1.4.41 | 82 | 10/23/2025 |
| 1.4.40 | 90 | 10/23/2025 |
| 1.4.39 | 82 | 10/23/2025 |
| 1.4.38 | 76 | 10/23/2025 |
| 1.4.37 | 82 | 10/23/2025 |
| 1.4.36 | 101 | 10/23/2025 |
| 1.4.35 | 74 | 10/23/2025 |
| 1.4.34 | 81 | 10/23/2025 |
| 1.4.33 | 73 | 10/23/2025 |
| 1.4.32 | 78 | 10/23/2025 |
| 1.4.31 | 77 | 10/23/2025 |
| 1.4.30 | 82 | 10/23/2025 |
| 1.4.29 | 90 | 10/23/2025 |
| 1.4.28 | 78 | 10/23/2025 |
| 1.4.27 | 75 | 10/23/2025 |
| 1.4.26 | 108 | 10/23/2025 |
| 1.4.25 | 89 | 10/23/2025 |
| 1.4.24 | 69 | 10/23/2025 |
| 1.4.23 | 73 | 10/23/2025 |
| 1.4.22 | 76 | 10/23/2025 |
| 1.4.21 | 92 | 10/23/2025 |
| 1.4.21-beta1 | 106 | 10/23/2025 |
| 1.4.20 | 78 | 10/23/2025 |
| 1.4.19 | 96 | 10/23/2025 |
| 1.4.18 | 85 | 10/23/2025 |
| 1.4.17 | 98 | 10/23/2025 |
| 1.4.16 | 84 | 10/23/2025 |
| 1.4.15 | 76 | 10/23/2025 |
| 1.4.14 | 84 | 10/23/2025 |
| 1.4.13 | 87 | 10/23/2025 |
| 1.4.12 | 85 | 10/23/2025 |
| 1.4.11 | 84 | 10/23/2025 |
| 1.4.10 | 86 | 10/23/2025 |
| 1.4.9 | 89 | 10/23/2025 |
| 1.4.8 | 75 | 10/23/2025 |
| 1.4.7 | 100 | 10/23/2025 |
| 1.4.6 | 79 | 10/23/2025 |
| 1.4.5 | 88 | 10/23/2025 |
| 1.4.4 | 84 | 10/23/2025 |
| 1.4.3 | 74 | 10/23/2025 |
| 1.4.2 | 85 | 10/23/2025 |
| 1.4.1 | 88 | 10/23/2025 |
| 1.4.1-rc3 | 94 | 10/23/2025 |
| 1.4.1-rc2 | 84 | 10/23/2025 |
| 1.4.1-rc1 | 74 | 10/23/2025 |
| 1.4.0 | 57 | 11/26/2025 |
| 1.4.0-beta4 | 89 | 10/23/2025 |
| 1.4.0-beta3 | 103 | 10/23/2025 |
| 1.4.0-beta2 | 84 | 10/23/2025 |
| 1.4.0-beta1 | 70 | 10/23/2025 |
| 1.3.19 | 93 | 10/23/2025 |
| 1.3.18 | 90 | 10/23/2025 |
| 1.3.17 | 101 | 10/23/2025 |
| 1.3.16 | 76 | 10/23/2025 |
| 1.3.15 | 75 | 10/23/2025 |
| 1.3.14 | 88 | 10/23/2025 |
| 1.3.13 | 80 | 10/23/2025 |
| 1.3.12 | 99 | 10/23/2025 |
| 1.3.11 | 93 | 10/23/2025 |
| 1.3.10 | 94 | 10/23/2025 |
| 1.3.9 | 89 | 10/23/2025 |
| 1.3.8 | 80 | 10/23/2025 |
| 1.3.7 | 90 | 10/23/2025 |
| 1.3.6 | 90 | 10/23/2025 |
| 1.3.5 | 89 | 10/23/2025 |
| 1.3.4 | 79 | 10/23/2025 |
| 1.3.3 | 84 | 10/23/2025 |
| 1.3.2 | 77 | 10/23/2025 |
| 1.3.1 | 92 | 10/23/2025 |
| 1.3.0 | 89 | 10/23/2025 |
| 1.2.3 | 78 | 10/23/2025 |
| 1.2.2 | 80 | 10/23/2025 |
| 1.2.1 | 81 | 10/23/2025 |
| 1.2.0 | 106 | 10/23/2025 |
| 1.1.3 | 86 | 10/23/2025 |
| 1.1.2 | 76 | 10/23/2025 |
| 1.1.1 | 90 | 10/23/2025 |
| 1.1.0 | 85 | 10/23/2025 |
| 1.0.8 | 76 | 10/23/2025 |
| 1.0.7 | 82 | 10/23/2025 |
| 1.0.6 | 83 | 10/23/2025 |
| 1.0.5 | 87 | 10/23/2025 |
| 1.0.4 | 75 | 10/23/2025 |
| 1.0.3 | 91 | 10/23/2025 |
| 1.0.2 | 99 | 10/23/2025 |
| 1.0.1 | 85 | 10/23/2025 |
| 1.0.0 | 87 | 10/23/2025 |
| 1.0.0-dev1504032244 | 66 | 10/23/2025 |
| 0.8.0 | 88 | 10/23/2025 |
| 0.7.1 | 84 | 10/23/2025 |
| 0.7.0 | 76 | 10/23/2025 |
| 0.6.4 | 88 | 10/23/2025 |
| 0.6.3 | 80 | 10/23/2025 |
| 0.6.2 | 80 | 10/23/2025 |
| 0.6.1 | 82 | 10/23/2025 |
| 0.6.0 | 85 | 10/23/2025 |
| 0.5.8 | 78 | 10/23/2025 |
| 0.5.2 | 94 | 10/23/2025 |
| 0.5.0 | 80 | 10/23/2025 |
| 0.2.1-beta | 76 | 10/23/2025 |
| 0.2.0-beta | 73 | 10/23/2025 |