Ilya Nemtsev 981a75bd69 fixed older variants 8 miesięcy temu
..
gradle 981a75bd69 fixed older variants 8 miesięcy temu
src 03c1c5c283 [Ktor] Latest Ktor, serializer, html dsl versions (#9128) 1 rok temu
README.md d3644b8cbf Add tests for Ktor using an async database layer (#4247) 6 lat temu
build.gradle.kts 981a75bd69 fixed older variants 8 miesięcy temu
gradle.properties 981a75bd69 fixed older variants 8 miesięcy temu
gradlew d3644b8cbf Add tests for Ktor using an async database layer (#4247) 6 lat temu
gradlew.bat d3644b8cbf Add tests for Ktor using an async database layer (#4247) 6 lat temu
settings.gradle.kts 981a75bd69 fixed older variants 8 miesięcy temu

README.md

Ktor with async postgres Benchmarking Test

Important Libraries

This sets up testing using Ktor, with a couple of async PostgreSQL clients:

  • jasync-sql A pure Kotlin MySQl/PostgreSQL client, with coroutines integration
  • reactive-pg-client A mature async PostgreSQL client with pipelining and batch support

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

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

UPDATE

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

FORTUNES

http://localhost:8080/fortunes