OrionLock.Redis
2.0.0
dotnet add package OrionLock.Redis --version 2.0.0
NuGet\Install-Package OrionLock.Redis -Version 2.0.0
<PackageReference Include="OrionLock.Redis" Version="2.0.0" />
<PackageVersion Include="OrionLock.Redis" Version="2.0.0" />
<PackageReference Include="OrionLock.Redis" />
paket add OrionLock.Redis --version 2.0.0
#r "nuget: OrionLock.Redis, 2.0.0"
#:package OrionLock.Redis@2.0.0
#addin nuget:?package=OrionLock.Redis&version=2.0.0
#tool nuget:?package=OrionLock.Redis&version=2.0.0
OrionLock.Redis
Redis backend for OrionLock. SET NX PX acquire with owner-checked Lua compare-and-extend / compare-and-delete.
services.AddOrionLock().UseRedis("localhost:6379");
This package also ships the distributed reader-writer (shared/exclusive) lock. UseRedisSharedExclusive() registers ISharedExclusiveLock over Redis, additive to UseRedis():
services.AddOrionLock()
.UseRedis("localhost:6379")
.UseRedisSharedExclusive();
It keeps a Lua-scripted writer marker, a per-reader sorted set scored by lease expiry (so one reader's expiry never frees another's), and a lease-bounded pending-writer marker that holds off new readers so a waiting writer is not starved. All lease math uses the Redis server clock, and renew/release are fencing-token checked.
Requires the OrionLock package. See https://github.com/tunahanaliozturk/OrionLock.
| 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.DependencyInjection.Abstractions (>= 9.0.0)
- OrionLock (>= 2.0.0)
- StackExchange.Redis (>= 2.8.16)
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- OrionLock (>= 2.0.0)
- StackExchange.Redis (>= 2.8.16)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- OrionLock (>= 2.0.0)
- StackExchange.Redis (>= 2.8.16)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OrionLock.Redis:
| Package | Downloads |
|---|---|
|
OrionGuard.Locks.Redis
Redis-backed IDistributedLock for OrionGuard.EntityFrameworkCore's outbox dispatcher. Bridges OrionGuard's IDistributedLock contract to the OrionLock.Redis backend so multi-instance outbox workers can share a Redis-coordinated lease instead of the default SkipLocked DB lock. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 114 | 7/29/2026 |
| 1.0.1 | 101 | 7/27/2026 |
| 1.0.0 | 126 | 6/30/2026 |
| 0.6.0 | 108 | 6/27/2026 |
| 0.5.0 | 132 | 6/26/2026 |
| 0.4.1 | 125 | 6/20/2026 |
| 0.4.0 | 117 | 6/19/2026 |
| 0.3.32 | 145 | 6/17/2026 |
| 0.3.31 | 142 | 6/16/2026 |
| 0.3.30 | 152 | 6/16/2026 |
| 0.3.28 | 139 | 6/15/2026 |
| 0.3.27 | 154 | 6/15/2026 |
| 0.3.26 | 171 | 6/13/2026 |
| 0.3.25 | 174 | 6/13/2026 |
| 0.3.24 | 181 | 6/12/2026 |
| 0.3.23 | 189 | 6/12/2026 |
| 0.3.22 | 187 | 6/11/2026 |
| 0.3.21 | 184 | 6/11/2026 |
| 0.3.20 | 190 | 6/11/2026 |
| 0.3.19 | 188 | 6/11/2026 |