Tyto.Caching.Backplane
0.1.0-alpha.5
dotnet add package Tyto.Caching.Backplane --version 0.1.0-alpha.5
NuGet\Install-Package Tyto.Caching.Backplane -Version 0.1.0-alpha.5
<PackageReference Include="Tyto.Caching.Backplane" Version="0.1.0-alpha.5" />
<PackageVersion Include="Tyto.Caching.Backplane" Version="0.1.0-alpha.5" />
<PackageReference Include="Tyto.Caching.Backplane" />
paket add Tyto.Caching.Backplane --version 0.1.0-alpha.5
#r "nuget: Tyto.Caching.Backplane, 0.1.0-alpha.5"
#:package Tyto.Caching.Backplane@0.1.0-alpha.5
#addin nuget:?package=Tyto.Caching.Backplane&version=0.1.0-alpha.5&prerelease
#tool nuget:?package=Tyto.Caching.Backplane&version=0.1.0-alpha.5&prerelease
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,
InvalidateAsyncthrowsCacheInvalidationException: 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
SetAsyncleft 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 | 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. |
-
net10.0
- Tyto.Backplane.Abstractions (>= 0.1.0-alpha.5)
- Tyto.Caching (>= 0.1.0-alpha.5)
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 |