|
vor 4 Jahren | |
---|---|---|
.. | ||
src | vor 5 Jahren | |
.gitignore | vor 7 Jahren | |
README.md | vor 5 Jahren | |
benchmark_config.json | vor 6 Jahren | |
build.gradle | vor 5 Jahren | |
config.toml | vor 4 Jahren | |
ratpack-jdbc.dockerfile | vor 4 Jahren | |
ratpack-pgclient.dockerfile | vor 4 Jahren | |
ratpack.dockerfile | vor 4 Jahren |
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.
There are two repository implementations.
http://localhost:5050/plaintext
http://localhost:5050/json
http://localhost:5050/db
http://localhost:5050/queries?queries=5
http://localhost:5050/updates?queries=5
http://localhost:5050/fortunes