Skip to content

Performance/memory optimizations, stability/bug fixes, and small enhancements - #183

Merged
popduke merged 28 commits into
apache:mainfrom
popduke:feat-improve-o12y
Oct 17, 2025
Merged

popduke merged 28 commits into
apache:mainfrom
popduke:feat-improve-o12y

Conversation

@popduke

@popduke popduke commented Oct 14, 2025

Copy link
Copy Markdown
Contributor
  • Optimizations:
    • Reduce reset and I/O overhead in InboxStore/DistWorker
    • Optimize TopicLevelTrie to reduce remove overhead
    • Dynamic sending window for QoS1/2 messages
  • Fixes:
    • Fix range lookup key in InboxCheckSubScheduler
    • Enforce strict FIFO for permission checks
    • Conditionally clear batch-call state to avoid task leaks
    • Fix DistWorkerCleaner halting
    • Schedule on-demand hint/confirm timeout to keep the fetch loop running
  • Enhancements:
    • Add API to retrieve inbox state
    • Report drop events on delete
    • New event for successful retained-message matching
    • RedundantRangeRemovalBalancer detects and removes zombie ranges
    • Add @JsonMerge to service config classes to simplify config merging

2. Simplify client range router patching mechanism
2. Only report tenant metrics from leader co-proc
2. adjust default values of gc params
1. do not early confirm when single node
2. reduce message complexity
2. Fix potential consistency issue in TenantRouteCache and TopicIndex
2. try drain staging buffer immediately after buffering message
@popduke
popduke merged commit 652621e into apache:main Oct 17, 2025
4 checks passed
@popduke
popduke deleted the feat-improve-o12y branch October 17, 2025 02:14
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