An idiomatic .NET actor framework for in-process and clustered systems, covering messaging, streams, persistence, and remote transparent actors.
Overview
Akka.NET ports the actor model to C# and F# on the .NET runtime. Applications model logic as actors that process mailbox messages sequentially, which keeps internal actor state thread-safe without manual locking. The toolkit suits concurrency, stream processing, event-driven designs, and distributed deployments from single processes to clusters.
Extensions add stream processing (Akka.Streams), location-transparent remoting (Akka.Remote), sharded and clustered topologies (Akka.Cluster), and durable actor state with event-sourcing-friendly persistence (Akka.Persistence). Hosting integrations connect Akka to Microsoft configuration, logging, dependency injection, and generic host setup through Akka.Hosting.
The project emphasizes low-latency, high-throughput messaging, supervisor hierarchies for fault tolerance, and decentralized routing. Templates install through the dotnet CLI, and packages publish to NuGet for incremental adoption inside existing solutions.
Community resources include a bootcamp and documentation site; commercial support is available from Petabridge.
Key features
- FIFO actor message processing
- Akka.Streams for stream processing
- Remote transparent actor messaging
- Clustering and sharding support
- Event sourcing via Akka.Persistence
- Supervisor fault-tolerance trees
- Akka.Hosting Microsoft integration
- dotnet new project templates
Use cases
- Concurrent in-process services
- Live event stream processing
- CQRS projection pipelines
- Distributed fault-tolerant clusters
- High-throughput message systems