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

rangefeed: reuse annotated context in ScheduledProcessor.process() #110329

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

erikgrinaker
Copy link
Contributor

Context construction is expensive enough to show up in CPU profiles. With 20k rangefeeds/node on an idle cluster, this made up 1% of overall CPU usage, or 4% of rangefeed scheduler CPU usage.

Epic: none
Release note: None

Context construction is expensive enough to show up in CPU profiles.
With 20k rangefeeds/node on an idle cluster, this made up 1% of overall
CPU usage, or 4% of rangefeed scheduler CPU usage.

Epic: none
Release note: None
@erikgrinaker erikgrinaker requested review from aliher1911 and a team September 11, 2023 10:04
@erikgrinaker erikgrinaker self-assigned this Sep 11, 2023
@blathers-crl
Copy link

blathers-crl bot commented Sep 11, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@erikgrinaker
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 11, 2023

Build succeeded:

@craig craig bot merged commit 0d073f4 into cockroachdb:master Sep 11, 2023
@erikgrinaker erikgrinaker deleted the rangefeed-scheduler-ctx branch November 14, 2023 10:34
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.

3 participants