v9.2.0
Orleans v9.2.0 includes significant new features, performance improvements, and enhanced developer experience. This release introduces native .NET CancellationToken support, new storage providers, improved placement strategies, and numerous performance optimizations.
The following is an AI-authored summary of the changes, with a full list of PRs at the bottom.
Major Features
CancellationToken Support (#9127)
Orleans now has full support for .NET's CancellationToken in grain methods, aligning with standard .NET async patterns and making it easier to handle cancellation scenarios in your grain operations.
Log-structured Grain Storage (#9450)
A new high-performance storage provider that uses a log-structured approach for improved write performance and reduced storage overhead.
ADO.NET Grain Directory (#9263)
Introduces a database-backed grain directory implementation, providing an alternative to in-memory directory storage with support for various relational databases. This enables persistent grain location information across cluster restarts and supports larger clusters with reduced memory overhead.
Memory-based Activation Shedding (#9532, #9577)
Automatic grain deactivation under memory pressure helps prevent out-of-memory conditions by intelligently shedding grain activations when memory usage is high.