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

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.

主站蜘蛛池模板: 冀州市| 讷河市| 东阿县| 崇义县| 河西区| 兴海县| 都江堰市| 古蔺县| 开化县| 罗平县| 西昌市| 台安县| 南郑县| 东平县| 科技| 永顺县| 隆林| 乳山市| 榕江县| 宣武区| 临泉县| 巧家县| 尖扎县| 崇文区| 越西县| 酒泉市| 武安市| 泊头市| 临猗县| 瑞安市| 邓州市| 富民县| 连南| 黎城县| 南皮县| 木里| 江津市| 雅江县| 云南省| 广宗县| 永安市|