Files
loadtest/History/sonnet-question-final.md
T
naeel 4a09038f96
Deploy loadtest / validate (push) Waiting to run
feat: Gunicorn + gevent (keepalive), bump 1.0.8→1.0.9
2026-07-10 23:42:54 +04:00

27 lines
949 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Sonnet: финальный вопрос
## Ситуация
Nginx:alpine через managed Flask ingress = 100KB POST 10/10 всегда.
Тот же Flask через тот же ingress = 2-5/10, случайно.
## ВСЁ что пробовали (без эффекта)
- debug=False
- Gunicorn (хуже — 1/10)
- proxy_request_buffering on/off
- upstream-keepalive=0 (хуже — 0/10)
- use-http2=false
- raw binary вместо URL-encoded form
- kube-vip: nodeSelector, taint, leader election
- MSS clamping
- свежий редеплой
- chunky 100KB
- ретраи
## Инфра
Flask 3.1.3, Werkzeug 3.1.8, Shturval 2.12.1, Cilium CNI, kube-vip ARP.
Flask и nginx на одной ноде. Ingress на двух нодах.
Внутри кластера всё 10/10 всегда.
## Вопрос
Какого хуя nginx:alpine 10/10, а Flask 2-5/10 через АБСОЛЮТНО тот же ingress/сеть/ноду?