Shreck Ye 4f46d7ded9 Improve code and fix some bugs in the Ktor benchmarks (#7983) 2 anni fa
..
gradle 0242129c0d Update Ktor to 2.0.1 (#7319) 3 anni fa
src 4f46d7ded9 Improve code and fix some bugs in the Ktor benchmarks (#7983) 2 anni fa
README.md 4b7a56941e implement new test: ktor-pgclient (#7006) 3 anni fa
build.gradle.kts 0242129c0d Update Ktor to 2.0.1 (#7319) 3 anni fa
gradlew 4b7a56941e implement new test: ktor-pgclient (#7006) 3 anni fa
gradlew.bat 4b7a56941e implement new test: ktor-pgclient (#7006) 3 anni fa

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