typesense / typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Home Page:https://typesense.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Silly question] How does search speed scale with CPUs for a single query

aaroncueckermann opened this issue · comments

Description

Sorry but I couldn't find an explicit answer to this in the docs so posting here.

For a single search query (not concurrent queries) will more vCPUs make the query faster i.e. does query speed scale ~linearly with the number of vCPUs.

Are there other ways I can make my searches faster given my context?

Context

We have a low query volume but user expectations of very fast response time, we have low 10s of millions of documents with ~8 query_by fields and pretty gnarly dynamic filtering conditions (leads to slow response time [1-2s]).

@aaroncueckermann

We've been spending a lot of time on our query planner recently to handle single-search query performance. Some of these changes will be available in the upcoming release. Please email us on contact@typesense.org with details and we can discuss how we can help.