Replies: 4 comments 2 replies
-
In the |
Beta Was this translation helpful? Give feedback.
-
You shouldn't really take the numbers in benchmarks too seriously unless you've built a server which is already affected by slowed down performance. Spring still has 20k requests per second, which is more than enough to handle any kind of load. If you're receiving 20k requests per second for at-least 3 hours every day that amounts to around 215 million requests. And if your application is serving that much traffic, you should already be in a state to financially support multiple servers and scale horizontally, or maybe vertically if your server's CPU or Memory is being bottleneck'ed. |
Beta Was this translation helpful? Give feedback.
-
Spring Boot doesn't really have low performance and you're comparing apples to oranges. Why do you compare PHP (raw) to Spring Boot (framework)? At least compare Laravel (framework) to Spring Boot (framework). If you compare the language Java vs PHP, Java is top of the list... As to the tests - certain frameworks / tests are better optimized for the benchmark. Spring isn't 1 of them. You can compare the Spring code in this repository vs e.g. Vertx and you'll see the differences. In the real world, Spring is slower but still much closer to Quarkus, Helidon, Micronaut, etc (the other Java frameworks) compared to where it sits in TechEmpower. |
Beta Was this translation helpful? Give feedback.
-
These benchmarks do not make any sense, for Just they have used Caching mechanism for single query while in spring they are making call to database. Similarly for update operations Just is using relational database with direct update query while spring framework using MongoDb with JPA update, which will first make a read call and if row is present then make update call. There is no way javascript or php beating spring boot applications |
Beta Was this translation helpful? Give feedback.
-
Considering popular languages, framwork and servers, high performance languages are PHP, Go after that NodeJS. Why some of developers use Spring Boot when have low performance?
I am asking this in performance and features.
Beta Was this translation helpful? Give feedback.
All reactions