Skip to content

Commit 65a496b

Browse files
laodouyaauxten
authored andcommitted
Add bench chart in README.md (#318)
* Add bench picture in README.md * Update README-zh.md * Update README.md * Update README-zh.md * Update README.md * Update README.md * Update README.md * Optimize performance test explaination
1 parent da3af8f commit 65a496b

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

README-zh.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ CQL 支持两种共识算法:
111111
| **开放网络上的安全性** | Y | N | Only in AWS | Y |
112112
| **共识机制** | PoW + PoS(Casper) | CFT | ? | DPoS (Eventually Consistency)<br/>BFT-Raft (Strong Consistency) |
113113

114+
强一致性,2个miner,aws c5.2xlarge 8核心cpu下的性能测试图:
115+
![CovenantSQL bench](logo/bench.png)
116+
117+
如图所见,前5个小时对数据库的并发压力逐渐增大,写入 TPS 也随之提升,当 TPS 不再增长时,维持并发压力持续测试100小时。
118+
114119
#### 注释:
115120
- <a name="bft-raft">BFT-Raft</a>: 在一个 CQL leader 离线的情况下,有两种可能的选择:等待 leader 上线,以保证数据的完整性,或者提拔 follwers 以保证服务可用性;目前是需要一定的人工介入来进行策略选择,这部分仍在迭代中,欢迎任何建议。
116121

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CovenantSQL(CQL) is a Decentralized, GDPR-compliant, Trusted, SQL database with
6565
sudo bash -c 'curl -L "https://cutt.ly/cql050linux" | tar xzv -C /usr/local/bin/ --strip-components=1'
6666
```
6767

68-
#### To continue [TestNet Quickstart](https://developers.covenantsql.io/docs/en/quickstart)
68+
#### To continue: [TestNet Quickstart](https://developers.covenantsql.io/docs/en/quickstart)
6969

7070
## How CQL works
7171

@@ -122,6 +122,13 @@ CQL database consistency mode and node count can be selected in database creatio
122122
fio --debug=io --loops=1 --size=8m --filename=../mnt/fiotest.tmp --stonewall --direct=1 --name=Seqread --bs=128k --rw=read --name=Seqwrite --bs=128k --rw=write --name=4krandread --bs=4k --rw=randread --name=4krandwrite --bs=4k --rw=randwrite
123123
```
124124

125+
## Performance
126+
127+
Strong consistency bench result (2 miners, 8 core aws c5.2xlarge):
128+
![CovenantSQL bench](logo/bench.png)
129+
130+
As seen above, the concurrency pressure on the database increased gradually in the first 5 hours, and the write TPS also increased. When the TPS no longer grows, the concurrent pressure is maintained for 100 hours.
131+
125132
## Demos
126133

127134
- [CovenantForum](https://demo.covenantsql.io/forum/)

logo/bench.png

12.2 KB
Loading

0 commit comments

Comments
 (0)