- Microservices with Azure
- Namit Tanasseri Rahul Rai
- 154字
- 2021-07-02 22:18:23
Synchronous communication
A simple solution for synchronous communication between services is to use REST and transfer JSON data over HTTP. REST can also help in service discovery by using Hypermedia as the Engine of Application State (HATEOAS). HATEOAS is a component of REST which models relationships between resources by using links. Once the client queries the entry point of the service, it can use the links it receives to navigate to other Microservices.
If text-based transfers are not desired, protocol buffers (Google's data interchange format) may be used to transmit data. This protocol has been implemented in several languages to increase its adoption, for example, Ruby protobuf.
A protocol that can be used to transmit structured data across a network is Simple Object Access Protocol (SOAP). It can be used to make calls to different Microservices using various transport mechanisms such as JMS, TCP, or UDP. SOAP is language-neutral and highly extensible.
- Java EE 6 企業(yè)級(jí)應(yīng)用開(kāi)發(fā)教程
- Game Programming Using Qt Beginner's Guide
- OpenCV for Secret Agents
- 實(shí)戰(zhàn)低代碼
- 精通Python自然語(yǔ)言處理
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- Python數(shù)據(jù)可視化之Matplotlib與Pyecharts實(shí)戰(zhàn)
- Learning ArcGIS for Desktop
- Statistical Application Development with R and Python(Second Edition)
- JavaScript腳本特效編程給力起飛
- SwiftUI極簡(jiǎn)開(kāi)發(fā)
- Python Digital Forensics Cookbook
- Java EE 8 and Angular
- Mastering Unreal Engine 4.X
- 體驗(yàn)之道:從需求到實(shí)踐的用戶體驗(yàn)實(shí)戰(zhàn)