Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the preferred type of communication between Microservices? Synchronous or Asynchronous?

Pragya Keshap answered on February 9, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • what is synchronous communication
  • microservices asynchronous communication
  • Microservices Async Communication Patterns
  • Microservices Communication Types - Synchronous or Asynchronous Communication
  • Microservices Synchronous Communications and Best Practices
  • Microservices Asynchronous MessageBased Communication
  • What are some potential challenges of using synchronous communication in microservices ?
  • In which situations is synchronous communication used in microservices ?
  • What are some common protocols used for synchronous request/response communication in microservices ?
  • What is a benefit of using asynchronous communication in a microservices architecture ?
  • Which of the following are types of asynchronous messaging communication ?
  • What is the preferred type of communication between Microservices?
  • Microservices Communications (Sync / Async Message-Based Communication, API Gateways)
  • What are some patterns and best practices that are commonly used with asynchronous communication in microservices ?
  • Difference between Synchronous vs Asynchronous Communication in Microservices

  • What is the preferred type of communication between Microservices? Synchronous or Asynchronous?

    0

    Synchronous communication is a blocking call in which client

    blocks itself from doing anything else, till the response comes back.

    In Asynchronous communication, client can move ahead with its

    work after making an asynchronous call. Therefore client is not

    blocked.

    In synchronous communication, a Microservice can provide instant

    response about success or failure. In real-time systems, synchronous

    service is very useful. In Asynchronous communication, a service

    has to react based on the response received in future.

    Synchronous systems are also known as request/response based.

    Asynchronous systems are event-based.

    Synchronous Microservices are not loosely coupled.

    Depending on the need and critical nature of business domain,

    Microservices can choose synchronous or asynchronous form of

    communication.

    https://learn.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/communication-in-microservice-architecture

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 09 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.