官术网_书友最值得收藏!

Scaling

The Art of Scalability (http://theartofscalability.com/) book uses a scale cube model to describe three primary scaling patterns for an application, as shown in the following diagram. The x-axis of the cube represents horizontal scaling; that is, deploying the same instance of the application by just cloning them and front-ending by a load balancer to distribute the load evenly among the instances. This scaling pattern is quite common for handling a high number of service requests. The z-axis of the cube addresses scaling by data partitioning. In this case, each application instance deals with only a subset of data. This scaling pattern is particularly useful for applications where the persistence layer becomes a bottleneck:

The y-axis of the cube addresses scaling by splitting the application by function or service. This pattern relates directly to the microservices pattern. The face of the cube created using the xy-axis combines the best practices of scaling for microservices-based architecture. Microservices are identified by splitting an application by bounded contexts (y-axis) and scaled by cloning each instance (x-axis). For microservices, cloning is done by deploying multiple instances of a service container.

主站蜘蛛池模板: 贵阳市| 伊川县| 梧州市| 成都市| 年辖:市辖区| 彝良县| 澄城县| 阳信县| 绥化市| 南充市| 广南县| 崇文区| 定远县| 诏安县| 商城县| 郴州市| 文山县| 葵青区| 托克逊县| 阳高县| 定州市| 汽车| 新巴尔虎右旗| 韶关市| 漳州市| 横峰县| 姜堰市| 安国市| 天津市| 榆林市| 道孚县| 丽水市| 鄂伦春自治旗| 浙江省| 阳曲县| 伽师县| 乐业县| 安达市| 琼中| 沙洋县| 中超|