Andrew McCloskey ee5d2b2b85 vertx-web-kotlin-dsljson updates (#9192) 1 年之前
..
configuration ee5d2b2b85 vertx-web-kotlin-dsljson updates (#9192) 1 年之前
gradle 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
src ee5d2b2b85 vertx-web-kotlin-dsljson updates (#9192) 1 年之前
.gitattributes 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
README.md 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
benchmark_config.json 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
build.gradle.kts 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
gradle.properties 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
gradlew 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
gradlew.bat 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
settings.gradle.kts 848d684076 initial commit of vertx-web-kotlin-dsljson benchmark (#9172) 1 年之前
vertx-web-kotlin-dsljson-postgresql.dockerfile ee5d2b2b85 vertx-web-kotlin-dsljson updates (#9192) 1 年之前
vertx-web-kotlin-dsljson.dockerfile ee5d2b2b85 vertx-web-kotlin-dsljson updates (#9192) 1 年之前

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=

FORTUNES

http://localhost:8080/fortunes