lablup / lablup/backend.ai

Add HTTP keepalive timeout configuration to HTTP-serving components

Open
#2,866 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

The following components have HTTP-serving endpoints:

- Manager
- Storage Proxy
- Web Server (aka Gateway)
- WSProxy (aka App Proxy)
According to aio-libs/aiohttp#9285, we should set the HTTP keepalive timeout longer than the reverse-proxy if one is present to avoid races in the reverse-proxy.

aio-libs/aiohttp#9293 (backport of 9285) will be included in aiohttp release 3.11, and I think we should have also an explicit configuration knob to adjust this value as needed by the actual per-site setup.

JIRA Issue: BA-84

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.