You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: upgrade to Go 1.26 and optimize static-web server config
- Bump go.mod and Dockerfile builder image to Go 1.26 (golang:1.26-alpine)
- Bump runtime image to alpine:3.23
- Add DisableGeneralOptionsHandler to http.Server (both HTTP and HTTPS)
to avoid unnecessary OPTIONS processing overhead
- Tighten default timeouts: ReadTimeout/WriteTimeout 30s→10s,
IdleTimeout 120s→75s (matches nginx keepalive_timeout)
- Set GOGC=400 in benchmark container to reduce GC pressure after
warmup when the in-memory cache is fully populated
- Update config_test.go to reflect new default timeouts
0 commit comments