OptunaSharp.Storage.Redis
1.0.0
dotnet add package OptunaSharp.Storage.Redis --version 1.0.0
NuGet\Install-Package OptunaSharp.Storage.Redis -Version 1.0.0
<PackageReference Include="OptunaSharp.Storage.Redis" Version="1.0.0" />
<PackageVersion Include="OptunaSharp.Storage.Redis" Version="1.0.0" />
<PackageReference Include="OptunaSharp.Storage.Redis" />
paket add OptunaSharp.Storage.Redis --version 1.0.0
#r "nuget: OptunaSharp.Storage.Redis, 1.0.0"
#:package OptunaSharp.Storage.Redis@1.0.0
#addin nuget:?package=OptunaSharp.Storage.Redis&version=1.0.0
#tool nuget:?package=OptunaSharp.Storage.Redis&version=1.0.0
OptunaSharp.Storage.Redis
Shared, client-agnostic primitives for the OptunaSharp Redis journal backends — with no Redis client dependency of its own. Part of OptunaSharp (a .NET port of Optuna) and the SciSharp STACK.
What's here
RedisEndpoint+RedisUrl.Parse(url)— parse a Redis URL (redis://,rediss://TLS,unix://) exactly as redis-py 8'sRedis.from_urlparses it: user information, host, port, the path or?db=database, and the connection options (socket_timeout/socket_connect_timeout, 5 seconds by default,client_name,lib_name,protocol, and thessl_*TLS settings), with redis-py's error kinds and messages for what it rejects. Each backend builds its own client from this neutral endpoint.RedisJournalProtocol— the Redis key layout ({prefix}:log_number,{prefix}:log:{n},{prefix}:snapshot), the atomic-append Lua script, and the experimental-warning text.
Sharing these constants (rather than an implementation abstraction) is exactly what keeps the three
independent client backends byte-identical against the same Redis, and byte-compatible with Python
Optuna's JournalRedisBackend:
OptunaSharp.Storage.StackExchange.Redis— on StackExchange.Redis (the de-facto standard, MIT)OptunaSharp.Storage.NRedisStack— on NRedisStack (Redis's official client, MIT)OptunaSharp.Storage.ServiceStack.Redis— on ServiceStack.Redis (commercial license)
Reference one of those to actually use Redis storage; this package holds only the shared protocol.
License
MIT © SciSharp STACK Team.
| 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. |
-
net10.0
- OptunaSharp (>= 1.0.0)
-
net8.0
- OptunaSharp (>= 1.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on OptunaSharp.Storage.Redis:
| Package | Downloads |
|---|---|
|
OptunaSharp.Storage.ServiceStack.Redis
Redis journal-log backend for OptunaSharp on ServiceStack.Redis. ServiceStackJournalRedisBackend persists an Optuna study's operation log to a Redis server (standalone or cluster), byte-compatible with Python Optuna and the sibling StackExchange/NRedisStack backends. NOTE: ServiceStack.Redis is COMMERCIALLY licensed (its free tier is request-quota-limited) — see the package README. Part of the SciSharp STACK. |
|
|
OptunaSharp.Storage.NRedisStack
Redis journal-log backend for OptunaSharp on NRedisStack — Redis's official .NET client. NRedisStackJournalRedisBackend persists an Optuna study's operation log to a Redis server (standalone or cluster), byte-compatible with Python Optuna and the sibling StackExchange/ServiceStack backends. NRedisStack layers the Redis Stack modules on StackExchange.Redis; a journal needs only plain GET/SET/INCR/EVAL, served via the underlying IDatabase. Part of the SciSharp STACK. |
|
|
OptunaSharp.Storage.StackExchange.Redis
Redis journal-log backend for OptunaSharp on StackExchange.Redis — the de-facto-standard .NET Redis client. StackExchangeJournalRedisBackend persists an Optuna study's operation log to a Redis server (standalone or cluster), byte-compatible with Python Optuna's optuna.storages.journal.JournalRedisBackend. Part of the SciSharp STACK. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 114 | 11/8/2026 |