Tyto.Caching.Backplane 0.1.0-alpha.5

This is a prerelease version of Tyto.Caching.Backplane.
dotnet add package Tyto.Caching.Backplane --version 0.1.0-alpha.5
                    
NuGet\Install-Package Tyto.Caching.Backplane -Version 0.1.0-alpha.5
                    
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="Tyto.Caching.Backplane" Version="0.1.0-alpha.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tyto.Caching.Backplane" Version="0.1.0-alpha.5" />
                    
Directory.Packages.props
<PackageReference Include="Tyto.Caching.Backplane" />
                    
Project file
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 Tyto.Caching.Backplane --version 0.1.0-alpha.5
                    
#r "nuget: Tyto.Caching.Backplane, 0.1.0-alpha.5"
                    
#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 Tyto.Caching.Backplane@0.1.0-alpha.5
                    
#: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=Tyto.Caching.Backplane&version=0.1.0-alpha.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Tyto.Caching.Backplane&version=0.1.0-alpha.5&prerelease
                    
Install as a Cake Tool

Tyto.Caching.Backplane

Tells the other processes of a deployment to drop what they hold in memory.

Every replica has its own L1. When one of them writes or invalidates a key, the others keep serving their own copy until it expires. This package publishes the key over the backplane, and every other replica removes it.

builder.AddTyto(tyto => {
    tyto.AddBackplane(backplane => backplane.UseRedis("localhost:6379"));

    tyto.AddDistributedCaching(caching => {
        caching.AddInMemoryProvider("memory");
        caching.AddRedisProvider("redis", "localhost:6379");
        caching.WithBackplane();

        caching.AddProfile<string, ProductDto>("products", profile => { });
    });
});

What is announced

  • An invalidation. If the announcement cannot be published, InvalidateAsync throws CacheInvalidationException: the other replicas still hold the entry, and the caller has to know.
  • A write. Best effort, logged if it fails: a write is not a promise that every replica sees the new value at once, and failing the write would be worse. Announcing writes at all is new — only invalidation used to publish, so a SetAsync left the other replicas on the old value.
  • A tag invalidation. Other processes stop serving entries carrying the tag at once, instead of within TagCheckInterval.

A process ignores its own messages; it has already dropped the key.

This is a service the cache calls, not a decorator wrapped around it. As a decorator it had to forward every cache method, and the one it forgot — SetAsync — is exactly the case above.

Product 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.

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
0.1.0-alpha.5 41 9/21/2026
0.1.0-alpha.4 50 9/20/2026
0.1.0-alpha.3 46 9/20/2026
0.1.0-alpha.2 48 9/20/2026
0.1.0-alpha.1 40 9/20/2026
0.0.1-alpha.106 50 9/15/2026
0.0.1-alpha.105 49 9/14/2026
0.0.1-alpha.104 55 9/10/2026
0.0.1-alpha.103 62 9/4/2026
0.0.1-alpha.102 56 9/1/2026
0.0.1-alpha.101 54 9/1/2026
0.0.1-alpha.100 73 8/24/2026
0.0.1-alpha.99 68 8/20/2026
0.0.1-alpha.98 76 8/18/2026
0.0.1-alpha.97 68 8/18/2026
0.0.1-alpha.96 72 8/18/2026