- Hands-On Microservices:Monitoring and Testing
- Dinesh Rajput
- 242字
- 2021-06-24 18:24:29
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.
- Building E-commerce Sites with VirtueMart Cookbook
- Web Application Development with R Using Shiny
- PLC、現(xiàn)場(chǎng)總線及工業(yè)網(wǎng)絡(luò)實(shí)用技術(shù)速成
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見(jiàn):2014年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- Metasploit Penetration Testing Cookbook
- 數(shù)字調(diào)制解調(diào)技術(shù)的MATLAB與FPGA實(shí)現(xiàn):Altera/Verilog版(第2版)
- OMNeT++與網(wǎng)絡(luò)仿真
- Learning Storm
- 物聯(lián)網(wǎng)頂層設(shè)計(jì)與關(guān)鍵技術(shù)
- 異構(gòu)蜂窩網(wǎng)絡(luò)關(guān)鍵理論與技術(shù)
- 5G技術(shù)核心與增強(qiáng):從R15到R17
- 云工廠:開(kāi)啟中國(guó)制造云時(shí)代
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)
- bash網(wǎng)絡(luò)安全運(yùn)維
- 一本書(shū)讀懂移動(dòng)物聯(lián)網(wǎng)