Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
414 views
in Technique[技术] by (71.8m points)

spring cloud gateway integrate spring cloud sleuth is 22% slower than using spring cloud gateway alone

When I use spring cloud gateway to integrate spring cloud sleuth, I find that the performance is much slower than using spring cloud gateway alone. Is there any optimization scheme?

Machine configuration:6 core, 16g

spring cloud gateway:5331.9 tps

spring cloud gateway + spring cloud sleuth:4119.47 tps

“spring cloud gateway” is about 1000-2000tps slower than “spring cloud gateway + spring cloud sleuth”, and “spring cloud gateway + spring cloud sleuth” performance is reduced by 22%

question from:https://stackoverflow.com/questions/65938481/spring-cloud-gateway-integrate-spring-cloud-sleuth-is-22-slower-than-using-spri

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can check the release notes https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2020.0-Release-Notes#up-till-300-m5 and this issue https://github.com/spring-cloud/spring-cloud-sleuth/issues/1710 to see that with the latest release (2020.0.0) we've migrated to manual reactor instrumentation mode so you should see a significant improvement in performance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...