Developing non-blocking synchronous REST APIs

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

Contents


More Related Answers

  • okhttp Synchronous Network Calls
  • Blocking calls are synchronous
  • Is REST always synchronous?
  • difference between asynchous and non blocking
  • Building a non blocking api mono
  • API Gateway Restful API Development with Synchronous Invocations
  • A Reactive REST Template for making non-blocking async HTTP requests
  • cases where non-blocking synchronous APIs could be favorable to use
  • Non-blocking REST APIs in the core services
  • Non-blocking REST APIs in the composite services
  • Choosing between non-blocking synchronous APIs and event-driven asynchronous services
  • Blocking vs. Non-blocking:

  • Developing non-blocking synchronous REST APIs

    0

    The composite service will make reactive, that is, non-blocking, calls in parallel to the three core services. When the composite service has received responses from all of the core services, it will create a composite response and send it back to the caller. This is illustrated in the following diagram:

    In this section, we will cover the following:

    An introduction to Project Reactor

    Non-blocking persistence using Spring Data for MongoDB

    Non-blocking REST APIs in the core services, including how to handle blocking code for the JPA-based persistence layer

    Non-blocking REST APIs in the composite service

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