Skip to content
Bluetape4k docs1.11

Web Framework Benchmark

Latest stable Based on Bluetape4k release 1.11.0

This module compares equivalent embedded HTTP workloads implemented with Ktor CIO and Spring WebFlux. This manual connects that purpose to the current build, source entry points, tests, configuration resources, and lifecycle evidence instead of duplicating the README feature list.

Use web-framework-benchmark when the application needs the hypothesis, benchmark task, environment, metric direction, and comparison limits. Start with the source entry points below and confirm that their ownership and failure contracts match the calling component. Prefer a smaller standard-library or already-adopted module when it satisfies the same contract without another runtime boundary.

This benchmark project is not published as a Maven artifact. Run it from the repository and inspect its Gradle tasks before choosing a command.

Gradle project path: :web-framework-benchmark. Source directory: benchmark/web-framework-benchmark.

The module is configuration or platform metadata and has no Kotlin/Java source type to index.

List the project tasks before running the example or benchmark:

Terminal window
./gradlew :web-framework-benchmark:tasks --all

Then use the command documented by the module README and keep required external services isolated.

No Kotlin/Java source file is registered for this module. Use the build model and README as its public surface.

The README evidence is organized around What It Measures, Latest Local Results, Throughput, Latency, Startup, and Run. Use those topics as a navigation map, then confirm behavior in source and tests. Keep adoption narrow and connect owned resources to the caller lifecycle.

The module build declares no direct api, implementation, compileOnly, or runtimeOnly dependency line. Inspect plugins and generated metadata in the build file.

No module-level configuration resource was found under src/main/resources. Configuration is supplied through constructors, builders, function arguments, or the integrating framework; confirm defaults in source.

Failure semantics are defined by the linked entry points and tests, not inferred from the artifact name. Keep cancellation and timeout signals intact, close owned resources, and translate backend exceptions only at a boundary that can add a stable domain contract. Use the test anchors below to verify the exact behavior before adding retries or fallbacks.

Record environment and raw results; compare only equivalent runs and watch variance and allocation. Keep capacity, timeout, retry, and shutdown settings next to the component that owns the resource; avoid process-wide defaults that hide which caller accepted the trade-off.

Run the module test task:

Terminal window
./gradlew :web-framework-benchmark:test --no-configuration-cache

No Kotlin/Java test file was found in the manifest’s test paths. Verify the module build and add a focused contract test when adopting behavior not covered elsewhere.

No dedicated workshop path is registered in the manual manifest. Use the module README and the representative tests above as runnable evidence.

This page documents the repository state represented by the linked source and tests. It does not turn optional backends into application defaults or claim performance without a benchmark artifact. Re-check compatibility and lifecycle notes when the module version changes.