Ilya Nemtsev 981a75bd69 fixed older variants 9 månader sedan
..
gradle 724f7a4b3e fixed pgclient test 9 månader sedan
src 03c1c5c283 [Ktor] Latest Ktor, serializer, html dsl versions (#9128) 1 år sedan
README.md 4b7a56941e implement new test: ktor-pgclient (#7006) 3 år sedan
build.gradle.kts 981a75bd69 fixed older variants 9 månader sedan
gradlew 4b7a56941e implement new test: ktor-pgclient (#7006) 3 år sedan
gradlew.bat 4b7a56941e implement new test: ktor-pgclient (#7006) 3 år sedan

README.md

Ktor with Vert.x async pgclient

This sets up testing using Ktor, with the async PostgreSQL client of the Eclipse Vert.x project.
The client features batching, pipelining and supports coroutines.

Test URLs

Plain Text Test

http://localhost:8080/plaintext

JSON Encoding Test

http://localhost:8080/json

Single Query Test

http://localhost:8080/db

Multiple Queries Test

http://localhost:8080/query?queries=

Database updates Test

http://localhost:8080/updates?queries=

Fortunes Test

http://localhost:8080/fortunes

build

./gradlew build

run

java -jar build/libs/bench.jar