Skip to content

Scheduler: Deterministic Sleeps #161

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

Merged
merged 2 commits into from
Aug 3, 2022
Merged

Conversation

bartelink
Copy link
Collaborator

As per Ingester and Scheduler, replaces polling loop's Thread.Sleep with Task.WhenAny-based awaiting of semaphores and/or Channels

  • Adds logging of purged stream count
  • Fixes erroneously removed laziness (pending vs potential)
  • Adds logging of sleep time (resolves Record and log sleep times #83)
  • Adds a wakeForResults option to provide optimal throughput

@bartelink bartelink force-pushed the scheduler-deterministic branch from f077ce2 to 75d8ae9 Compare August 3, 2022 09:02
@bartelink bartelink force-pushed the scheduler-deterministic branch from 02f603c to df2c244 Compare August 3, 2022 10:31
@bartelink bartelink merged commit 5136b42 into master Aug 3, 2022
@bartelink bartelink deleted the scheduler-deterministic branch August 3, 2022 10:38
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.

Record and log sleep times
1 participant