Yongshun Ye 907770ce30 Increase `io.netty.iouring.ringSize` for some Vert.x benchmarks that use io_uring (#10384) 1 week ago
..
buildSrc fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
configuration fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
gradle fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
src fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
.gitattributes 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 year ago
README.md fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
benchmark_config.json fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
build.gradle.kts fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
gradle.properties 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 year ago
gradlew fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
gradlew.bat fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
settings.gradle.kts fe1810bf70 Performance improvements to vertx-web-kotlin-dsljson (#10281) 1 month ago
vertx-web-kotlin-dsljson-postgresql.dockerfile 907770ce30 Increase `io.netty.iouring.ringSize` for some Vert.x benchmarks that use io_uring (#10384) 1 week ago
vertx-web-kotlin-dsljson.dockerfile 907770ce30 Increase `io.netty.iouring.ringSize` for some Vert.x benchmarks that use io_uring (#10384) 1 week ago

README.md

Vert.x-Web Kotlin Dsljson Benchmarking Test

Vert.x-Web in Kotlin with Dsljson serialization

The code is written as a realistic server implementation:

  • Code is organized logically into packages
  • Repositories are created for each database entity to handler all operations pertaining to a specific table
  • Handlers map to the logical entities which they serve
  • JSON serialization is provided via Dsljson
    • Doing this effectively required a custom Vert.x Buffer implementation that also extended OutputStream in order to rely on the efficient Vert.x heap memory pool instead of building a novel implementation.

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=

Testing:

../../../tfb \
    --mode benchmark \
    --test vertx-web-kotlin-dsljson \
    --type json