Skip to main content
net8.0

Cloud Native Actors: Streamstone storage for Azure Tables

Published
Aug 7, 2023
3y ago
Total Downloads
3.0K
3,014

Install

dotnet add package Devlooped.CloudActors.Streamstone --version 0.2.0
ProductVersions
.NET
net8.0

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

Sponsors

Clarius Org C. Augusto Proiete Kirill Osenkov MFB Technologies, Inc. SandRock Andy Gocke Stephen Shaw Torutek

Sponsor this project  

Learn more about GitHub Sponsors

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.