dotnet add package Akka.Cluster.Sharding --version 1.5.14
NuGet\Install-Package Akka.Cluster.Sharding -Version 1.5.14
<PackageReference Include="Akka.Cluster.Sharding" Version="1.5.14" />
paket add Akka.Cluster.Sharding --version 1.5.14
#r "nuget: Akka.Cluster.Sharding, 1.5.14"
// Install Akka.Cluster.Sharding as a Cake Addin #addin nuget:?package=Akka.Cluster.Sharding&version=1.5.14 // Install Akka.Cluster.Sharding as a Cake Tool #tool nuget:?package=Akka.Cluster.Sharding&version=1.5.14
- Website: https://getakka.net/
- Twitter 🐦: AkkaDotNet
- Discussions 📣: Akka.NET GitHub Discussions
- Chat 💬: Akka.NET on Discord
- StackOverflow ✔️: Akka.NET on StackOverflow
Akka.NET is a .NET Foundation project.
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:
- 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.
- 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.
- Event-Driven Programming - actors make it easy to build event-driven applications, as actors' message-processing routines naturally express these types of designs.
- 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.
- Location Transparency - Akka.Remote makes it simple for actors in remote processes to transparently communicate with each other.
- 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.
- 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?
- Petabridge's Akka.NET Videos on YouTube
- ".NET Conf - When and How to Use the Actor Model An Introduction to Akka.NET Actors"
- Reactive Applications with Akka.NET
- Akka.NET Succinctly
|.NET Framework Unit Tests|
|.NET 7 Unit Tests (Windows)|
|.NET 7 Unit Tests (Linux)|
|.NET 7 MultiNode Tests (Windows)|
|.NET 7 MultiNode Tests (Linux)|
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 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
Please see Building Akka.NET.
To access nightly Akka.NET builds, please see the instructions here.
If you need help getting started with Akka.NET, there's a number of great community resources online:
- Subscribe to the Akka.NET project feed on Twitter: https://twitter.com/AkkaDotNet (@AkkaDotNet)
- Join the Akka.NET Discord: https://discord.gg/GSCfPwhbWP
- Ask Akka.NET questions on Stack Overflow: http://stackoverflow.com/questions/tagged/akka.net
If you and your company are interested in getting professional Akka.NET support, you can contact Petabridge for dedicated Akka.NET support.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Akka.Cluster.Sharding:
Akka.Cluster.Sharding Petabridge.Cmd palettes for shard management and monitoring.
Akka.Cluster and Akka.Cluster.Sharding Microsoft.Extensions.Hosting support.
F# wrapper library for Akka.NET cluster sharding module.
clustering library for akkatecture to enable distributed scenarios
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Akka.Cluster.Sharding:
a cqrs and event sourcing framework for dotnet core using akka.net
Akka.NET professional reference code samples
Akka.NET Reference Architecture - CQRS + Sharding + In-Memory Replication
Event sourcing example build on Akka.NET with persistence plugin
Akka.NET v1.5.14 is a maintenance release with several bug fixes.
[Streams: Ensure stream are closed on shutdown](https://github.com/akkadotnet/akka.net/pull/6935)
[Akka: Fix PeriodicTimer HashWheelTimerScheduler deadlock during start](https://github.com/akkadotnet/akka.net/pull/6949)
[Cluster: Old version of LeastShardAllocationStrategy is now deprecated](https://github.com/akkadotnet/akka.net/pull/6975)
[Query: Add a more descriptive ToString() values to Offset types](https://github.com/akkadotnet/akka.net/pull/6978)
Package dependency upgrades
[MNTR: Bump Akka.Multinode.TestAdapter to 1.5.13](https://github.com/akkadotnet/akka.net/pull/6926)
[Akka: Bump Polyfill to 1.28](https://github.com/akkadotnet/akka.net/pull/6936)
[Akka: Bump Google.Protobuf to 3.24.4](https://github.com/akkadotnet/akka.net/pull/6951)
[DData: Bump LightningDB to 0.16.0](https://github.com/akkadotnet/akka.net/pull/6960)
[Persistence: Bump Microsoft.Data.SQLite to 7.0.13](https://github.com/akkadotnet/akka.net/pull/6969)
If you want to see the [full set of changes made in Akka.NET v1.5.14, click here](https://github.com/akkadotnet/akka.net/milestone/96?closed=1).
| COMMITS | LOC+ | LOC- | AUTHOR |
| 11 | 25 | 21 | dependabot[bot] |
| 3 | 14 | 2 | Aaron Stannard |
| 3 | 114 | 369 | Simon Cropp |
| 2 | 36 | 31 | Gregorius Soedharmo |
| 1 | 41 | 43 | Lehonti Ramos |
| 1 | 38 | 0 | Yaroslav Paslavskiy |
| 1 | 3 | 0 | Sean Killeen |
| 1 | 227 | 25 | Drew |
| 1 | 1 | 1 | szaliszali |