使用Spring Boot 2进行非阻塞IO [关闭]

问题描述 投票:1回答:1

我试图围绕非阻塞io来解决来自Spring Boot 2应用程序的http请求。我的用例是这样的,我需要进行服务到服务的HTTP调用,而不需要为每个传出的HTTP调用专用线程。

如果有人能指出我正确的图书馆和/或例子,我将不胜感激?

java spring-boot nonblocking
1个回答
1
投票

这篇文章提到了一大堆选项:

https://dzone.com/articles/high-concurrency-http-clients-on-the-jvm

如果你的答案不在那里,谷歌“非阻止http请求java”。有很多选择。适合您的选项取决于您的使用案例,无需与Spring Boot有任何关系。

© www.soinside.com 2019 - 2024. All rights reserved.