Akka Hosting Actor Patterns · Aaronontheweb/dotnet-skills

Build testable entity actors for local and clustered apps

Shows how to build entity actors that represent domain objects such as users or orders, running the same code in unit tests without clustering and in production with cluster sharding. Includes patterns for scheduled tasks and testable time handling.

Good for

  • Model domain entities as actors shared across tests and production
  • Route messages to entities without full cluster sharding in tests
  • Schedule recurring actor tasks with akka-reminders
Category
General

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Help me design an Order entity actor that works with GenericChildPerEntityParent in tests and cluster sharding in production.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.