Skip to main content

Cloud Native Actors: Streamstone storage for Azure Tables

Total Downloads
3.0K
3,014
Published
Jun 14, 2024
2y ago

Get Started

dotnet add package Devlooped.CloudActors.Streamstone --version 0.4.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 Kirill Osenkov MFB Technologies, Inc. Stephen Shaw Torutek DRIVE.NET, Inc. Ashley Medway Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Giorgi Dalakishvili Uno Platform Dan Siegel Reuben Swartz Jacob Foshee Eric Johnson Ix Technologies B.V. David JENNI Jonathan Oleg Kyrylchuk Charley Wu Jakob Tikjøb Andersen Seann Alexander Tino Hager Mark Seemann Ken Bonny Simon Cropp agileworks-eu sorahex Zheyu Shen Vezel ChilliCream 4OTC

Sponsor this project  

Learn more about GitHub Sponsors

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

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.