Skip to content

fix: resolve Serf queue depth issue with state change detection and t…#18

Open
mmchougule wants to merge 1 commit into
mainfrom
fix-serf-queue-depth
Open

fix: resolve Serf queue depth issue with state change detection and t…#18
mmchougule wants to merge 1 commit into
mainfrom
fix-serf-queue-depth

Conversation

@mmchougule

Copy link
Copy Markdown
Collaborator

…hrottling

  • Add state change detection using hash comparison to prevent unnecessary broadcasts
  • Add queue depth throttling to skip broadcasts when queue exceeds 1000
  • Increase broadcast period from 5s to 30s (6x reduction)
  • Add conservative Serf configuration with tuned gossip intervals
  • Add proper mutex protection for state tracking

This fixes the continuous queue depth growth issue that was causing system instability and potential message drops.

…hrottling

- Add state change detection using hash comparison to prevent unnecessary broadcasts
- Add queue depth throttling to skip broadcasts when queue exceeds 1000
- Increase broadcast period from 5s to 30s (6x reduction)
- Add conservative Serf configuration with tuned gossip intervals
- Add proper mutex protection for state tracking

This fixes the continuous queue depth growth issue that was causing
system instability and potential message drops.
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