- Microservices with Clojure
- Anuj Kumar
- 142字
- 2021-06-30 19:24:31
Messaging and contracts
In monolithic applications, messaging between components is mostly achieved using function calls, whereas for microservices, it is achieved using lightweight messaging systems, often HTTP(S). Using a lightweight messaging system is one of the most promising features of microservices and makes it easier to adopt and scale, as compared to service-oriented architecture (SOA) that uses a complex messaging system with multiple protocols. Microservices are more about keeping the endpoints smart and the communication channels as simple as possible.
In a microservices architecture, often multiple microservices need to interact with each other to achieve a particular task. These interactions can be either direct, via request-response-based (https://en.wikipedia.org/wiki/Request-response) communication, or through a lightweight message-oriented middleware (MOM) (https://en.wikipedia.org/wiki/Message-oriented_middleware). Direct messaging is synchronous, that is, the requester waits for the response to be returned, whereas a message-oriented middleware is primarily used for asynchronous communication.
- 通信網(wǎng)絡(luò)基礎(chǔ)與設(shè)備
- Aptana Studio Beginner's Guide
- 自動駕駛網(wǎng)絡(luò):自智時代的網(wǎng)絡(luò)架構(gòu)
- NB-IoT物聯(lián)網(wǎng)技術(shù)解析與案例詳解
- Socket.IO Real-time Web Application Development
- WordPress Web Application Development
- Learning Windows 8 Game Development
- 物聯(lián)網(wǎng)工程概論
- Microsoft Power Platform Enterprise Architecture
- TCP/IP基礎(chǔ)(第2版)
- 計算機(jī)網(wǎng)絡(luò)技術(shù)
- Professional Scala
- Cisco無線局域網(wǎng)配置基礎(chǔ)
- Hands-On Reactive Programming in Spring 5
- Migrating to Drupal7