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

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:

主站蜘蛛池模板: 兴山县| 哈巴河县| 班玛县| 周至县| 云林县| 穆棱市| 巴彦县| 南康市| 雅安市| 乐昌市| 赤壁市| 儋州市| 梁平县| 元谋县| 潮安县| 凭祥市| 吴旗县| 西安市| 绥江县| 烟台市| 高要市| 勐海县| 十堰市| 博白县| 隆德县| 合肥市| 凌云县| 资阳市| 绥阳县| 中阳县| 南城县| 廉江市| 大足县| 桐梓县| 房山区| 洞头县| 怀宁县| 台南县| 长寿区| 湄潭县| 凤庆县|