What is the purpose of asynchronous JAX-RS

后端 未结 3 882
感动是毒
感动是毒 2021-01-31 22:12

I\'m reading \"RESTful Java with JAX-RS 2.0\" book. I\'m completely confused with asynchronous JAX-RS, so I ask all questions in one. The book writes asynchronous server like th

3条回答
  •  囚心锁ツ
    2021-01-31 22:28

    The throughput of the service improves if different thread pools manage request I/O and request processing. Freeing up the request-I/O thread managed by the container allows it to receive the next request, prepare it for processing and feed into the request-processing-thread-pool when a request-processing-thread has been released.

提交回复
热议问题