Akka.Streams 1.5.22

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
Build Build Status
NuGet Pack Build Status
.NET Framework Unit Tests Build Status
.NET 7 Unit Tests (Windows) Build Status
.NET 7 Unit Tests (Linux) Build Status
.NET 7 MultiNode Tests (Windows) Build Status
.NET 7 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.

Showing the top 20 packages that depend on Akka.Streams.

Packages Downloads
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
114
Akka.Streams.Kinesis
AWS Kinesis adapter for Akka.NET Streams
35
Akka.Streams.Kinesis
AWS Kinesis adapter for Akka.NET Streams
31
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
29
Petabridge.Cmd.Common
Middleware for creating, serializing, and parsing Petabridge.Cmd commands and command palettes.
28
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
28
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
26
Akka.Streams.Amqp.RabbitMq
AMQP adapter for Akka.NET Streams
26
Petabridge.Cmd.Common
Middleware for creating, serializing, and parsing Petabridge.Cmd commands and command palettes.
25
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
23
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
22
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
22
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
21
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
20
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
16
Akka.Persistence.Query
Stream based query interface for persistence journal plugins for Akka.NET
15
Akka.Streams.TestKit
Testkit for Reactive stream support for Akka.NET
15

Akka.NET v1.5.22 is a patch release for Akka.NET with a few bug fixes and logging improvement. [Streams: Bump Reactive.Streams to 1.0.4](https://github.com/akkadotnet/akka.net/pull/7213) [Remote: Bump DotNetty.Handlers to 0.7.6](https://github.com/akkadotnet/akka.net/pull/7198) [Core: Resolve CVE-2018-8292 for Akka.Streams and Akka.Remote](https://github.com/akkadotnet/akka.net/issues/7191) [Core: Expose `BusLogging` `EventStream` as public API](https://github.com/akkadotnet/akka.net/pull/7210) [Remote: Add cross-platform support to the exception serializer](https://github.com/akkadotnet/akka.net/pull/7222) On Resolving CVE-2018-8292** In order to resolve this CVE, we had to update `DotNetty.Handlers` to the latest version and unfortunately, this comes with about 10% network throughput performance hit. We are looking into possible replacement for `DotNetty` to improve this performance lost in the future (see [`#7225`](https://github.com/akkadotnet/akka.net/issues/7225) for updates). Before** ``` Num clients, Total [msg], Msgs/sec, Total [ms], Start Threads, End Threads 1, 200000, 125000, 1600.62, 46, 76 5, 1000000, 494072, 2024.04, 84, 95 10, 2000000, 713013, 2805.73, 103, 107 15, 3000000, 724463, 4141.38, 115, 115 20, 4000000, 714669, 5597.66, 123, 123 25, 5000000, 684932, 7300.37, 131, 107 30, 6000000, 694525, 8639.88, 115, 93 ``` After** ``` Num clients, Total [msg], Msgs/sec, Total [ms], Start Threads, End Threads 1, 200000, 123763, 1616.32, 46, 73 5, 1000000, 386101, 2590.66, 81, 90 10, 2000000, 662691, 3018.54, 98, 104 15, 3000000, 666223, 4503.86, 112, 113 20, 4000000, 669681, 5973.89, 121, 113 25, 5000000, 669255, 7471.86, 121, 105 30, 6000000, 669121, 8967.61, 113, 92 ``` | COMMITS | LOC+ | LOC- | AUTHOR | |---------|------|------|---------------------| | 6 | 167 | 188 | Aaron Stannard | | 3 | 93 | 10 | Gregorius Soedharmo | You can [see the full set of changes for Akka.NET v1.5.22 here](https://github.com/akkadotnet/akka.net/milestones/1.5.22).

.NET 6.0

.NET Standard 2.0

Version Downloads Last updated
1.5.31 2 11/19/2024
1.5.30 2 10/07/2024
1.5.29 2 10/07/2024
1.5.28 5 09/05/2024
1.5.28-beta1 2 08/25/2024
1.5.27.1 4 07/26/2024
1.5.27 3 07/26/2024
1.5.27-beta2 4 07/04/2024
1.5.27-beta1 4 07/04/2024
1.5.26 4 06/28/2024
1.5.25 186 06/24/2024
1.5.24 18 06/07/2024
1.5.23 6 06/07/2024
1.5.22 4 06/05/2024
1.5.21 11 06/05/2024
1.5.20 23 04/30/2024
1.5.19 13 04/15/2024
1.5.18 11 03/14/2024
1.5.17.1 9 03/14/2024
1.5.17 9 03/14/2024
1.5.16 7 02/08/2024
1.5.15 2 01/23/2024
1.5.14 5 01/07/2024
1.5.13 17 09/25/2023
1.5.13-beta1 3 08/30/2023
1.5.12 5 09/01/2023
1.5.11 6 08/29/2023
1.5.10 4 08/27/2023
1.5.9 3 08/30/2023
1.5.8 10 08/30/2023
1.5.7 11 06/13/2023
1.5.6 4 06/13/2023
1.5.5 2 06/13/2023
1.5.4 5 06/13/2023
1.5.3 2 12/30/2023
1.5.2 3 06/13/2023
1.5.1 7 06/11/2023
1.5.0 6 05/02/2023
1.5.0-beta6 5 08/28/2023
1.5.0-beta5 4 08/30/2023
1.5.0-beta4 3 08/25/2023
1.5.0-beta3 7 08/30/2023
1.5.0-beta2 4 08/30/2023
1.5.0-beta1 5 08/30/2023
1.5.0-alpha4 2 08/28/2023
1.5.0-alpha3 3 08/31/2023
1.5.0-alpha2 10 08/28/2023
1.5.0-alpha1 3 08/28/2023
1.4.51 4 08/28/2023
1.4.50 4 08/27/2023
1.4.49 8 05/07/2023
1.4.49-beta1 2 08/31/2023
1.4.48 5 08/30/2023
1.4.47 3 01/25/2024
1.4.46 4 08/28/2023
1.4.45 5 04/20/2024
1.4.44 2 10/13/2024
1.4.43 4 07/11/2024
1.4.42 5 08/31/2023
1.4.41 4 09/02/2024
1.4.40 5 08/24/2023
1.4.39 5 07/12/2022
1.4.38 9 05/15/2024
1.4.37 6 08/29/2023
1.4.36 6 08/24/2023
1.4.35 5 03/26/2022
1.4.34 3 05/16/2024
1.4.33 4 07/29/2024
1.4.32 8 08/30/2023
1.4.31 15 04/27/2022
1.4.30 3 08/06/2024
1.4.29 4 05/15/2024
1.4.28 8 07/21/2022
1.4.27 1 10/13/2024
1.4.26 7 08/27/2023
1.4.25 3 08/29/2023
1.4.24 7 08/31/2023
1.4.23 3 08/25/2023
1.4.22 7 08/26/2023
1.4.21 4 10/13/2024
1.4.21-beta1 6 08/30/2023
1.4.20 2 10/13/2024
1.4.19 184 05/15/2024
1.4.18 185 06/27/2024
1.4.17 184 05/07/2024
1.4.16 184 05/15/2024
1.4.15 184 05/15/2024
1.4.14 184 05/15/2024
1.4.13 185 08/28/2023
1.4.12 186 08/31/2023
1.4.11 184 05/15/2024
1.4.10 181 06/27/2024
1.4.9 6 06/13/2023
1.4.8 4 06/12/2023
1.4.7 3 06/13/2023
1.4.6 6 06/12/2023
1.4.5 5 06/14/2023
1.4.4 5 06/12/2023
1.4.3 5 06/12/2023
1.4.2 4 06/12/2023
1.4.1 186 06/12/2023
1.4.1-rc3 184 06/27/2024
1.4.1-rc2 187 05/15/2024
1.4.1-rc1 184 06/27/2024
1.4.0-beta4 186 06/24/2024
1.4.0-beta3 186 08/27/2023
1.4.0-beta2 185 08/29/2023
1.4.0-beta1 184 02/08/2024
1.3.19 200 05/03/2024
1.3.18 185 05/15/2024
1.3.17 182 06/27/2024
1.3.16 183 06/27/2024
1.3.15 182 06/27/2024
1.3.14 183 06/27/2024
1.3.13 184 06/17/2024
1.3.12 184 06/27/2024
1.3.11 183 06/27/2024
1.3.10 184 07/07/2021
1.3.9 184 06/12/2023
1.3.8 185 06/12/2023
1.3.7 185 06/12/2023
1.3.6 184 06/12/2023
1.3.5 185 06/12/2023
1.3.4 183 06/13/2023
1.3.3 187 06/12/2023
1.3.2 185 05/19/2023
1.3.1 185 06/13/2023
1.3.0 181 06/12/2023
1.2.3 182 06/14/2023
1.2.2 186 06/13/2023
1.2.1 184 06/12/2023
1.2.0 183 06/12/2023
1.1.3.32-beta 184 05/15/2024
1.1.3.31-beta 185 05/16/2024
1.1.2.30-beta 186 05/15/2024
1.1.2.29-beta 183 06/27/2024
1.1.1.28-beta 188 05/15/2024
1.1.1.27-beta 185 05/15/2024
1.1.0.26-beta 188 03/19/2024