• Stars
    star
    4,497
  • Rank 9,024 (Top 0.2 %)
  • Language
    C#
  • License
    Other
  • Created over 10 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

Hyperion

Polymorphic serialization for .NET
C#
272
star
2

HOCON

C# implementation of Lightbend's HOCON (Human-Optimized Object Configuration Notation)
C#
128
star
3

Alpakka

Akka Streams Connectors - Alpakka
C#
108
star
4

Akka.Streams.Kafka

Kafka Akka.Streams connectors - part of the Alpakka project
C#
65
star
5

Akka.Persistence.SqlServer

Akka.Persistence.SqlServer provider
C#
59
star
6

Akka.Quartz.Actor

Quartz scheduling actor
C#
54
star
7

getakka.net

Trying out Assemble.io for site generation
JavaScript
43
star
8

Akka.Hosting

Akka.Hosting - standardized Akka.NET hosting without any HOCON configuration. Ties into Microsoft.Extensions.Configuration, Logging, Hosting, and DependencyInjection.
C#
43
star
9

Akka.Persistence.PostgreSql

Akka.Persistence.PostgreSql provider
C#
33
star
10

Akka.Persistence.Redis

Redis storage for Akka.NET Persistence
C#
29
star
11

Akka.Persistence.MongoDB

MongoDB support for Akka.Persistence
C#
29
star
12

Akka.Persistence.Cassandra

Akka.Persistence.Cassandra plugin
C#
23
star
13

Akka.Management

Akka.NET cluster management, bootstrapping, and more.
C#
22
star
14

Akka.Logger.Serilog

Akka.NET logging integration for Serilog library
C#
20
star
15

Akka.DI.AutoFac

Akka.NET integration plugin for AutoFac dependency injection library
PowerShell
13
star
16

akkadotnet-templates

Production-ready dotnet new templates for Akka.NET.
C#
13
star
17

Akka.Serialization.MessagePack

Akka.NET serialization with MessagePack
C#
11
star
18

Akka.Logger.NLog

Akka.NET logging integration for NLog library
F#
8
star
19

Akka.Persistence.MySql

MySQL implementation for Akka.Persistence
C#
8
star
20

dockerfiles

Dockerfile templates used in Akka.NET Continuous Integration
6
star
21

Akka.MultiNodeTestRunner

Infrastructure for facilitating multi-node testing in Akka.NET
C#
6
star
22

akka.net-integration-tests

Nightly integration tests using the latest dev builds of Akka.NET
C#
6
star
23

Akka.Persistence.Sql

Linq2Db implementation of Akka.Persistence.Sql. Common implementation for SQL Server, Sqlite, Postgres, Oracle, and MySql.
C#
6
star
24

generator-akkadotnet

yo for akka.net projects
JavaScript
5
star
25

akka.analyzers

Roslyn analyzers for Akka.NET developers.
C#
5
star
26

Akka.TestKit.NUnit

Akka.NET TestKit integration plugin for NUnit
C#
4
star
27

Akka.Hosting.Maui

MAUI support for Akka.Hosting
C#
2
star
28

.github

Akka.NET Community Defaults
2
star
29

akkadotnet.github.com

akka.net website
JavaScript
1
star
30

Akka.TestKit.MSTest

Akka.NET TestKit integration plugin for MSTest
C#
1
star
31

Media

Media resources related to Akka.NET; Logos, illustrations etc
1
star
32

Akka.Serialization.Compressed

Akka serialization plugin that supports compression
C#
1
star