分布式KV
分布式KV
简历描述
分布式 Key-Value 存储系统 - Golang
基于 Raft 协议实现多节点自动选主与故障恢复,Leader 选举平均耗时 <
200ms,故障恢复时间 < 1s(3 节点集群)
通过 ReadIndex 机制优化线性化读,降低 P99 延迟从 50ms → 15ms。
持久化层集成 PebbleDB,支持高吞吐写入与压缩优化。引入 Redis
热点缓存,降低高频访问数据的尾延迟。
定期快照压缩(默认每10000条),减少日志回放开销与存储占用。
原生支持 Kubernetes,通过 StatefulSet + Headless Service
实现节点动态注册与服务发现。
支持分区路由 与 Region 分裂
(阈值64MB),实现水平扩展与负载均衡。
参考
TiKV
Storage
TiKV
架构
Partitioned
Raft KV 原理解析
TiKV RocksDB
Raft in TiKV diagram
TiKV Storage diagram
问题
基于 Raft 协议实现多节点自动选主与故障恢复,Le ...
CodeTop
近期未完成题目
300 - 最长递增子序列 (贪心 + 二分)
215 - 数组中的第K个最大元素 (快速选择)
Topic Guided Multi-faceted Semantic Disentanglement for CTR Prediction
🧠 Introduction
Click-through rate (CTR) prediction is vital in online advertising
and recommendation systems. With Pretrained Language Models (PLMs),
text-rich user/item features are now integrated into CTR models to
enhance semantic understanding. However, most models aggregate all
textual data into a single embedding, leading to entangled
representations that weaken fine-grained feature
interactions.
To overcome this, we propose a new framework: MSD-CTR
(Multi-faceted Semantic Disentanglement ...
Golang
Golang 面试题
1. Golang的GMP模型
2. Golang的协程和线程的区别








