Skip to content

perf: optimize replay buffer metrics and bucket traversal - #88

Merged
jbiskur merged 1 commit into
mainfrom
allora/replay-low-risk-fixes
Aug 5, 2026
Merged

perf: optimize replay buffer metrics and bucket traversal#88
jbiskur merged 1 commit into
mainfrom
allora/replay-low-risk-fixes

Conversation

@allora2026

Copy link
Copy Markdown
Contributor

Summary

  • replace repeated full-buffer scans with incremental counters and UTF-8 byte accounting
  • sort, deduplicate, index, and safely advance time-bucket traversal
  • keep buffer gauges and empty waiters correct across checkpoint failures
  • harden direct and timer-driven terminal failure callbacks against rejected promises

Stack

Verification

  • 83 tests passed
  • typecheck passed
  • lint passed
  • format check passed
  • build passed
  • git diff check passed
  • independent merge-blocker review: APPROVED

Base automatically changed from allora/replay-observability to main August 5, 2026 09:39
@allora2026
allora2026 force-pushed the allora/replay-low-risk-fixes branch from 1c3b552 to 3dd1d15 Compare August 5, 2026 09:43
@jbiskur
jbiskur merged commit 216ab80 into main Aug 5, 2026
3 checks passed
@jbiskur
jbiskur deleted the allora/replay-low-risk-fixes branch August 5, 2026 09:48
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.

2 participants