Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
phenix3443 committed May 11, 2024
1 parent e5bc203 commit 1e155b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion content/posts/greenfield/data-storage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Segment 是 Object 的基本存储单元。一个 Object 的有效载荷由一

## EC Chunk

Erasure Code (EC) is introduced to get efficient data redundancy on Greenfield. A segment is the boundary to perform erasure encoding. Some EC chunks are generated by erasure encoding one segment at a time. EC strategy is globally configured on the Greenfield blockchain. The default EC strategy is 4+2, 4 data chunks, and 2 parity chunks for one segment. The data chunk size is ¼ of the segment. As one typical segment is 16M, one typical data chunk of EC is 4M.
引入 [纠删码(EC)](https://zhuanlan.zhihu.com/p/554262696) 是为了在 Greenfield 上获得高效的数据冗余。通过对 Segment 进行编码生成 EC chunk。EC 策略在 Greenfield 区块链上进行全局配置。默认的纠删码策略是 4+2,即一个区 Segment 有 4 个数据块(data chunk)和 2 个奇偶校验块 (parity chunk)。数据块大小为 Segment 的 1/4。由于一个典型的区 Segment 为 16M,因此 EC 的一个典型数据块为 4M。

## Piece
Expand Down

0 comments on commit 1e155b9

Please sign in to comment.