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

Messaging in microservices

It is very important to carefully consider the choice of the messaging mechanism when dealing with the microservice architecture. If this one aspect is ignored, then it can compromise the entire purpose of designing using the microservice architecture. In monolithic applications, this is not a concern as the business functionality of the components gets invoked through function calls. On the other hand, this happens via a loosely coupled web service level messaging feature, where services are primarily based on SOAP.  In the case of the microservice messaging mechanism, it should be simple and lightweight.

There are no set rules for making a choice between various frameworks or protocols for a microservice architecture. However, there are a few points worth consideration here. Firstly, it should be simple enough to implement, without adding any complexity to your system. Secondly, it should be lightweight enough, keeping in mind the fact that the microservice architecture could heavily rely on interservice messaging. Let's move ahead and consider our choices for both synchronous and asynchronous messaging along with the different messaging formats.

主站蜘蛛池模板: 阆中市| 驻马店市| 贞丰县| 沙洋县| 仙桃市| 勐海县| 山东| 秀山| 秀山| 宜昌市| 鸡东县| 九龙城区| 古浪县| 吉水县| 迁安市| 称多县| 灵山县| 邯郸市| 蓬安县| 平阳县| 鄂托克旗| 合作市| 谷城县| 米泉市| 凤台县| 聂荣县| 永修县| 芒康县| 晋中市| 绥宁县| 灵武市| SHOW| 健康| 望都县| 锦屏县| 大厂| 鄂托克前旗| 绥阳县| 罗城| 集贤县| 双城市|