Check | kt-http4k-1 | kt-http4k-2 | kt-http4k-3 | kt-http4k-contractless-1 | kt-http4k-contractless-2 | kt-http4k-contractless-3 | kt-ktor-1 | kt-ktor-2 | kt-ktor-3 |
---|---|---|---|---|---|---|---|---|---|
Docker image size (MB) | 241 | 241 | 241 | 241 | 241 | 241 | 239 | 239 | 239 |
HTTP GET / returns 200 or 404 | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get returns 400 with error JSON with message | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=101748063&language=cs&extra=paramShouldBeIgnored returns 200 and correct object | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=101748109&language=de returns 200 and correct object | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=101748111&language=cs returns 200 and correct object | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=101748113&language=cs returns 200 and correct object | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=123 returns 400 with error JSON with message | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=123&language=cs returns 404 (this does not exist) with error JSON with message | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?id=blabla&language=cs returns 400 with error JSON with message | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /city/v1/get?language=cs returns 400 with error JSON with message | Good | Good | Good | Good | Good | Good | Good | Good | Good |
HTTP GET /fnhjkdniudsancyne returns 404 | Good | Good | Good | Good | Good | Good | Good | Good | Good |
Service logs a message containing 8080 (used port) on startup | Good | Good | Good | Good | Good | Good | Good | Good | Good |
Service logs every request, message contains url path | Good | Good | Good | Good | Good | Good | Good | Good | Good |
Startup time (to start responding) secs | 2.74 | 2.66 | 2.77 | 2.68 | 2.56 | 2.61 | 2.55 | 2.33 | 2.34 |
Stops gracefully | Good, in 0.8s | Good, in 0.9s | Good, in 0.8s | Good, in 1.0s | Good, in 0.9s | Good, in 0.8s | Good, in 6.8s | Good, in 6.8s | Good, in 6.8s |
The graphs are interactive, view the rendered HTML locally to enjoy it.