- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 230字
- 2021-07-02 19:44:53
Allows substitution
Microservices are self-contained independent deployment modules, enabling us to substitute one microservice with another similar microservice.
Many large enterprises follow buy-versus-build policies for implementing software systems. A common scenario is to build most of the functions in-house and buy certain niche capabilities from specialists outside. This poses challenges in the traditional monolithic applications since these application components are highly cohesive. Attempting to plug in third-party solutions to the monolithic applications results in complex integrations. With microservices, this is not an afterthought. Architecturally, a microservice can be easily replaced by another microservice developed, either in-house or even extended by a microservice from a third party:

A pricing engine in the airline business is complex. Fares for different routes are calculated using complex mathematical formulas known as pricing logic. Airlines may choose to buy a pricing engine from the market instead of building the product in-house. In the monolithic architecture, Pricing is a function of Fares and Booking. In most cases, Pricing, Fares, and Bookings are hardwired, making it almost impossible to detach.
In a well-designed microservices system, Booking, Fares, and Pricing will be independent microservices. Replacing the Pricing microservice will have only a minimal impact on any other services, as they are all loosely coupled and independent. Today, it could be a third-party service, tomorrow, it could be easily substituted by another third-party service or another home grown service.
- VMware View Security Essentials
- OpenDaylight Cookbook
- Android開發精要
- Java程序設計與計算思維
- 人臉識別原理及算法:動態人臉識別系統研究
- Windows Forensics Cookbook
- Visual Basic程序設計
- Learning Splunk Web Framework
- Hands-On Robotics Programming with C++
- 高效使用Greenplum:入門、進階與數據中臺
- SQL Server實例教程(2008版)
- Sitecore Cookbook for Developers
- 虛擬現實:引領未來的人機交互革命
- Tkinter GUI Application Development Blueprints
- HTML5與CSS3權威指南(第2版·上冊)