Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

zoekt: default to eager runeDocSection#46245

Merged
keegancsmith merged 1 commit into
mainfrom
eager-rune-doc-section
Jan 9, 2023
Merged

zoekt: default to eager runeDocSection#46245
keegancsmith merged 1 commit into
mainfrom
eager-rune-doc-section

Conversation

@keegancsmith

Copy link
Copy Markdown
Member

We have been running with eager runDocSection decoding on sourcegraph.com for a month and have seen improvements to tail latency and average latency. We believe the lazy decoding was unnecessary since we so often do global symbol searches that we would constantly be decoding doc section data all the time.

There is a chance that on a quiet instance we suddenly have a lot more RAM sitting in the heap that doesn't get claimed back since it stays alive. In that case the lazy decoding may in fact be better for them. As such we document how to disable in the CHANGELOG.

For more details see the PR in zoekt
sourcegraph/zoekt#503

Test Plan: tested already on sourcegraph.com.

We have been running with eager runDocSection decoding on
sourcegraph.com for a month and have seen improvements to tail latency
and average latency. We believe the lazy decoding was unnecessary since
we so often do global symbol searches that we would constantly be
decoding doc section data all the time.

There is a chance that on a quiet instance we suddenly have a lot more
RAM sitting in the heap that doesn't get claimed back since it stays
alive. In that case the lazy decoding may in fact be better for them. As
such we document how to disable in the CHANGELOG.

For more details see the PR in zoekt
sourcegraph/zoekt#503

Test Plan: tested already on sourcegraph.com.
@keegancsmith keegancsmith requested review from a team and camdencheek January 9, 2023 13:23
@cla-bot cla-bot Bot added the cla-signed label Jan 9, 2023
@keegancsmith keegancsmith merged commit f3de11d into main Jan 9, 2023
@keegancsmith keegancsmith deleted the eager-rune-doc-section branch January 9, 2023 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants