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

Microservices

Microservices architectures cropped up around the same time as containerization and portable virtualization. The general concept behind a microservice architecture is to architect a software system in such a way that large development groups have a simplistic way to update software through repeatable deployments, and upgrade only the parts that have changed. In some ways, microservices provide a basic constraint and solution to development sprawl to ensure that software components don't become monolithic. The general practice of upgrading only the parts that have changed might be to think of this as replacing the tires on a car instead of replacing the entire car every time the tires become worn.

A microservice development paradigm requires discipline from development personnel to ensure the structure and content of the microservice don't grow beyond its initially defined scope. As such, the basic components of a microservice are listed here:

  • Each microservice should have an API or externally facing mode of communication
  • Each microservice, where applicable, should have a unique database component
  • Each microservice should only be accessible through its API or externally facing mode of communication

So from what we've learned, microservices vs monolithic architectures could be summed up in the following basic diagram:

主站蜘蛛池模板: 南部县| 汉沽区| 洞头县| 射阳县| 息烽县| 乾安县| 亚东县| 盐山县| 二连浩特市| 崇义县| 双鸭山市| 洛扎县| 乌审旗| 揭西县| 梁河县| 崇礼县| 大城县| 丽江市| 彭阳县| 华容县| 周宁县| 双流县| 财经| 高安市| 许昌县| 滕州市| 游戏| 贵南县| 米脂县| 陕西省| 邛崃市| 万年县| 漠河县| 和田市| 鹿邑县| 珲春市| 巴彦淖尔市| 潜山县| 遂溪县| 财经| 商河县|