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

  • 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.

主站蜘蛛池模板: 罗平县| 徐州市| 民勤县| 青阳县| 安化县| 加查县| 尚志市| 介休市| 天水市| 湖南省| 繁昌县| 贵港市| 大石桥市| 武清区| 柯坪县| 吉首市| 齐河县| 九寨沟县| 依兰县| 南昌市| 会理县| 益阳市| 峨山| 武强县| 永济市| 杭锦后旗| 舒城县| 平邑县| 乌兰浩特市| 九龙城区| 玉屏| 五河县| 肃北| 佛山市| 建始县| 莒南县| 依安县| 金塔县| 内江市| 慈溪市| 错那县|