testing RS coding

This commit is contained in:
Chris Lu
2019-05-15 01:02:00 -07:00
parent 017d0957c3
commit 0a36f628c6
4 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package erasure_coding
const (
DataShardsCount = 10
ParityShardsCount = 4
ErasureCodingLargeBlockSize = 1024 * 1024 * 1024 // 1GB
ErasureCodingSmallBlockSize = 1024 * 1024 // 1MB
)