When I add log(), the entire time the request will be stuck in the log print, and the background execution will be very slow, equivalent to the whole system blocking, and each request will take more time than the last request.
When I delete this log(), the response of the entire interface returns to normal. Is this a bug or does it need to be replaced by a third party log?
As shown in figure:
Comment From: bclozel
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
Comment From: Levi-dong
感谢您与我们联系,但感觉这是一个更适合Stack Overflow的问题。正如贡献指南中所述,我们更喜欢仅将问题跟踪器用于错误和增强功能。如果您认为这是一个真正的错误,请随时使用重新发布的问题的链接更新此问题(以便其他人可以找到它)或添加更多详细信息。
我监控了JVM,没有堆溢出,没有堆内存泄漏,没有线程爆炸导致OOM,所有监控的指标都正常,你没有做过log()的性能测试吗?
Comment From: bclozel
I'm sorry but a screenshot and a vague description of a problem that we can't reproduce is not a valid bug report. You can share more information on StackOverflow and get some guidance there - or if you believe this is a bug, share a minimal application that reproduces the issue consistently.
We're running numerous benchmarks in Spring WebFlux and in Reactor. We can't justify spending more time on this without you spending a minimum effort to narrow down the issue.
Comment From: Levi-dong
I can publish my application to Github, can you download it from there? It's a very simple project
Comment From: JanStureNielsen
As @bclozel suggested, consider creating a question on SO with a link to your public repository which demonstrates the problem.
Comment From: Levi-dong
I have push my project to Github: https://github.com/Levi-dong/webclient-demo
This is a Maven project Version is 3.8.6,JDK11,mvn clean packaged to two jar:
1、one jar started normally with 8080
2、the other JAR started with 8082
3、Request path http://localhost:8080/rpc/send/webclient4/{cycle}
4、cycle:you can write the number of loops if you write 1000 you call it 1000 times and 10000 you call it 10 times
This time goes up with every call. I tried to change logback to asynchronous, but it didn't work I hope you can take a look at this problem please, is it my configuration problem or a framework bug, thank you