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

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 considering here. First, it should be simple enough to implement, without adding any complexity to your system. Second, 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.

主站蜘蛛池模板: 伊宁县| 定结县| 阆中市| 句容市| 黔南| 左云县| 嘉禾县| 沽源县| 和林格尔县| 鹿泉市| 定襄县| 鸡东县| 都昌县| 安阳县| 咸丰县| 原阳县| 丰城市| 淳安县| 西乡县| 清水县| 年辖:市辖区| 阿巴嘎旗| 柳林县| 大名县| 福海县| 宁阳县| 岳西县| 文安县| 泾川县| 天门市| 新绛县| 赞皇县| 南川市| 平乐县| 衢州市| 遵义县| 慈溪市| 罗江县| 建昌县| 岳池县| 五家渠市|