Radoslav Petrov a8f33baac0 Update spring projects to Java 11 (#4812) пре 6 година
..
src ebaa824e1e Add a benchmark for spring-mvc with mongodb (#4393) пре 6 година
README.md ebaa824e1e Add a benchmark for spring-mvc with mongodb (#4393) пре 6 година
benchmark_config.json ebaa824e1e Add a benchmark for spring-mvc with mongodb (#4393) пре 6 година
pom.xml a8f33baac0 Update spring projects to Java 11 (#4812) пре 6 година
spring-mongo.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) пре 6 година
spring.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) пре 6 година

README.md

Spring MVC Benchmarking Test

This is the Spring MVC portion of a benchmarking test suite comparing a variety of web development platforms.

An embedded tomcat is used for the web server, with nearly everything configured with default settings. The only thing changed is Hikari can use up to (2 * cores count) connections (the default is 10). See About-Pool-Sizing

Tomcat use a fixed thread pool that can grow up to 200 threads.

There are two implementations :

Plaintext Test

JSON Serialization Test

Database Query Test

Database Queries Test

Database Update Test

Template rendering Test

Versions

Test URLs

Plaintext Test

http://localhost:8080/plaintext

JSON Encoding Test

http://localhost:8080/json

Database Query Test

http://localhost:8080/db

Database Queries Test

http://localhost:8080/queries?queries=5

Database Update Test

http://localhost:8080/updates?queries=5

Template rendering Test

http://localhost:8080/fortunes