Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging + Perf optimizations #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Logging + Perf optimizations #133

wants to merge 1 commit into from

Conversation

esemeniuc
Copy link
Contributor

@esemeniuc esemeniuc commented May 18, 2024

  • Avoid relayer recomputing recipients on every packet batch (do every slot update instead
  • Use Arcswap instead of rwlock for leader schedule (faster, no chance of starvation)
  • Reduce datapoint rates, emit highest slot metric only when new slot
  • Reduce channel forwarding for HealthManager
  • Delete irrelevant metrics
  • Less calls to fetch SystemTime
  • Early return a bunch of places

@esemeniuc esemeniuc changed the title add Logging + Perf optimizations May 21, 2024
@esemeniuc esemeniuc force-pushed the eric/metrics-perf branch from 7872d51 to af8761d Compare May 21, 2024 20:24
@esemeniuc esemeniuc requested review from jedleggett, segfaultdoc and buffalu and removed request for jedleggett May 21, 2024 20:24
@esemeniuc esemeniuc marked this pull request as ready for review May 21, 2024 20:24
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