知识卡片
逐层扩容会迁移瓶颈
传统网页请求依次经过 Web、应用和数据库层。高并发时只扩 Web 层,压力会转移到应用层;再扩应用层,数据库又可能成为共同瓶颈。因而各层扩容能力不对称,入口实例数增长不能证明整条事务链吞吐同比增长。空间架构正是针对这种同步中心数据库约束提出;实际瓶颈位置仍需以目标系统负载测量。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Space-Based Architecture Style · 查看原书依据
scaling out the web-server layer just moves the bottleneck down to the application server. Scaling application servers can be more complex and expensive than scaling web servers, and doing so usually just moves the bottleneck down to the database server
参考来源
- 位置:《Fundamentals of Software Architecture》原书第16章《Space-Based Architecture Style》(阅读计划第19项,单元01;源文件:`OEBPS/ch16.html`)
- 结论依据:原书按 Web、应用、数据库三层描述扩容后瓶颈下移。
- 原始内容:scaling out the web-server layer just moves the bottleneck down to the application server. Scaling application servers can be more complex and expensive than scaling web servers, and doing so usually just moves the bottleneck down to the database server