Skip to content

Improve HNSW vector index niceness (async searchLayer) #693

Open

Description

@kriszyp

1. Async searchLayer to yield event loop

searchLayer is a synchronous traversal that can run long enough to starve other I/O. Converting it to an async function that occasionally awaits (e.g., every N iterations) would improve concurrency characteristics without meaningfully impacting throughput.

Activity

  1. self-assigned this
    on May 21, 2026
  2. added
    enhancementNew feature or request
    from-jiraMigrated or originated from a Jira ticket
    area:performancePerformance, latency, throughput
    area:searchVector search, HNSW, full-text search
    on May 21, 2026
  3. changed the title [-]Improve HNSW vector index performance (sort + async searchLayer)[/-] [+]Improve HNSW vector index niceness (async searchLayer)[/+] on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:performancePerformance, latency, throughputarea:searchVector search, HNSW, full-text searchenhancementNew feature or requestfrom-jiraMigrated or originated from a Jira ticket

Type

No type

Fields

Priority

P2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions