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
{{ message }}
Repository navigation
decision request: #4788 Fix direction for memory growth and request latency in long sessions (retention cap / envelope w | decision request: #4788 长会话内存增长与请求延迟的修复方向(保留上限 / envelope 写入默认 / 超预算驱逐策略) #4792
changed the title [-]decision request: #4788 长会话内存增长与请求延迟的修复方向(保留上限 / envelope 写入默认 / 超预算驱逐策略)[/-][+]decision request: #4788 Fix direction for memory growth and request latency in long sessions (retention cap / envelope w | decision request: #4788 长会话内存增长与请求延迟的修复方向(保留上限 / envelope 写入默认 / 超预算驱逐策略)[/+]on Oct 26, 2026
Activity
[-]decision request: #4788 长会话内存增长与请求延迟的修复方向(保留上限 / envelope 写入默认 / 超预算驱逐策略)[/-][+]decision request: #4788 Fix direction for memory growth and request latency in long sessions (retention cap / envelope w | decision request: #4788 长会话内存增长与请求延迟的修复方向(保留上限 / envelope 写入默认 / 超预算驱逐策略)[/+]#4788 D2: bound ONE session's resident memory — between-turns drops, …
docs(config): register sessions.hardMaxBytes + BILI_SESSION_RESIDENT_…
docs(config): register sessions.hardMaxBytes + BILI_SESSION_RESIDENT_…
ranxianglei commentedon Oct 31, 2026
三项决策已由后续已合并的工作自然消解,无剩余选择项,关闭对账:
D1-A 已落地:持久化层请求间隙溢写 + BILI_SESSION_RESIDENT_HARD_MAX_BYTES 硬上限(含 durableRevision 证明门),随 C 类整合入 master。
D3-B 随 D1-A 一并实现:唯一/活跃会话豁免池驱逐(钉住),超限走块内容溢写而非整会话冷载乒乓(#3918 场景即此语义)。
D2-A 即现状:full 模式下旧式 JSON envelope 写入维持默认 ON(实测关闭反而慢 4~5s/轮);翻转只是配置动作,无需立项。
残留二期 TODO(不阻塞本单):state/contentStore/transient 等不可溢写字段的逐字段释放,如需再单独立项。
fold idle session content stores between requests (ranxianglei#4788 p…