This is a benchmark of the backend technologies. The goal is to compare the performance of the technologies in terms of the response and time given to the sum of numbers from 1 to 1000.
Docker compose is used to run the applications. To run the applications, run the following command:
docker-compose up --build
- You can use the following command to test the applications for all the technologies:
curl http://localhost:1000
- You can test the applications for each technology:
curl http://localhost:1000/spring
curl http://localhost:1000/gin
curl http://localhost:1000/express
curl http://localhost:1000/dotnet
Technology | Requests per second |
---|---|
Go Gin | ~ 1000 ns |
Spring Boot | ~ 6000 ns |
.Net Core | ~ 2000 ns |
ExpressJs | ~ 4000 ns |