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

Microservices are lightweight

Well-designed microservices are aligned to a single business capability; therefore, they perform only one function. As a result, one of the common characteristics we see in most of the implementations are microservices with smaller footprints.

When selecting supporting technologies, such as web containers, we will have to ensure that they are also lightweight so that the overall footprint remains manageable. For example, Jetty or Tomcat are better choices as application containers for microservices as compared to more complex traditional application servers, such as Weblogic or WebSphere.

Container technologies such as Docker also helps us keep the infrastructure footprint as minimal as possible compared to hypervisors such as VMware or Hyper-V.

As shown in the preceding diagram, microservices are typically deployed in Docker containers, which encapsulate the business logic and needed libraries. This helps us quickly replicate the entire setup on a new machine, a completely different hosting environment, or even move across different cloud providers. Since there is no physical infrastructure dependency, containerized microservices are easily portable.

主站蜘蛛池模板: 宜黄县| 读书| 会昌县| 长乐市| 金湖县| 苍南县| 青浦区| 新营市| 芒康县| 水城县| 京山县| 宜兴市| 林芝县| 儋州市| 鄂尔多斯市| 泊头市| 元朗区| 益阳市| 迭部县| 泽州县| 淅川县| 新宾| 开封县| 布拖县| 滦南县| 张家港市| 隆尧县| 藁城市| 鄄城县| 措勤县| 尼勒克县| 德兴市| 泰安市| 漳州市| 阳西县| 广河县| 沽源县| 神池县| 凌源市| 苏尼特左旗| 公主岭市|