jringuette 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
..
src 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
.gitignore 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
README.md 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
benchmark_config.json 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
build.gradle 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө
ratpack.dockerfile 950ed7ae52 Submission for the java ratpack framework (#3956) 7 жил өмнө

README.md

Ratpack Benchmarking Test

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

Ratpack's hikari module is used to managed the connection pool. It is configured for a maximum of (2 * cores count) concurrent connections. See About-Pool-Sizing for more information. I am assuming that the DB is running on a computer with the same spec as the one running the app, which seems to be the case based on what is written here

Ratpack's handlebars module is used to render the fortune template.

All accesses to the database are done through plain JDBC using an unbounded thread pool to prevent blocking the main event loop.

Plaintext Test

JSON Serialization Test

Database Query Test

Database Queries Test

Database Update Test

Template rendering Test

Versions

Test URLs

Plaintext Test

http://localhost:5050/plaintext

JSON Encoding Test

http://localhost:5050/json

Database Query Test

http://localhost:5050/db

Database Queries Test

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

Database Update Test

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

Template rendering Test

http://localhost:5050/fortunes