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

Microservices

Microservices are a functional approach well applied to software. It tries to decompose the entire application functionally into a set of services that can be deployed and scaled independently. Each service does only one job and does it well. It has its own database, decides its own schema, and provides access to datasets and services through well-defined application programming interfaces that are better known as APIs, often paired with a user interface. APIs follow a set communication protocols, but services are free to choose their own technology stack and can be deployed on hardware of choice.

In a microservice environment, as shown in the preceding diagram, there are no layers like in monoliths; instead, each service is organized around a bounded context (https://en.wikipedia.org/wiki/Domain-driven_design#Bounded_context) that adds a business capability to the application as a whole. New capabilities in such an application are added as new services that are deployed and scaled independently. Each user request in a microservices-based application may call one or more internal microservice to retrieve data, process it, and generate the required response, as shown in the following diagram. Such software evolves faster and has low technology debt. They do not get married to a particular technology stack and can adopt a new technology faster:

主站蜘蛛池模板: 保山市| 平邑县| 区。| 昭觉县| 麻阳| 高淳县| 尚义县| 尼勒克县| 宝鸡市| 台南市| 镇安县| 凯里市| 扶绥县| 茌平县| 娱乐| 黄梅县| 西青区| 平凉市| 四会市| 余姚市| 榆社县| 肇庆市| 达尔| 新沂市| 澄城县| 慈溪市| 吴川市| 小金县| 朔州市| 新蔡县| 潞西市| 容城县| 正安县| 收藏| 和林格尔县| 册亨县| 仁寿县| 乡城县| 广州市| 郓城县| 德清县|