-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throughput problems when compared with Netflix Zuul and Nginx #124
Comments
Can you give any indication of how you configured the gateway, what version you used? |
Version:
application.yml
Running the Load Test Status of the master head |
@turgaycelik reactor-netty has issues with http 1.0 and hence ab. reactor/reactor-netty#21 |
I created a simple benchmark project, so I could share what I've done https://github.com/spencergibb/spring-cloud-gateway-bench SNAPSHOTS have made some changes that I wonder if they had an impact. I'd appreciate PRs and any updated stats from your tests. I was just using my laptop. |
Any update here.@turgaycelik could you please share updated performance numbers with latest spring-cloud-gateway? |
We had similar performance issues with Spring Cloud Gateway(Finchley.SR1), please find comparison metrics below.
Test Server Configuration: M4.xLarge AWS Instance — 4 Core CPU, 16GB of Memory It's very confused state if spring cloud gateway can be used in prod, please provide your comments. The overall system looks like the following
All rest endpoints are fired via Zuul/Gateway which uses the discovery server to get the list of available instances. |
@spencergibb Do you have a plan to create a project with standardised setup to compare Zull vs Gateway |
@thekalinga yes, at some point @VinodKandula Any performance test should be done with the latest boot and Greenwich spring cloud. |
@VinodKandula can you guys run same perf tests over Greenwich? We are also considering moving from Zuul 1 and now deciding between Zuul 2 or Sping Cloud Gateway |
@spencergibb when we have tested, we have used the latest spring boot and spring cloud versions at that time of our testing and since the performance results were not promising when compared to spring cloud zuul, we have moved away from spring cloud gateway. If you are so confident about the Greenwich release Spring cloud gateway team have to show case/publish the performance results and what the changes made to improve the performance. |
@demoroz we have moved away from spring cloud gateway to spring cloud zuul. And I don't think spring team is supporting zuul 2 |
@VinodKandula I've published mine #124 (comment) I'd love to see a project that isn't performant. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
We performed some tests by using Apache HTTP Server Benchmarking Tool, ab. Results don't seem promising when compared to Netflix Zuul and Ngnix.
Currently, we are performing Gatling tests for Zuul and Ngnix. Since the current performance of Spring Cloud is not promising, we didn't include it as an alternative at least for now.
PS: Test server is AWS EC2 M4.2xLarge (Eight-Core CPU, 32 GB of Memory)
The text was updated successfully, but these errors were encountered: