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

OplogToRedis: Improve metrics handling for parallelism #73

Merged
merged 9 commits into from
Apr 29, 2024

Conversation

alex-goodisman
Copy link
Contributor

@alex-goodisman alex-goodisman commented Apr 26, 2024

Collection of a few metrics improvements:

  • staleness metric is now on the publisher side in addition to the tail side
  • added an additional staleness metric at the handoff between read and write
  • staleness metrics now sharded by write parallelism
  • lastprocessedtimestamp now computed separately per write parallelism, and the minimum is taken
  • use proper coroutine variable reference when spinning up parallel coroutines in main to guarantee correct logs

@alex-goodisman alex-goodisman merged commit c32c6f7 into master Apr 29, 2024
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the alex.parallel-metrics-improvements branch April 29, 2024 16:04
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