Radoslav Petrov a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
..
src a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
README.md b8706f5c85 Add new benchmarks for spring-webflux using rxjava and r2dbc (#4314) 6 years ago
benchmark_config.json b8706f5c85 Add new benchmarks for spring-webflux using rxjava and r2dbc (#4314) 6 years ago
pom.xml a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
spring-webflux-jdbc.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
spring-webflux-mongo.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
spring-webflux-pgclient.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
spring-webflux-rxjdbc.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago
spring-webflux.dockerfile a8f33baac0 Update spring projects to Java 11 (#4812) 6 years ago

README.md

Spring Webflux Benchmarking Test

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.

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