TC.Tier.Products
1.0.0-alpha.8
This is a prerelease version of TC.Tier.Products.
dotnet add package TC.Tier.Products --version 1.0.0-alpha.8
NuGet\Install-Package TC.Tier.Products -Version 1.0.0-alpha.8
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="TC.Tier.Products" Version="1.0.0-alpha.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TC.Tier.Products" Version="1.0.0-alpha.8" />
<PackageReference Include="TC.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 TC.Tier.Products --version 1.0.0-alpha.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TC.Tier.Products, 1.0.0-alpha.8"
#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 TC.Tier.Products@1.0.0-alpha.8
#: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=TC.Tier.Products&version=1.0.0-alpha.8&prerelease
#tool nuget:?package=TC.Tier.Products&version=1.0.0-alpha.8&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TC.Tier.Products
TC.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 TC.Tier.Core.IO;
using TC.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 的快速上手见各自使用文档(下方链接)。
依赖
- TC.Tier.Runtime(结构积木:Ring/索引/EntryLog/Session)
- TC.Tier.Core(介质原语/执行/可观测)
- TC.Tier.CodeGen(源生成器,编译期横切)
文档
- 使用指南:tierkv.md · tierqueue.md · tierseries.md · tierblob.md · tierwal.md(在线:docs.mytzz.top)
- 性能基线: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
- TC.Tier.Core (>= 1.0.0-alpha.8)
- TC.Tier.Runtime (>= 1.0.0-alpha.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TC.Tier.Products:
| Package | Downloads |
|---|---|
|
TC.Tier.Products.Net
TC.Tier 官方产品网络面——TierQueue/TierKV 复制档与组路由等网络服务形态(依赖 TC.Tier.Products + TC.Tier.Core.Net 传输底座)。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.8 | 6 | 9/23/2026 |
| 1.0.0-alpha.7 | 45 | 9/21/2026 |
| 1.0.0-alpha.6 | 54 | 9/20/2026 |
| 1.0.0-alpha.5 | 48 | 9/20/2026 |
| 1.0.0-alpha.4 | 45 | 9/19/2026 |
| 1.0.0-alpha.3 | 50 | 9/18/2026 |
| 1.0.0-alpha.2 | 49 | 9/18/2026 |
| 1.0.0-alpha.1 | 52 | 9/16/2026 |