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

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.

主站蜘蛛池模板: 娄烦县| 习水县| 西峡县| 中西区| 清水县| 井冈山市| 栖霞市| 岑巩县| 赞皇县| 桐柏县| 绥芬河市| 襄垣县| 齐河县| 阳江市| 兴安盟| 怀柔区| 越西县| 外汇| 牙克石市| 乐都县| 汝阳县| 右玉县| 海阳市| 合川市| 新疆| 江城| 内江市| 乌鲁木齐县| 乐陵市| 河源市| 榕江县| 安丘市| 道孚县| 屏山县| 河源市| 康马县| 正安县| 东辽县| 丹棱县| 祥云县| 象山县|