Skip to content

Commit

Permalink
add ebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
LLiuJJ committed Mar 6, 2024
1 parent e3a0d4e commit d75a251
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ eraft 项目的是将 mit6.824 lab 大作业工业化成一个分布式存储系
### 最新的文档
如果你想查看最新的文档,请访问 [eraft 官网](https://eraft.cn)

### 项目书籍

![eraftbook](doc/eraftbook.jpeg)

[官方购买链接](https://3.cn/1W-jAWMR)

### 为什么需要分布式?

首先我们看传统的单节点 C/S 或者 B/S 系统有啥缺点:
Expand Down Expand Up @@ -87,10 +93,6 @@ eraft 中使用了 hash 分片的方法,我们将数据通过哈希算法映

### 集群架构

![集群架构](docs/imgs/eraftdb_arch.png)

首先我们先介绍下架构介绍

#### 概念介绍

##### bucket
Expand All @@ -116,7 +118,7 @@ eraft 中使用了 hash 分片的方法,我们将数据通过哈希算法映
构建依赖

```
go version >= go1.17.6
go version >= go 1.21
```

编译
Expand Down
11 changes: 7 additions & 4 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ The eraft t project is to industrialize the mit6.824 lab operation into a distri

If you want to check the latest documents, please visit [eraft official website](https://eraft.cn)

### Ebook for this project

![eraftbook](doc/eraftbook.jpeg)


### Why we need build a distributed system?

First, let's look at the shortcomings of traditional single-node C/S or B/S systems:
Expand Down Expand Up @@ -69,8 +74,6 @@ The hash sharding method is used in eraft. We map data into buckets through a ha

### System Architecture

![System Architecture](docs/imgs/eraftdb_arch.png)

#### Concept introduction

##### bucket
Expand All @@ -96,7 +99,7 @@ It is mainly responsible for cluster data storage. Generally, three machines for

pre-dependencies

go version >= go1.17.6
go version >= go 1.21

download code and make it

Expand All @@ -105,7 +108,7 @@ git clone https://github.com/eraft-io/eraft.git
cd eraft
make
``
```

run basic cluster
```
Expand Down
Binary file added doc/eraftbook.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d75a251

Please sign in to comment.