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

Anatomy of a microservice

One of the biggest challenges in using a microservice architecture is deciding how to break an existing, complex monolithic system into several services. A microservice architecture structures a complex system into more manageable, separate services, each of which focuses on a specific part of your business goal.

As we know, managing complex monolithic applications is much harder than managing a small service, for developers as well as Quality Assurance (QA) teams. A potential method of reducing the complexity of a monolithic application is by using a distributed application development approach, which refers to the decomposition of a monolithic application into several smaller microservices. It is important to consider how microservices can be made to achieve the same business goal as the original monolithic application. Microservices provide a perfect modularity due to their independent design, development, deployment, and maintenance. Let’s look at the following monolithic application diagram:

As you can see, the application is packaged as a single WAR or EAR file. All the services related to this application run in the single-server process. It uses the central database and is based on a centralized services approach.

Let’s move on to looking at how to decompose this application into microservices. One of the challenges of decomposing a monolithic application is deciding into which modules it should be divided. This depends on your business application and how many modules you want to create. 

主站蜘蛛池模板: 灌南县| 会同县| 卓尼县| 图们市| 望奎县| 青冈县| 长阳| 临洮县| 银川市| 板桥市| 眉山市| 沂水县| 屏东市| 鄄城县| 满洲里市| 盐边县| 九江市| 道真| 新化县| 冕宁县| 滨海县| 广东省| 紫阳县| 鄂伦春自治旗| 达尔| 陵川县| 沙洋县| 安仁县| 宜昌市| 祁东县| 长顺县| 阿克陶县| 芦溪县| 蓝山县| 株洲市| 衡阳县| 新津县| 五家渠市| 尉犁县| 灵石县| 城市|