Repository navigation
fix: run Flask with Gunicorn gthread - #77
Merged
Merged
Conversation
12 tasks done
Owner
Author
Post-merge verification — 2026-09-27This continuation re-read GitHub state and found the PR already merged; no duplicate source change or merge was performed.
Verification limit: a direct check of publicly served Pages bytes could not be completed. The web fetch was inaccessible and this execution environment could not resolve either the Pages or raw-content host. This is an access limitation, not evidence of a site failure; the successful GitHub Pages deployment was verified separately. No live byte-parity claim is made. No local test re-execution, source modification, new workflow invocation, official measurement/publication, or settings change was performed in this continuation. This records existing executed CI evidence, not an independent review approval. |
This was referenced Sep 27, 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.
Summary
gthreadrequest worker, one request thread, and HTTP keep-aliveWhy
Issue #70 reproduced the extreme Flask/Waitress JSON slowdown. A predeclared non-publishing alternatives screen showed that changing the WSGI server to Gunicorn
gthreadavoided the anomaly without CPU-affinity policy or a framework rewrite. This is the smallest supported production change from that investigation.TDD and evidence
gunicorn==26.0.0while main still pinned Waitress.Scope boundaries
No CPU-affinity change, framework rewrite, official benchmark dispatch, publication, cohort activation, release, tag, repository setting or permission change.
Closes #70.