Skip to content

perf(p2p-14): add adaptive read-path bypasses (#671)#4

Open
jlon wants to merge 3 commits into
p2p-13-data-plane-fast-pathfrom
p2p-14-adaptive-read-performance
Open

perf(p2p-14): add adaptive read-path bypasses (#671)#4
jlon wants to merge 3 commits into
p2p-13-data-plane-fast-pathfrom
p2p-14-adaptive-read-performance

Conversation

@jlon
Copy link
Copy Markdown
Owner

@jlon jlon commented Mar 26, 2026

Summary

  • Add adaptive read-side optimizations after the data-plane fast path is isolated.
  • Keep scope on selection heuristics and leave telemetry, rollout material, and harness expansion out.

Design

  • Apply bypasses only when cached-hit and adaptive signals justify them.
  • Keep sample attribution and hygiene explicit so adaptive decisions remain reviewable.

Implementation

  • Add cached-hit read-flight bypass and adaptive worker bypass.
  • Tighten adaptive sample hygiene and wire the minimal service-side attribution needed for the decision path.

Verification

  • Run the production gate with adaptive behavior enabled.
  • Check 0ms benchmark sanity and targeted adaptive-path tests.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@jlon jlon force-pushed the p2p-13-data-plane-fast-path branch from a5b563a to 3efcc7a Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-14-adaptive-read-performance branch from 7bf5bd9 to cbae9f8 Compare March 26, 2026 10:26
@jlon jlon force-pushed the p2p-13-data-plane-fast-path branch from 3efcc7a to 0cd5c9d Compare March 27, 2026 09:33
@jlon jlon force-pushed the p2p-14-adaptive-read-performance branch from cbae9f8 to c032cd5 Compare March 27, 2026 09:33
@jlon jlon force-pushed the p2p-13-data-plane-fast-path branch from 0cd5c9d to c394449 Compare March 30, 2026 00:55
@jlon jlon force-pushed the p2p-14-adaptive-read-performance branch from c032cd5 to 1a3ee2b Compare March 30, 2026 00:55
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