Skip to content

Improve PPCB diagnostics and failback observability - #50158

Draft
Abhijeet Mohanty (jeet1995) wants to merge 15 commits into
Azure:mainfrom
jeet1995:benchmark/50122-ppcb-diagnostics
Draft

Improve PPCB diagnostics and failback observability#50158
Abhijeet Mohanty (jeet1995) wants to merge 15 commits into
Azure:mainfrom
jeet1995:benchmark/50122-ppcb-diagnostics

Conversation

@jeet1995

Copy link
Copy Markdown
Member

Summary

  • include per-region PPCB health state in request diagnostics and validate the data-plane diagnostics shape
  • add failback backlog/recovery metrics and rate-limited recovery logging
  • cache immutable PPCB diagnostic snapshots so unchanged healthy requests reuse state instead of copying the region map per request
  • keep diagnostic snapshots weakly consistent while routing state remains protected by ConcurrentHashMap.compute

Validation

  • PPCB manager, holder, and failback unit suites: 47 passed, 0 failed/skipped
  • local Gateway V2 HTTP/2 A/B runs showed throughput within approximately 1% after snapshot caching
  • JFR map-copy allocation stacks dropped to zero; sampled PPCB allocation weight dropped from 136.5 MB to 10.3 MB
  • the final cache commit contains no private static state class and no partition-wide synchronized success/exception handlers

Notes

  • opened as draft for review of diagnostics shape, observability, and snapshot consistency semantics
  • local benchmark harness and profiling artifacts are not included in this PR

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
33 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant