- Microservices with Azure
- Namit Tanasseri Rahul Rai
- 276字
- 2021-07-02 22:18:22
The Microservices solution
Unlike SOA, which promotes cohesion of services, Microservices promote the principle of isolation of services. Each Microservice should have minimal interaction with other Microservices that are part of the system. This gives the advantage of independent scale and deployment to the Microservices.
Let's redraw the architecture of the car rental company using the Microservices architecture principle:

In the revised architecture, we have created a Microservice corresponding to each domain of the original system. This architecture does away with the integration and orchestration component. Unlike SOA, which requires all services to be connected to an ESB, Microservices can communicate with each other through simple message passing. We will soon look at how Microservices can communicate.
Also, note that we have used the principles of Domain-Driven Design (DDD), which is the principle that should be used for designing a Microservices-based system. A Microservice should never spawn across domains. However, each domain can have multiple Microservices. Microservices avoid communicating with each other and for the most part use the user interface for communication.
In the revised setup, each team can develop and manage a Microservice. Rather than distributing teams around technologies and creating multiple channels of communication, this distribution can increase agility. For instance, adding a new form of payment requires making a change in the payment Microservice and therefore requires communication with only a single team.
Isolation between services makes adoption of Continuous Delivery much simpler. This allows you to safely deploy applications and roll out changes and revert deployments in case of failures.
Since services can be individually versioned and deployed, significant savings are attained in the deployment and testing of Microservices.
- HTML5移動(dòng)Web開發(fā)技術(shù)
- Python快樂編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- Learning PostgreSQL
- 潮流:UI設(shè)計(jì)必修課
- C和C++安全編碼(原書第2版)
- Quarkus實(shí)踐指南:構(gòu)建新一代的Kubernetes原生Java微服務(wù)
- Linux操作系統(tǒng)基礎(chǔ)案例教程
- Java:High-Performance Apps with Java 9
- Solr Cookbook(Third Edition)
- Swift 4從零到精通iOS開發(fā)
- 大學(xué)計(jì)算機(jī)基礎(chǔ)實(shí)驗(yàn)指導(dǎo)
- Microsoft HoloLens By Example
- Node.js實(shí)戰(zhàn):分布式系統(tǒng)中的后端服務(wù)開發(fā)
- Laravel Design Patterns and Best Practices
- 軟件測試(慕課版)