Skip to content

Commit

Permalink
➕增加 数据系统
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Mar 1, 2021
1 parent 4753703 commit 37fc135
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
- [架构](./软件工程/架构/架构.md)
- [编程范式](./软件工程/架构/编程范式.md)
- [设计原则](./软件工程/架构/设计原则.md)
- [数据系统](./软件工程/架构/数据系统.md)
- [系统设计](./软件工程/架构/系统设计/系统设计.md)
- [分布式](./软件工程/架构/系统设计/分布式.md)
- [分布式理论](./软件工程/架构/系统设计/分布式理论.md)
Expand Down
Binary file added assets/202131141817.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions 软件工程/架构/数据系统.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 数据系统

## 基石

### 可靠性

造成错误的原因叫做故障(fault),预料并应对故障的系统特性可称为容错(fault-tolerant)。

故障(fault)不同于失效(failure),故障定义的是系统偏离正常状态,失效则是整个系统不能对用户提供服务

### 可伸缩性

可伸缩性(Scalability) 是用来描述系统应对负载增长能力的术语

负载可以用一些称为 负载参数(load parameters) 的数字来描述,如每秒请求数、读写请求比率等等。

为了描述性能,单个请求的响应参数是没有太多参考参考价值的,需要通过一个可测量的数值分布来描述:

![202131141817](/assets/202131141817.png)

为了明确大多数用户的指标,中位数是最有价值的。

为了应对负载,可以进行垂直扩展或者水平扩展。没有一种银弹可以解决所有的应对负载需求,一个良好适配应用的可扩展架构,是围绕着假设(assumption)建立的,这就是所谓负载参数。

### 可维护性

可操作性:降低运维复杂度。

简单性:通过封装降低复杂度。

可演化性:简单易懂的系统通常比复杂系统更容易修改。

0 comments on commit 37fc135

Please sign in to comment.