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 :
- For postgresql access, JdbcTemplate is used. See JdbcDbRepository.
- For mongoDB access, MongoTemplate is used. See MongoDbRepository.
http://localhost:8080/plaintext
http://localhost:8080/json
http://localhost:8080/db
http://localhost:8080/queries?queries=5
http://localhost:8080/updates?queries=5
http://localhost:8080/fortunes