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

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.

主站蜘蛛池模板: 岑巩县| 溆浦县| 泰顺县| 临夏市| 巴马| 汕尾市| 定州市| 土默特右旗| 钟祥市| 永川市| 名山县| 永善县| 新野县| 克什克腾旗| 怀安县| 天全县| 东辽县| 桑植县| 邹城市| 安康市| 武宣县| 城市| 巫溪县| 隆德县| 确山县| 甘南县| 湖南省| 扎鲁特旗| 十堰市| 孟连| 启东市| 安多县| 广丰县| 施甸县| 清远市| 内乡县| 德庆县| 卓资县| 苏州市| 东山县| 贡觉县|