Skip to content

feat+perf: [alb/fanout,proxy/capture] loser-drain histogram + capture body presize#1014

Open
crandles wants to merge 3 commits into
trickstercache:mainfrom
crandles:alb-followup
Open

feat+perf: [alb/fanout,proxy/capture] loser-drain histogram + capture body presize#1014
crandles wants to merge 3 commits into
trickstercache:mainfrom
crandles:alb-followup

Conversation

@crandles
Copy link
Copy Markdown
Contributor

@crandles crandles commented May 27, 2026

Description

  • trickster_alb_fanout_loser_drain_seconds{mechanism,variant} histogram on WaitForFirst. After fix+refactor+test: [alb/cache/proxy] continued hardening sweep #1006, losers drain in the background after winner-claim and there's no way to tell sub-ms healthy drains from upstreams ignoring ctx-cancel.
  • CaptureResponseWriter.WriteHeader presizes body from Content-Length, bounded by maxBytes. Multi-MB time-series captures otherwise pay several bytes.Buffer doublings.

Type of Change

    • New feature
    • Optimization

AI Disclosure

    • This contribution DOES include AI-generated changes, and I have reviewed the relevant contributing guidelines.

Expect this will fail until #1012 merges (it includes a fix / main is currently failing tests)

crandles added 2 commits May 20, 2026 11:30
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Signed-off-by: Chris Randles <randles.chris@gmail.com>
@crandles crandles requested a review from a team as a code owner May 27, 2026 16:13
Signed-off-by: Chris Randles <randles.chris@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant