fishcake: add static, json-comp and json-tls profiles#803
Merged
Conversation
Adds the three remaining isolated HTTP/1.1 profiles to the CodeGreen entry: - static: serves /data/static with pre-compressed variant selection (serves the on-disk .br/.gz sibling with the original file's Content-Type when the client accepts it, else the raw file; 404 for a missing file). Implemented in the entry (StaticFiles.kt) on CodeGreen's IO primitives. - json-comp: enables the gzip compression concern on the host (.add(Compression.default())) so /json responses carry Content-Encoding: gzip only when Accept-Encoding is sent. - json-tls: binds HTTPS on :8081 with the harness certificate (/certs), serving HTTP/1.1 over TLS. json-comp and json-tls rely on the response-compression module + TLS engine support added in CodeGreen PR dotnet-web-stack/CodeGreen#9; the Dockerfile temporarily clones that branch (add-compression-tls) until it merges to stream-bodies. ./scripts/validate.sh fishcake passes 41/0 (12 profiles). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
/benchmark -f fishcake |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
CodeGreen PRs #9 (response compression + TLS + pipelined flush coalescing) and #10 (request-body streaming) are merged to main, so the build no longer needs the temporary add-compression-tls branch. Clone main, which carries everything these profiles use. Validated via the real (clone-from-main) Docker build: ./scripts/validate.sh fishcake = 41/0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
/benchmark -f fishcake -t pipelined |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
Owner
Author
|
/benchmark -f fishcake -t pipelined |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
Owner
Author
|
/benchmark -f fishcake --save |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the three remaining isolated HTTP/1.1 profiles to the fishcake (CodeGreen / Kotlin) entry.
./scripts/validate.sh fishcakepasses 41/0 across 12 profiles (was 9), via the real Docker build (clones CodeGreenmain).StaticFiles.ktserves/data/staticwith pre-compressed variant selection — serves the on-disk.br/.gzsibling (original Content-Type + matchingContent-Encoding) when the client accepts it, else the raw file;404for missing..add(Compression.default())) so/jsoncarriesContent-Encoding: gziponly whenAccept-Encodingis sent.:8081with the harness certificate (/certs), serving HTTP/1.1 over TLS.These rely on CodeGreen features now merged to
main— PR dotnet-web-stack/CodeGreen#9 (response compression + TLS + pipelined flush-coalescing) and #10 (request-body streaming) — so the Dockerfile clonesmain.🤖 Generated with Claude Code