- Building Microservices with .NET Core 2.0(Second Edition)
- Gaurav Aroraa
- 183字
- 2021-07-02 20:12:52
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.
- Python 深度學(xué)習(xí)
- oreilly精品圖書:軟件開發(fā)者路線圖叢書(共8冊)
- 機器人Python青少年編程開發(fā)實例
- Scratch 3游戲與人工智能編程完全自學(xué)教程
- 區(qū)塊鏈:以太坊DApp開發(fā)實戰(zhàn)
- PLC編程及應(yīng)用實戰(zhàn)
- PHP+MySQL網(wǎng)站開發(fā)項目式教程
- C語言程序設(shè)計
- Learning JavaScript Data Structures and Algorithms
- RabbitMQ Essentials
- Android驅(qū)動開發(fā)權(quán)威指南
- Learning AWS
- Android傳感器開發(fā)與智能設(shè)備案例實戰(zhàn)
- Kubernetes源碼剖析
- 愛上C語言:C KISS