Back to rankings

akkadotnet/akka.net

C#getakka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.

akkaactor-modeldotnetconcurrencyclusteractorreactivedistributed-programmingc-sharpakkadotnet
Star Growth
Stars
5.1k
Forks
1.1k
Weekly Growth
Issues
317
2k4k
Jan 2014Mar 2018May 2022Jul 2026
README

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.

Related repositories
akka/akka-core

A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.

ScalaOtherreactivedistributed-systems
doc.akka.io/libraries/
13.3k3.5k
akka/akka

A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.

ScalaOtherreactivedistributed-systems
doc.akka.io
13.1k3.6k
asynkron/protoactor-go

Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin

GoGo ModulesApache License 2.0grpcactor-model
proto.actor
5.5k574
lagom/lagom

Reactive Microservices for the JVM

ScalaApache License 2.0lagomdistributed-systems
lagomframework.com
2.6k620
asynkron/protoactor-dotnet

Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin

C#Apache License 2.0actorsclustering
proto.actor
1.9k291
softwaremill/tapir

Rapid development of self-documenting APIs

ScalaApache License 2.0akka-httpopenapi
tapir.softwaremill.com
1.5k468
paypal/squbs

Akka Streams & Akka HTTP for Large-Scale Production Deployments

ScalaApache License 2.0akkaakka-http
paypal.github.io/squbs
1.4k234
akka/alpakka-kafka

Alpakka Kafka connector - Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.

ScalaOtherkafkajava
doc.akka.io/libraries/alpakka-kafka/current/
1.4k370
akka/akka-http

The Streaming-first HTTP server/module of Akka

ScalaOtherakkaakka-http
doc.akka.io/libraries/akka-http/current/
1.4k586
akka/alpakka

Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.

ScalaOtherintegrationreactive
doc.akka.io/libraries/alpakka/current/
1.3k629
nactio/nact

nact ⇒ node.js + actors ⇒ your services have never been so µ

TypeScriptnpmApache License 2.0actor-modelnodejs
nact.xyz
1.1k44
jacksu/utils4s

scala、spark使用过程中,各种测试用例以及相关资料整理

Scalasparkscala-demo
jacksu.github.io/utils4s
1.1k421