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

One-dimension scalability

Monolithic applications that are large when scaled, scale everything, as all the components are bundled together. For example, in the case of a restaurant table reservation application, even if you would like to scale only the table-booking service, you would scale the whole application; you cannot scale the table-booking service separately. This design does not utilize resources optimally.

In addition, this scaling is one-dimensional. Running more copies of the application provides the scale with increasing transaction volume. An operation team could adjust the number of application copies that were using a load balancer based on the load in a server farm or a cloud. Each of these copies would access the same data source, therefore increasing the memory consumption, and the resulting I/O operations make caching less effective.

Microservices architectures give the flexibility to scale only those services where scale is required and allow optimal utilization of resources. As mentioned previously, when needed, you can scale just the table-booking service without affecting any of the other components. It also allows two-dimensional scaling; here we can not only increase the transaction volume, but also the data volume using caching (platform scale). A development team can then focus on the delivery and shipping of new features, instead of worrying about the scaling issues (product scale).

Microservices could help you scale platforms, people, and product dimensions, as we have seen previously. People scaling here refers to an increase or decrease in team size depending on the microservices' specific development needs.

Microservice development using RESTful web service development provides scalability in the sense that the server-end of REST is stateless; this means that there is not much communication between servers, which makes the design horizontally scalable.

主站蜘蛛池模板: 台前县| 资兴市| 德昌县| 乐平市| 禹州市| 漳平市| 东乡族自治县| 四子王旗| 武乡县| 屯留县| 慈利县| 舒兰市| 肇源县| 尼勒克县| 拉萨市| 定州市| 八宿县| 舟山市| 宣化县| 利川市| 肃宁县| 临江市| 余庆县| 芜湖市| 简阳市| 长治市| 武夷山市| 高州市| 三穗县| 富阳市| 博罗县| 班玛县| 集安市| 库尔勒市| 大同县| 青龙| 大埔县| 雷州市| 金溪县| 安乡县| 鄢陵县|