Skip to content

Commit

Permalink
Refactor: raft-read-index-relaxed-order: add picture
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Nov 29, 2024
1 parent 09913cd commit 3cfe0b9
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 0 deletions.
149 changes: 149 additions & 0 deletions src/list/raft-read-index-relaxed-order/architecture.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This approach is proposed by [neog24](https://github.com/neog24)

![](architecture.drawio.svg)

在 Raft 中,**ReadIndex** 机制用于实现 Linearizable 的读操作。本文通过放宽请求的先后顺序定义,来降低读请求处理延迟.

### 标准 Raft 实现的 ReadIndex 流程
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This approach is proposed by [neog24](https://github.com/neog24)

![](architecture.drawio.svg)

In Raft, the **ReadIndex** is used to implement linearizable read operations. We can lower the latency of read requests by relaxing the ordering requirements in the standard Raft protocol.

### ReadIndex Process in Raft
Expand Down

0 comments on commit 3cfe0b9

Please sign in to comment.