Proto.Actor for .NET is a cross-platform actor library with clustering and message-driven concurrency. Install it as a NuGet package and spawn actors from C# code.
Overview
Proto.Actor is the .NET implementation of the Proto Actor family, offering ultra-fast distributed actors alongside Go and Java/Kotlin variants. Developers define message types, implement actors that handle those messages, spawn instances, and send messages asynchronously within a .NET application.
The design favors a small API, explicit serialization with Protobuf, and building on existing infrastructure such as gRPC streams for networking and Consul for clustering rather than bespoke stacks. The .NET runtime provides a layer for actors, virtual actors, clustering, supervision, and local affinity within a broader distributed-systems product set.
The package ships as Proto.Actor on NuGet. Learning paths point to bundled examples and external docs for concepts like cluster membership gossip and event streams. Getting started covers minimal hello-world spawn and receive patterns, test coverage workflows, and design principles around performance and passing data instead of opaque object graphs.
The codebase covers the .NET runtime only; other language runtimes live in sibling projects. It targets teams building message-driven concurrent systems who want actor semantics with optional clustering extensions documented separately.
Key features
- Actor spawn and message passing
- Protobuf-oriented messaging
- Clustering via documented gossip model
- gRPC-based networking integration
- Virtual actors and supervision concepts
- Minimal public API surface
- NuGet package distribution
- Example-driven getting started
Use cases
- Concurrent services with isolated actor state
- Distributed .NET systems using actor clustering
- Message-driven domain logic in C#
- Prototyping actor patterns before production
- Learning actor models on .NET