Update nexus wiki content
This commit is contained in:
46
wiki/concepts/Elasticity.md
Normal file
46
wiki/concepts/Elasticity.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: "Elasticity"
|
||||
type: concept
|
||||
tags: [sre, cloud, scalability, reliability, capacity-planning]
|
||||
last_updated: 2026-04-20
|
||||
---
|
||||
|
||||
# Elasticity
|
||||
|
||||
弹性(Elasticity)是指系统在无需人工干预的情况下,根据需求动态调整容量的能力,是云原生的核心特性之一。
|
||||
|
||||
## Definition
|
||||
真正的弹性需要**策略、测试和对瓶颈的认知**。它不仅仅是自动扩容,而是一个包含规划、执行和验证的完整体系。
|
||||
|
||||
## Core Requirements
|
||||
1. **策略(Policy)**:明确定义扩容和缩容的规则
|
||||
2. **测试(Testing)**:在非生产环境验证弹性行为
|
||||
3. **瓶颈认知(Bottleneck Awareness)**:理解系统的性能瓶颈在哪里
|
||||
|
||||
## Elasticity vs. Autoscaling
|
||||
|
||||
| Aspect | [[Autoscaling]] | Elasticity |
|
||||
|--------|-----------------|-----------|
|
||||
| 性质 | 工具/机制 | 设计原则/能力 |
|
||||
| 范围 | 单一维度(资源) | 多维度(容量、性能、成本) |
|
||||
| 前瞻性 | 被动响应 | 主动规划 |
|
||||
| 人类角色 | 可能被排除 | 必须参与 |
|
||||
|
||||
## Key Insight
|
||||
Autoscaling 是实现弹性的**工具之一**,但 Autoscaling 本身不等同于弹性。缺乏策略和测试的 Autoscaling 可能在故障期间造成更大损害。
|
||||
|
||||
## Implementation Pillars
|
||||
- **Capacity Planning**:预测需求,提前规划
|
||||
- **Cost Optimization**:在弹性和成本之间取得平衡
|
||||
- **Observability**:通过遥测数据理解系统边界
|
||||
- **Chaos Engineering**:通过实验验证系统韧性
|
||||
|
||||
## Related Concepts
|
||||
- [[Autoscaling]]
|
||||
- [[Scalability]]
|
||||
- [[Cost-Optimization]]
|
||||
- [[Observability]]
|
||||
- [[Resilience]]
|
||||
|
||||
## Source
|
||||
- SRE Weekly Issue #513 — [[sre-weekly-issue-513]]
|
||||
Reference in New Issue
Block a user