-
Notifications
You must be signed in to change notification settings - Fork 433
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
Spring grpc vs vanilla grpc. Low performance #338
Comments
Yes, please share the load test project. |
Unfortunately i didn't because i didn't know how to tune spring app performance :( I just create default spring boot application with grpc-spring-boot-starter and ran tests. If you have some recommendation it will be very useful for me My repo with tests pringboot-grpc-benchmark |
You are using another starter
I wonder what will the the performance test results if you use the |
Sorry ) Fixed it to the |
So now it's 16K/s vs 10K/s ? |
Not really.. If we told about test with using 1 cpu and 1 concurency results is: 16K/s vs 10K/s But if we remove restrictions:
VS
and I don't know why the spring is slower, more than twice.... |
Right, it shouldn't be . Other than bootstrap, the performance should be same. Are you sure its same version of grpc, same configuration? |
|
done. updated all dependencies which i can find, but it's nothing change |
I realize test project is in a very early stage, some suggestions:
|
Few additions :
|
Hi there.
I have a couple high load services in my company on vanilla java + grpc. At the moment i want to migrate them to springboot.
So when i wrote the one service on spring i discovered that it has very low performance and it's more than twice as slow.... I tested it with jmh and ghz.
Proto file for tests is
And results from ghz on springboot service
And vanilla service
So could you answer me it is normal for spring? Or maybe i did something wrong...
I can show you a project with code for tests if you want.
The text was updated successfully, but these errors were encountered: