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

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.

主站蜘蛛池模板: 沂南县| 堆龙德庆县| 思茅市| 甘洛县| 高邮市| 崇礼县| 忻城县| 静海县| 岗巴县| 贵溪市| 新丰县| 尚志市| 宁都县| 互助| 开化县| 永兴县| 当阳市| 苍梧县| 达州市| 澎湖县| 库车县| 小金县| 云霄县| 綦江县| 永福县| 资溪县| 张家港市| 惠安县| 延安市| 张家口市| 景洪市| 舟山市| 聊城市| 赞皇县| 新安县| 三河市| 民丰县| 蕉岭县| 岳阳县| 勐海县| 偏关县|