SharpTicker.Caching.StackExchangeRedis
1.7.0
See the version list below for details.
dotnet add package SharpTicker.Caching.StackExchangeRedis --version 1.7.0
NuGet\Install-Package SharpTicker.Caching.StackExchangeRedis -Version 1.7.0
<PackageReference Include="SharpTicker.Caching.StackExchangeRedis" Version="1.7.0" />
<PackageVersion Include="SharpTicker.Caching.StackExchangeRedis" Version="1.7.0" />
<PackageReference Include="SharpTicker.Caching.StackExchangeRedis" />
paket add SharpTicker.Caching.StackExchangeRedis --version 1.7.0
#r "nuget: SharpTicker.Caching.StackExchangeRedis, 1.7.0"
#:package SharpTicker.Caching.StackExchangeRedis@1.7.0
#addin nuget:?package=SharpTicker.Caching.StackExchangeRedis&version=1.7.0
#tool nuget:?package=SharpTicker.Caching.StackExchangeRedis&version=1.7.0
SharpTicker.Caching.StackExchangeRedis
A Redis store for SharpTicker, a background job scheduler for .NET, built on StackExchange.Redis. It keeps time jobs, cron jobs and their runs in Redis, and each node writes a heartbeat there so that the other nodes can release the jobs of a node that stopped.
Install
dotnet add package SharpTicker.Caching.StackExchangeRedis
Setup
using SharpTicker.Caching.StackExchangeRedis.DependencyInjection;
using SharpTicker.DependencyInjection;
builder.Services.AddSharpTicker(options =>
{
options.AddStackExchangeRedis(redis =>
{
redis.Configuration = builder.Configuration.GetConnectionString("Redis");
});
});
Set one of Configuration, ConfigurationOptions, ConnectionMultiplexer or ConnectionMultiplexerFactory; startup fails otherwise. NodeHeartbeatInterval (default 1 minute) sets how often each node writes its heartbeat.
Job store or heartbeat only
- Redis alone: Redis is the job store.
- Next to the EF Core or MongoDB store: that store keeps the jobs, and Redis carries the node heartbeat (with EF Core also a short-lived copy of the cron list).
Redis Cluster is not supported as the job store: the store reads several job records with one command, which a cluster refuses when the keys are in different hash slots. Use a standalone Redis, Sentinel or a managed primary/replica setup. Next to another store, Redis is used with single-key calls only, which a cluster serves.
Documentation
Storage guide: the Redis options and limits, the heartbeat, and the other stores.
| 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 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.0 && < 11.0.0)
- SharpTicker.Utilities (>= 1.7.0)
-
net8.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 8.0.0 && < 9.0.0)
- SharpTicker.Utilities (>= 1.7.0)
-
net9.0
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 9.0.0 && < 10.0.0)
- SharpTicker.Utilities (>= 1.7.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 |
|---|---|---|
| 1.8.0 | 55 | 11/26/2026 |
| 1.7.1 | 84 | 11/25/2026 |
| 1.7.0 | 87 | 11/24/2026 |
| 1.6.4 | 98 | 11/21/2026 |
| 1.6.3 | 95 | 11/21/2026 |
| 1.6.2 | 86 | 11/21/2026 |
| 1.5.2 | 92 | 11/15/2026 |
| 1.5.1 | 95 | 11/14/2026 |
| 1.5.0 | 97 | 11/14/2026 |
| 1.4.0 | 97 | 11/12/2026 |
| 1.3.1 | 90 | 11/12/2026 |
| 1.3.0 | 93 | 11/12/2026 |
| 1.3.0-beta.3 | 53 | 11/11/2026 |
| 1.3.0-beta.2 | 60 | 11/11/2026 |
| 1.3.0-beta.1 | 55 | 11/8/2026 |
| 1.2.3 | 98 | 11/4/2026 |