SkillAgentSearch skills...

Dss

Distributed Systems in Rust, including Raft and Percolator implement

Install / Use

/learn @czccc/Dss
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Distributed Systems in Rust

This project is followed with Talent Plan from PingCAP University. Origin README can find here

Project Workspaces

Feature

  • similar with MIT 6.824 but rewrite all test code in Rust by Talent Plan
  • writen with pure Rust and ProtoBuf protocol
  • use prost to parse ProtoBuf message
  • use log and env_logger as log format
  • largely use futures and tokio to achieve asynchrony

Progress:

  • Raft (lab 2)
    • [X] 2A: leader election and heartbeat
    • [X] 2B: log entry and append entries
    • [X] 2C: persist and unliable network
    • [X] All tests passed
  • KvRaft (lab 3)
    • [X] 3A: server/client query
    • [X] 3B: log compaction and install snapshot
    • [X] All tests passed
  • Percolator
    • [X] Server: TimestampOracle
    • [X] Server: KvTable and MemoryStorage
    • [X] Server: Get, Prewrite, Commit
    • [X] Client: Set, Get, Commit
    • [X] All tests passed

TODO

  • Raft and KvRaft
    • [ ] add more comment
    • [ ] prune some condition to make program clear
  • Percolator
    • [ ] improve 2PC logic
    • [ ] improve lock conflict and back-off/roll-forward
View on GitHub
GitHub Stars22
CategoryDevelopment
Updated10mo ago
Forks4

Languages

Rust

Security Score

72/100

Audited on May 13, 2025

No findings