Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Use streaming search for faster time-to-first-result #703

Open
chrismwendt opened this issue Oct 26, 2021 · 0 comments
Open

Use streaming search for faster time-to-first-result #703

chrismwendt opened this issue Oct 26, 2021 · 0 comments

Comments

@chrismwendt
Copy link
Contributor

chrismwendt commented Oct 26, 2021

There's a nifty API called stream search https://sourcegraph.com/.api/search/stream?q=asdf which gives you first results quicker than via GraphQL. This could speed up some search-based code intel operations.

Open questions:

  • How much of a latency improvement would we get? I'm seeing CodeIntelSearch requests taking ~110ms on Sourcegraph.com, which seems pretty fast already

Originally from Slack.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant