TGViewer
codedump的电报频道 codedump的电报频道 @codedump_notes · 5.5K subscribers
Post #59 1.03K
#Raft
我们新开的Rust版本raft实现的坑,基于开源的async-raft做了很多优化、修改。

raft的Rust版本实现,之前已经有tikv的仿etcd实现了,对比起来:etcd版本是个完全同步的流程,使用者和raft层通过Ready结构体进行交互,使用者拿到Ready数据之后,再自己做网络、存储等操作;async-raft集成了tokio,是一个全异步的实现,需要用户使用时提供的网络、存储trait实现。

@drdrxp 为我们修改的版本,大体写了几个待优化的技术点,见:
https://www.douban.com/people/2135060/status/3711825327/?_i=1262986DTua3Gc

https://github.com/datafuselabs/openraft
GitHub GitHub - databendlabs/openraft: rust raft with improvements rust raft with improvements. Contribute to databendlabs/openraft development by creating an account on GitHub.
More from @codedump_notes
  1. Oct 3, 2026#数据库 使用Rust重写sqlite的公司turso,被superbase收购了:《Turso is joining Supabase to give every agent i…
  2. Sep 27, 2026#系统编程 讲解Go语言并发主题的小书:《Go concurrency distilled》
  3. Sep 22, 2026#开源软件 开源本来承载的主要任务之一就是赢得信任,智谱这一把开源不但没有赢取信任,反而让更多人感到了疑问,比如我。
  4. Sep 22, 2026#开源项目 #Rust #数据库 hawdb:Rust编写的嵌入式图数据库,用于Nowledge产品中管理本地图数据。
  5. Sep 21, 2026#Rust #人工智能 最近看了好几个Rust相关的新闻,比如: * Rust在微软内部升级为一级语言:《Guest Post: Rust Is Tier-1 Language a…
  6. Sep 19, 2026#人工智能 这个翻译可以说是 信达雅 了。
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →