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

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.

主站蜘蛛池模板: 嘉善县| 孟津县| 常德市| 靖远县| 安康市| 罗定市| 嘉荫县| 于田县| 虎林市| 泸水县| 宜春市| 包头市| 平南县| 三明市| 洛扎县| 新平| 保德县| 肥西县| 桃江县| 马鞍山市| 南丰县| 海宁市| 兴城市| 工布江达县| 宁海县| 元江| 常德市| 金山区| 山西省| 建平县| 剑阁县| 呼玛县| 巴东县| 漳平市| 洛南县| 虎林市| 将乐县| 巩义市| 靖安县| 科尔| 黔西县|