talira

Akka.NET

The actor model for .NET

open sourceApache-2.0free

Akka.NET is a .NET port of Akka, an idiomatic implementation of the actor model for building concurrent and distributed applications in C# and F#. Actors process messages one at a time, which keeps their state safe without locks. Its modules add streams (Akka.Streams), event sourcing (Akka.Persistence), transparent remote messaging (Akka.Remote), and fault-tolerant clusters with sharding (Akka.Cluster). It is a .NET Foundation project, Apache-2.0 licensed, and installed from NuGet.

Problems it solves

  • build a concurrent .NET service without locks around shared state
  • run a fault-tolerant distributed system of actors in C#
  • add event sourcing to a .NET application

Features

  • actors that process messages one at a time
  • Akka.Streams stream processing
  • Akka.Persistence event sourcing and CQRS
  • Akka.Remote location transparency
  • Akka.Cluster and Cluster.Sharding for fault-tolerant clusters

Alternatives

The same job

These do what Akka.NET does.

  1. Orleans Cross-platform framework for building robust, scalable distributed apps in .NET
  2. CAP .NET library for distributed transactions and an event bus with the outbox pattern

Compare Akka.NET with the top 3