ModularityKit.Mutator.Governance.Redis
1.7.0
dotnet add package ModularityKit.Mutator.Governance.Redis --version 1.7.0
NuGet\Install-Package ModularityKit.Mutator.Governance.Redis -Version 1.7.0
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="ModularityKit.Mutator.Governance.Redis" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ModularityKit.Mutator.Governance.Redis" Version="1.7.0" />
<PackageReference Include="ModularityKit.Mutator.Governance.Redis" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ModularityKit.Mutator.Governance.Redis --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ModularityKit.Mutator.Governance.Redis, 1.7.0"
#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.
#:package ModularityKit.Mutator.Governance.Redis@1.7.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ModularityKit.Mutator.Governance.Redis&version=1.7.0
#tool nuget:?package=ModularityKit.Mutator.Governance.Redis&version=1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
See the generated provider root at obj/api/redis/ModularityKit.Mutator.Governance.Redis.html for the public API surface and type tree.
Package structure
Configurationfor provider optionsDependencyInjectionfor service registrationKeysfor Redis key conventionsStoragefor the public store facadeStorage/Candidatesfor Redis index candidate selectionStorage/Candidates/Modelsfor candidate plan modelsStorage/Candidates/Planningfor candidate plan constructionStorage/Candidates/Executionfor candidate plan executionStorage/Documentsfor request document loadingStorage/Documents/Keysfor Redis document key creationStorage/Documents/Payloadsfor bulk payload readsStorage/Documents/Materializationfor request document deserialization and orderingStorage/Documents/Readingfor document read orchestrationStorage/Identifiersfor Redis set and id readsStorage/Identifiers/Modelsfor identifier set operation modelsStorage/Identifiers/Loadingfor Redis id set loading and normalizationStorage/Persistencefor write-side request persistenceStorage/Persistence/Modelsfor persistence record modelsStorage/Persistence/Readingfor single request persistence readsStorage/Persistence/Writingfor write transactions, payload creation, and index maintenanceStorage/Queriesfor query orchestration and result materializationStorage/Queries/Readingfor request query orchestrationStorage/Queries/Materializationfor query result shapingSerializationfor request payload handlingSerialization/Convertersfor custom JSON converters
Usage
using Microsoft.Extensions.DependencyInjection;
using ModularityKit.Mutator.Governance.Redis;
using StackExchange.Redis;
var services = new ServiceCollection();
var multiplexer = await ConnectionMultiplexer.ConnectAsync("localhost:6379");
services.AddRedisGovernanceStore(
multiplexer,
options => options.KeyPrefix = "modularitykit:governance");
Current query strategy
The provider uses Redis indexes first and then applies the storage-agnostic governance query evaluator in memory for the final filter pass.
Today this means:
- point reads and optimistic concurrency stay fully Redis-backed
- common queue views are narrowed by Redis set membership
- broad ad hoc filters still finish in memory after candidate selection
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
- Microsoft.Extensions.Options (>= 10.0.0)
- ModularityKit.Mutator.Governance (>= 1.7.0)
- StackExchange.Redis (>= 2.10.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.