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

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

@chrismwendt

Description

@chrismwendt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions