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

E2E Testing Basket and Ordering Microservices Sync & Async Invocations

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

Contents


More Related Answers

  • Building Microservices with AWS Lambda for Synchronous Api-Driven Event Sources
  • Developing Ordering Microservice Consume CheckoutBasket Event from AWS EventBridge Async Invocation with AWS SDK
  • Developing Ordering Microservice Sync Invocation
  • Developing Ordering Microservice Sync Invocation from Api Gateway with AWS SDK
  • E2E Testing Basket and Ordering Microservice
  • Testing Ordering Microservice Api Gateway Sync Flow
  • E2E Testing Basket and Ordering Microservices Event Source Mapping Polling Invocations

  • E2E Testing Basket and Ordering Microservices Sync & Async Invocations

    0

    Synchronous

    A synchronous microservice is one in which data moves to and from an endpoint of a service in a blocking interaction. A typical example of a synchronous data exchange is an HTTP request/response interaction, seen in Figure 1 below. When a request is made to an endpoint under HTTP, the caller is locked in the interaction until a response is received.


    The caller might receive the response in a mere millisecond or in a few seconds. Regardless of the application latency, the caller cannot move forward to the next task until the response is received. REST is a good example of a synchronous microservice.

    Asynchronous

    An asynchronous microservice is one in which a request to a service and the subsequent response occur independently from each other. The general practice for implementing an asynchronous microservice is to use a message broker technology, such as Kafka or RabbitMQ, to act as a go-between for services, as seen in Figure 2 below. One service will publish a message to another service using the message broker.

    https://www.theserverside.com/answer/Synchronous-vs-asynchronous-microservices-communication-patterns

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 13 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.