|
2 år sedan | |
---|---|---|
.. | ||
src | 5 år sedan | |
README.md | 3 år sedan | |
benchmark_config.json | 2 år sedan | |
config.toml | 4 år sedan | |
pom.xml | 2 år sedan | |
spring-webflux-jdbc.dockerfile | 2 år sedan | |
spring-webflux-mongo.dockerfile | 2 år sedan | |
spring-webflux-pgclient.dockerfile | 2 år sedan | |
spring-webflux-rxjdbc.dockerfile | 2 år sedan | |
spring-webflux.dockerfile | 2 år sedan |
This is the Spring Webflux portion of a benchmarking test suite comparing a variety of web development platforms.
Netty is used for the async 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
A fixed thread pool of size equals to the number of database connections is used to run all the blocking code (jdbc database accesses) to not block netty's event loop.
For postgresql access, there are four implementations.
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