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

Minimize standby remaining total calls #292

Conversation

cbrand
Copy link
Contributor

@cbrand cbrand commented Mar 29, 2022

Description

Reduce the calls in the recovery service agent checking if standby remaining totals is done by verifying on the tables if the standbys_ready is already set as this is the only thing which happens in the if statement and is computational cheap compared to iterating constantly over the standby_remaining_totals call.

Similar to #291 this should greatly reduce the time spent in the recovery
changelog service task which runs constantly in the background.

Reduce the calls in the recovery service agent checking if standby remaining totals is done
by verifying on the tables if the standbys_ready
is already set as this is the only thing which happens in the
if statement and is computational cheap compared
to iterating constantly over the standby_remaining_totals call.
@cbrand cbrand force-pushed the feat/slurp-changelogs-checktime-minimize branch from f0b61fe to ce8dc5d Compare March 29, 2022 14:28
@patkivikram patkivikram merged commit e14a550 into faust-streaming:master Apr 19, 2022
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.

None yet

2 participants