Topos.Faster
0.54.0
dotnet add package Topos.Faster --version 0.54.0
NuGet\Install-Package Topos.Faster -Version 0.54.0
<PackageReference Include="Topos.Faster" Version="0.54.0" />
<PackageVersion Include="Topos.Faster" Version="0.54.0" />
<PackageReference Include="Topos.Faster" />
paket add Topos.Faster --version 0.54.0
#r "nuget: Topos.Faster, 0.54.0"
#:package Topos.Faster@0.54.0
#addin nuget:?package=Topos.Faster&version=0.54.0
#tool nuget:?package=Topos.Faster&version=0.54.0
Topos.Faster
Provides an Microsoft FASTER-based "broker" implementation for Topos.
Configure it by going
using var producer = Configure
.Producer(c => c.UseFileSystem(@"C:\data\my-event-data"))
.(...)
.Create();
or
using var consumer = Configure
.Consumer("default-group", c => c.UseFileSystem(@"C:\data\my-event-data"))
.(...)
.Start();
Use UseAzureStorage(connectionString, containerName) instead of UseFileSystem(...) to store the log in Azure page blobs.
Health
FASTER can get into states where it no longer persists anything, but without throwing or logging anything that makes it obvious. Topos watches each log and makes these states visible:
- Problems are logged at ERROR level when detected, and again every minute while they last
- The log's progress (begin address, committed until, tail) is logged at INFO level every 5 minutes
- The current problems are available via the static
FasterLogHealthclass
Some problems are fatal: when FASTER has terminated its Azure storage device (after losing its blob lease, a storage
operation hanging for more than 90 seconds, or a non-transient storage error), the device never recovers, and FASTER
discards all writes while reporting them as successful. Topos then fails all sends with FasterLogUnhealthyException,
stops dispatching to consumers, and refuses to persist commits - but only a restart of the process makes the log usable
again. You should therefore make the process restart when a fatal problem occurs, e.g. by failing a liveness
probe:
// e.g. in an ASP.NET Core health check used for the liveness probe
return FasterLogHealth.HasFatalProblems
? HealthCheckResult.Unhealthy(string.Join("; ", FasterLogHealth.GetProblems()))
: HealthCheckResult.Healthy();
or by subscribing to FasterLogHealth.ProblemDetected and stopping the application when problem.IsFatal is true.
Non-fatal problems (FasterLogHealth.IsHealthy is false) are e.g. commits that have not made progress for 2 minutes
(Topos retries them automatically), or a consumer that cannot consume (see below). They might go away by themselves,
so they're better suited for alerting/readiness than for restarting.
Producer
Sends complete when the messages have been committed. If that does not happen within the commit timeout (default: 60 s),
the send fails with a TimeoutException. The messages may still be persisted later, so treat it like any other failed
send (retrying may result in duplicates). The timeout can be changed:
Configure.Producer(c => c.UseAzureStorage(connectionString, containerName).SetCommitTimeout(TimeSpan.FromSeconds(30)))
Consumer
At startup, the consumer validates its stored position. If the position is beyond the end of the log, or does not point to the start of a record, the consumer does not consume anything, and it reports a problem. This happens when the log has lost data at its end (e.g. it was recovered from an older commit) or has been replaced: new events are then written at addresses that have already been consumed. Correct the stored position (to a record boundary, e.g. the end of the log at startup, which is logged when the log is opened, or reset it to replay everything), and the consumer picks it up within a minute. A position before the beginning of the log (because events have been truncated) resumes from the beginning, with a warning.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. net11.0 is compatible. |
-
net10.0
- Microsoft.FASTER.Core (>= 2.6.5)
- Microsoft.FASTER.Devices.AzureStorage (>= 2.6.5)
- nito.asyncex (>= 5.1.2)
- protobuf-net (>= 3.4.40)
- Topos (>= 0.54.0)
-
net11.0
- Microsoft.FASTER.Core (>= 2.6.5)
- Microsoft.FASTER.Devices.AzureStorage (>= 2.6.5)
- nito.asyncex (>= 5.1.2)
- protobuf-net (>= 3.4.40)
- Topos (>= 0.54.0)
-
net8.0
- Microsoft.FASTER.Core (>= 2.6.5)
- Microsoft.FASTER.Devices.AzureStorage (>= 2.6.5)
- nito.asyncex (>= 5.1.2)
- protobuf-net (>= 3.4.40)
- Topos (>= 0.54.0)
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.54.0 | 60 | 11/26/2026 |
| 0.53.0 | 157 | 10/23/2026 |
| 0.52.0 | 203 | 5/19/2026 |
| 0.51.0 | 261 | 2/16/2026 |
| 0.50.0 | 1,299 | 10/19/2025 |
| 0.41.0 | 1,302 | 9/25/2025 |
| 0.40.0 | 1,282 | 9/25/2025 |
| 0.39.0 | 1,350 | 2/14/2025 |
| 0.38.0 | 1,337 | 11/22/2024 |
| 0.37.0 | 1,298 | 10/24/2024 |
| 0.36.0 | 1,267 | 10/24/2024 |
| 0.35.0 | 1,297 | 10/22/2024 |
| 0.34.0 | 1,285 | 10/22/2024 |
| 0.33.0 | 1,303 | 8/14/2024 |
| 0.32.0 | 1,327 | 7/2/2024 |
| 0.31.0 | 1,301 | 6/4/2024 |
| 0.30.0 | 1,340 | 5/13/2024 |
| 0.29.0 | 1,318 | 3/20/2024 |
| 0.28.0 | 1,364 | 12/10/2023 |
| 0.26.0 | 1,325 | 12/9/2023 |