multi_search: per-search latency includes time spent waiting behind earlier searches in the same request
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
- 领域
- observability, search
调研方向
Start at the /multi_search request handling and per-search latency measurement, then trace how timings feed typesense_search_95Percentile_latency_ms. Compare when each search starts with when its execution is measured. Done when the metric reflects individual search execution time, or separates waiting time from execution time, while preserving the request wall time.
由索引模型根据 Issue 内容生成。
描述
In v30.1 the searches of one /multi_search request run one after another, and each is timed from when the whole request arrived. A 50-search request that takes 7.5 s records searches from ~0.15 s to 7.5 s, so the search latency percentiles report the wait inside the batch as search time.
Could each search be timed from its own start (or both: wait and execution) so the percentiles show real search cost?
Context: observed on Typesense v30.1 with daily batch jobs sending /multi_search requests of 50 vector searches each (about one such request per second); the per-request wall time shows up as 4-7 s spikes in typesense_search_95Percentile_latency_ms while individual searches cost ~150-500 ms.
- 主要语言
- C++
- 星标
- 27.2k
- 派生
- 1k
- 平均合并
- 5 天 3 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
typesense/typesense 的其他 Issue
-
pre-triage
难度 2/5 1-3 小时 新手友好度 75/100
typesense/typesense#3070 · 1 条评论 ·
维护者通常 1 天内回复
-
Bundled OpenSSL is pinned to 3.0.5, and the 3.0 branch reached end of life on 7 September 2026可能已有人在做 @mbkkong 于 66 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
feature-request
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[Feature Request] Skip regenerating auto-embeddings on update when the source fields haven't changed未关闭feature-request
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
typesense/typesense#2932 · 1 个 reaction ·
维护者通常 1 天内回复
查看 typesense/typesense 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
维护者通常 10 天内回复
-
Server crashes when a mob dies to poison可能已有人在做 @joelstiller 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
DarkCastleMUD/DarkCastle#305 ·
维护者通常 1 天内回复
-
[Issue]: RAS status report lists the wrong pids for an outlier node可能已有人在做 @bhargavchintam 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Niko1221/Strata#7365 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
BenjaminPoilve/minichord#203 ·