talira

Cross-platform framework for building robust, scalable distributed apps in .NET

open sourceMITfree

Orleans is Microsoft's open source .NET framework for building distributed apps and cloud services, often called "Distributed .NET". Created at Microsoft Research, it introduced the virtual actor model: your code is grains, objects with a stable identity, behaviour and state, which the runtime activates on demand, places across a cluster of servers (silos), keeps in memory and recovers after failures. It has grain persistence to any store, distributed ACID transactions, durable reminders, streams, interface versioning, a built-in dashboard, and runs anywhere .NET does, including Kubernetes and Azure Container Apps.

Problems it solves

  • build a stateful cloud service in C# that scales across many servers without writing my own clustering
  • keep per-user or per-device state in memory across a cluster and recover it after a server fails
  • the actor model for .NET without managing actor lifecycles myself

Features

  • virtual actors (grains) activated and placed across a cluster automatically
  • grain state persisted to any storage system
  • distributed ACID transactions across grains
  • durable reminders and timers
  • elastic scaling with fault tolerance
  • built-in dashboard for clusters, grains and silos

Alternatives

The same job

These do what Orleans does.

  1. Akka.NET The actor model for .NET
  2. Akka Actor-model libraries for concurrent, distributed and resilient JVM systems

Compare Orleans with the top 3