database 水平缩放和垂直缩放是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5401992/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does scale horizontally and scale vertically mean?
提问by satish
In a three layer architecture with the database on the fourth, what does scaling horizontallyand scaling verticallymean?
在一个三层架构,在第四数据库,是什么scaling horizontally和scaling vertically意味着什么呢?
回答by edmz
回答by BigSack
Vertical Scaling
垂直缩放
Vertical scaling, or improving the capabilities of a node/server, gives greater capacity to the node but does not decrease the overall load on existing members of the cluster. That is, the ability for the improved node to handle existing load is increased, but the load itself is unchanged. Reasons to scale vertically include increasing IOPS, increasing CPU/RAM capacity, and increasing disk capacity.
垂直扩展或改进节点/服务器的功能,可为节点提供更大的容量,但不会降低集群现有成员的整体负载。即改进后的节点处理现有负载的能力增加,但负载本身不变。垂直扩展的原因包括增加 IOPS、增加 CPU/RAM 容量和增加磁盘容量。
Horizontal Scaling
水平缩放
Horizontal scaling, or increasing the number of nodes in the cluster, reduces the responsibilities of each member node by spreading the keyspace wider and providing additional endpoints for client connections. That is, the capacity of each individual node does not change, but its load is decreased. Reasons to scale horizontally include increasing I/O concurrency, reducing the load on existing nodes, and increasing disk capacity.
水平扩展或增加集群中的节点数量,通过扩展密钥空间并为客户端连接提供额外的端点来减少每个成员节点的责任。也就是说,每个单独节点的容量不会改变,但其负载会降低。水平扩展的原因包括增加 I/O 并发性、减少现有节点上的负载以及增加磁盘容量。

