SolariumDb 0.1.5
dotnet add package SolariumDb --version 0.1.5
NuGet\Install-Package SolariumDb -Version 0.1.5
<PackageReference Include="SolariumDb" Version="0.1.5" />
<PackageVersion Include="SolariumDb" Version="0.1.5" />
<PackageReference Include="SolariumDb" />
paket add SolariumDb --version 0.1.5
#r "nuget: SolariumDb, 0.1.5"
#:package SolariumDb@0.1.5
#addin nuget:?package=SolariumDb&version=0.1.5
#tool nuget:?package=SolariumDb&version=0.1.5
SolariumDb
An embedded key-value store for .NET, written in managed code, whose API and semantics follow RocksDB's: a database in one directory, column families, atomic write batches across them, range deletes, ordered iterators, flushes and compaction. It needs no native library and runs on every platform .NET 10 runs on.
Use it
dotnet add package SolariumDb
using Solarium;
using SolariumDb db = SolariumDb.Open("./data",
new DbOptions { CreateMissingColumnFamilies = true },
columnFamilies: ["metadata"]);
ColumnFamily metadata = db.GetColumnFamily("metadata");
// All or nothing, across column families; synced, so it survives a power loss once Write returns.
db.Write(new WriteBatch()
.Put("log:0001"u8, "entry"u8)
.Put("last"u8, "0001"u8, metadata),
WriteOptions.Synced);
byte[]? value = db.Get("log:0001"u8);
Every member is safe to call from any thread.
Related packages
| Package | What it is |
|---|---|
SolariumDb.IoUring |
A storage environment for Linux 6.1 or later that writes the files through io_uring. |
SolariumDb.Kommander |
SolariumWAL, a write-ahead log for the Kommander Raft library on Solarium. |
SolariumDb.Kahuna |
A Kahuna storage engine on Solarium, loaded with --extension-assembly. |
License
MIT.
| 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
- K4os.Compression.LZ4 (>= 1.3.8)
- System.IO.Hashing (>= 10.0.14)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on SolariumDb:
| Package | Downloads |
|---|---|
|
SolariumDb.Kommander
A Kommander write-ahead log (IWAL) on Solarium, an embedded key-value store for .NET with RocksDB's API. |
|
|
SolariumDb.IoUring
An io_uring storage environment for Solarium on Linux 6.1 or later, on the ioxide reactor. |
|
|
SolariumDb.Kahuna
A Kahuna storage engine on Solarium, an embedded key-value store for .NET with RocksDB's API: the persistence backend and the Raft WAL, loaded with --extension-assembly. |
GitHub repositories
This package is not used by any popular GitHub repositories.