KernLab.Tier.Products
1.0.0-beta.1
This is a prerelease version of KernLab.Tier.Products.
dotnet add package KernLab.Tier.Products --version 1.0.0-beta.1
NuGet\Install-Package KernLab.Tier.Products -Version 1.0.0-beta.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KernLab.Tier.Products" Version="1.0.0-beta.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KernLab.Tier.Products" Version="1.0.0-beta.1" />
<PackageReference Include="KernLab.Tier.Products" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add KernLab.Tier.Products --version 1.0.0-beta.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KernLab.Tier.Products, 1.0.0-beta.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package KernLab.Tier.Products@1.0.0-beta.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=KernLab.Tier.Products&version=1.0.0-beta.1&prerelease
#tool nuget:?package=KernLab.Tier.Products&version=1.0.0-beta.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
KernLab.Tier.Products
KernLab.Tier 的官方存储产品组合层——把 Runtime 结构积木组合成开箱即用的数据产品:TierKv(本地持久 KV)× TierQueue(消息队列)× TierWAL(预写日志)。产品层只做装配、语义收口与组合域协调,引擎与结构零重写。
能力
- TierKv:Ring 数据唯一真源 × 主索引三族(Hash/BTree/SkipList)× 会话(三档读一致性 + 多 key 原子批)× RMW Functions × 检查点快速恢复 × 日志回收 × Watch 变更流 × 范围扫描 × TTL——
[KvStore]源生成器一行声明成封闭形态 - TierQueue:消费组(fencing/可见性超时/重试退避)× ack 即位点持久 × 死信与回放 × 延迟队列 × 幂等生产 × Session 2PC 恰好一次 × 积压治理
- TierWAL:协议中立 WAL(raft/p2p 存储中线)——批/单条追加 × 组提交三维度 × 随机起点重放(定位 O(1))× 头/尾截断 × 元数据 Opaque 槽 × 镜像快照(增量段存储 + 跨节点导出/导入)
- TierBlob:对象存储(内容句柄 = 逻辑地址)× 整对象单发写 + 流式会话(CRC64 逐帧)× 对象表点查/枚举 × 删除墓碑
- TierTimeSeries:Ring × BTree 时间序列——一次一序列 × 乱序吸收 × 范围序/最新点查 × Rollup 七算子降采样 × retention 治理 × 水位自恢复
快速开始
using KernLab.Tier.Core.IO;
using KernLab.Tier.Products.Wal;
var fs = TierFs.New("memory:"); // 生产换 local:/// 零代码改动
await using var wal = await TierWalOptions.Default
.WithWalName("raft-log")
.Builder(fs)
.StartAsync(); // 构建 + 恢复 + 就绪一步到位
var r = await wal.AppendSingleAsync(new byte[] { 1, 2 }, default);
await wal.CommitAsync(default); // 一次 fsync = 一批持久化
Console.WriteLine(r.StartIndex);
TierKv / TierQueue 的快速上手见各自使用文档(下方链接)。
依赖
- KernLab.Tier.Runtime(结构积木:Ring/索引/EntryLog/Session)
- KernLab.Tier.Core(介质原语/执行/可观测)
- KernLab.Tier.CodeGen(源生成器,编译期横切)
文档
- 使用指南:tierkv.md · tierqueue.md · tierseries.md · tierblob.md · tierwal.md · tiercollections.md(在线:docs.kernlab.dev/tier)
- 性能基线:perf/tierkv.md · perf/tierwal.md
- 组合纪律与红线:COORDINATION.md
状态
Beta——上层产品组装定型中,持久化二进制格式存在迭代变更可能,暂未发布 NuGet 包(发布面见根 README 安装节)。
| 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- KernLab.Loom.Abstractions (>= 1.0.0-rc.9)
- KernLab.Tier.Core (>= 1.0.0-beta.1)
- KernLab.Tier.Runtime (>= 1.0.0-beta.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KernLab.Tier.Products:
| Package | Downloads |
|---|---|
|
KernLab.Tier.Products.Net
KernLab.Tier 的 raft × TierWAL 官方产品节点——Core.Net 共识与 Products 存储的产品层汇合点:TierRaftNode 一个装配器成完整节点(TierWAL 持久化 + raft 共识 + 提交应用管道 + 多源快照分发/反熵 + 宿主调度)。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-beta.1 | 134 | 10/31/2026 |
| 1.0.0-alpha.17 | 84 | 10/21/2026 |
| 1.0.0-alpha.15 | 73 | 10/8/2026 |
| 1.0.0-alpha.14 | 98 | 9/30/2026 |
| 1.0.0-alpha.13 | 239 | 9/29/2026 |
| 1.0.0-alpha.12 | 222 | 9/27/2026 |
| 1.0.0-alpha.11 | 89 | 9/26/2026 |