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

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.

主站蜘蛛池模板: 娄烦县| 贡觉县| 长海县| 仪征市| 西畴县| 正宁县| 治县。| 左贡县| 广元市| 荣昌县| 鱼台县| 永平县| 云梦县| 玛沁县| 宁国市| 思南县| 桃园县| 乐清市| 大厂| 碌曲县| 定州市| 思南县| 故城县| 永吉县| 吴桥县| 夏邑县| 天祝| 米易县| 桐庐县| 离岛区| 方城县| 吉林市| 普格县| 瓦房店市| 罗江县| 澜沧| 鲁甸县| 阿鲁科尔沁旗| 丰顺县| 银川市| 谢通门县|