Orleans.Persistence.Rqlite 8.1.1

dotnet add package Orleans.Persistence.Rqlite --version 8.1.1
NuGet\Install-Package Orleans.Persistence.Rqlite -Version 8.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Orleans.Persistence.Rqlite" Version="8.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Orleans.Persistence.Rqlite --version 8.1.1
#r "nuget: Orleans.Persistence.Rqlite, 8.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Orleans.Persistence.Rqlite as a Cake Addin
#addin nuget:?package=Orleans.Persistence.Rqlite&version=8.1.1

// Install Orleans.Persistence.Rqlite as a Cake Tool
#tool nuget:?package=Orleans.Persistence.Rqlite&version=8.1.1

Orleans Rqlite Providers

Orleans is a framework that provides a straight-forward approach to building distributed high-scale computing applications, without the need to learn and apply complex concurrency or other scaling patterns.

Rqlite rqlite is a distributed relational database that combines the simplicity of SQLite with the robustness of a fault-tolerant, highly available cluster. It's developer-friendly, its operation is straightforward, and its design ensures reliability with minimal complexity.

Orleans.Rqlite is a package that use Rqlite as a backend for Orleans providers like Cluster Membership, Grain State storage and Reminders.

Installation

Nuget Packages are provided:

  • Orleans.Persistence.Rqlite
  • Orleans.Clustering.Rqlite

Coming soon

  • Orleans.Reminder.Rqlite
  • Authen username/password for Rqlite

Silo

IHostBuilder builder = Host.CreateDefaultBuilder(args)
    .UseOrleans(silo =>
    {
        silo.Configure<ClusterOptions>(options =>
        {
            options.ClusterId = "DEV";
            options.ServiceId = "DEV";

        });
        silo.UseRqliteClustering(option =>
        {
            option.Uri = "http://localhost:4001";
        });
        silo.UseRqliteReminder((RqliteReminderStorageOptions options) =>
        {

        });
        silo.AddRqliteGrainStorage("test", options =>
        {
            options.Uri = "http://localhost:4001";
        });
        silo.ConfigureLogging(logging => logging.AddConsole());

        silo.ConfigureEndpoints(
            siloPort: 11111,
            gatewayPort: 30001
            );

        silo.Configure<ClusterMembershipOptions>(options =>
        {
            options.EnableIndirectProbes = true;
            options.UseLivenessGossip = true;
        });
    })
    .UseConsoleLifetime();

using IHost host = builder.Build();

await host.RunAsync();

Client

var builder = WebApplication.CreateBuilder(args);
builder.Host.UseOrleansClient(client =>
{
    client.UseRqliteClustering(option =>
    {
        option.Uri = "http://localhost:4001";
    });

    client.Configure<ClusterOptions>(options =>
    {
        options.ClusterId = "DEV";
        options.ServiceId = "DEV";

    });
});

Releases 8.1.1

  • Fix bug async/await
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.1.1 68 6/17/2024
8.1.0 81 5/24/2024
8.0.1 81 5/24/2024
8.0.0 88 5/20/2024