[true-async] Bump true-async-server to v0.6.3 (php-true-async 0.7.0-beta.4)#742
Merged
MDA2AV merged 2 commits intoMay 19, 2026
Merged
Conversation
Picks up `true-async/server` v0.6.3 inside `trueasync/php-true-async` `0.7.0-beta.4-php8.6`. Notable backend changes: - `Connection: close` request header now produces `Connection: close` in the response (RFC 9112 §9.6). Removes the stream of read-errors the gcannon / wrk runners were logging on the `limited-conn` profile — short-lived runs go from "every reply errored" to clean responses. - One-shot brotli compress with `BROTLI_PARAM_SIZE_HINT` for buffered responses. Closes the brotli encode gap vs Swoole. - Server preference order flipped to `zstd > gzip > brotli > identity` (interim until the brotli arena-allocator follow-up). - Stderr logging on unexpected worker thread exits. Plus the bench config tuning lives in `entry.php`: `setCompressionLevel(1)` + `setBrotliLevel(1)`. Matches Swoole's `http_compression_level = 1` default. Server-side C defaults stay production-typical (gzip 6, brotli 4). Local docker bench, `/json/40`, c=512, 5-run median, both with q=1: | Accept-Encoding | TAS v0.6.3 | Swoole | | --- | --- | --- | | br | 106k | 94k | | gzip | 94k | 67k | | gzip, br | 95k | 95k | Files updated: - `Dockerfile` FROM 0.7.0-beta.3 → 0.7.0-beta.4 - `README.md` image tag mention 0.7.0-alpha.13 → 0.7.0-beta.4 - `entry.php` + setCompressionLevel(1) + setBrotliLevel(1)
Contributor
Author
|
/benchmark -f true-async-server --save |
Contributor
|
👋 |
Contributor
Benchmark ResultsFramework:
Full log |
MDA2AV
approved these changes
May 19, 2026
This was referenced May 19, 2026
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.
Picks up
true-async/serverv0.6.3 insidetrueasync/php-true-async0.7.0-beta.4-php8.6.Backend changes (v0.6.3)
Connection: closefix. Request header now producesConnection: closein the response (RFC 9112 §9.6). Removes the stream of read-errors gcannon / wrk runners were logging on thelimited-conn/ short-lived profiles.BROTLI_PARAM_SIZE_HINTfor buffered responses. Closes the brotli encode gap vs Swoole.zstd > gzip > brotli > identity(interim until the brotli arena-allocator follow-up).pool_worker_handlerexits.Framework tuning
entry.phpnow setssetCompressionLevel(1)+setBrotliLevel(1).Server-side C defaults stay production-typical (gzip 6, brotli 4); the bench config is opt-in.
Files
Dockerfile—FROM 0.7.0-beta.3→FROM 0.7.0-beta.4README.md— image tag mention0.7.0-alpha.13→0.7.0-beta.4entry.php—+ setCompressionLevel(1) + setBrotliLevel(1)