Devlooped.CloudActors.Streamstone
Cloud Native Actors: Streamstone storage for Azure Tables
Install
| Product | Versions |
|---|---|
| .NET |
README
Streamstone storage provider for Orleans grain persistence, supporting Cloud Actors on Azure Table Storage.
Features
- Supports plain CLR objects as grain state
- Supports event sourced actors
- Supports automatic snapshots for faster state reading
See Streamstone for more details.
Usage
var builder = WebApplication.Create(args);
// other config, specially Orleans and Cloud Actors
// π register provider as default for all grains/actors
builder.Services.AddSingletonNamedService<IGrainStorage, StreamstoneStorage>(ProviderConstants.DEFAULT_STORAGE_PROVIDER_NAME);
// π register provider with a specific name, alternatively
builder.Services.AddSingletonNamedService<IGrainStorage, StreamstoneStorage>("streamstone");
If the storage provider is registered with a specific name, actors can then specify the name of the provider to use:
[Actor(nameof(Account), "streamstone")]
public partial class Account : IEventSourced
Open Source Maintenance Fee
To ensure the long-term sustainability of this project, users of this package who generate revenue must pay an Open Source Maintenance Fee. While the source code is freely available under the terms of the License, this package and other aspects of the project require adherence to the Maintenance Fee.
To pay the Maintenance Fee, become a Sponsor at the proper OSMF tier. A single fee covers all of Devlooped packages.
Sponsors
Changes from Previous Version
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.