qdrant-minimize-latency
하는 일
이 도구는 Qdrant라는 시스템의 데이터 검색 속도를 높이도록 돕습니다. 응답을 더 빠르게 만드는 조정 방법을 제안하며, 동시에 처리할 수 있는 검색 수가 줄어들 수 있습니다.
사용하는 경우
- ✓정보를 검색하는 데 시간이 너무 오래 걸릴 때.
- ✓가장 느린 응답 시간(P99 지연 시간)이 너무 높다는 것을 알았을 때.
- ✓개별 검색이 예상보다 오래 걸릴 때.
스킬 링크
https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/minimize-latency/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Qdrant 검색이 느린데, 어떻게 빠르게 할 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 프로세서를 더 잘 활용하도록 '세그먼트' 수를 늘리고, 중요한 데이터를 RAM에 보관하며, 검색 복잡도를 줄이라고 제안합니다. 또한 메모리를 너무 많이 쓰면 오히려 느려질 수 있다고 경고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Scaling for Query Latency
Latency of a single query is determined by the slowest component in the query execution path. It is sometimes correlated with throughput, but not always — throughput and latency are opposite tuning directions.
Low latency optimization is aimed at utilising maximum resource saturation for a single query, while throughput optimization is aimed at minimizing per-query resource usage to allow more parallel queries.
Performance Tuning for Lower Latency
- Increase segment count to match CPU cores (
default_segment_number: 16) Minimizing latency - Keep quantized vectors and HNSW in RAM (
always_ram=true) - Reduce
hnsw_efat query time (trade recall for speed) Search params - Use local NVMe, avoid network-attached storage
Memory Pressure and Latency
RAM is the most critical resource for latency. If working set exceeds available RAM, OS cache eviction causes severe, sustained latency degradation.
- Vertical scale RAM first. Critical if working set >80%.
- Use quantization: scalar (4x reduction) or binary (16x reduction) Quantization
- Move payload indexes to disk if filtering is infrequent On-disk payload index
- Set
optimizer_cpu_budgetto limit background optimization CPUs - Schedule indexing: set high
indexing_thresholdduring peak hours
Vertical Scaling for Latency
More RAM and faster CPU directly reduce latency. See Vertical Scaling for node sizing guidelines.
What NOT to Do
- Do not expect to optimize latency and throughput simultaneously on the same node
- Do not use few large segments for latency-sensitive workloads (each segment takes longer to search)
- Do not run at >90% RAM (cache eviction causes severe latency degradation that can last days)
- Do not ignore optimizer status during performance debugging
- Do not scale down RAM without load testing (cache eviction causes days-long latency incidents)
자주 묻는 질문
지연 시간이란 무엇인가요?
검색이 완료되기까지 걸리는 시간입니다. 지연 시간이 짧으면 응답이 빠르다는 뜻입니다.
RAM이 왜 중요한가요?
가장 많이 쓰는 데이터를 RAM에 두면 시스템이 훨씬 빠르게 접근할 수 있어 응답 시간이 줄어듭니다.
검색을 빠르게 하면서 동시에 검색 횟수도 늘릴 수 있나요?
일반적으로 그렇지 않습니다. 빠른 검색(낮은 지연 시간)에 최적화하면 검색 하나당 더 많은 자원을 쓰므로, 병렬로 실행할 수 있는 검색 수가 제한됩니다. 많은 검색(높은 처리량)에 최적화하면 검색 하나당 자원을 적게 씁니다.
상세 정보
작성자의 원본 설명
Guides Qdrant query latency optimization. Use when someone asks 'search is slow', 'how to reduce latency', 'p99 is too high', 'tail latency', 'single query too slow', 'how to make search faster', or 'latency spikes'.
repo: github/awesome-copilot
인기도
- GitHub 스타
- 40k
- 순위
- #7364
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
acquire-codebase-knowledge
40k에이전트가 기존 코드 프로젝트를 이해하고 문서화하도록 돕습니다. 새 구성원을 맞이하거나 아키텍처를 개괄적으로 파악할 때 유용합니다.
acreadiness-assess
40k에이전트가 프로젝트의 AI 준비 상태를 평가하고 보고서를 만들도록 합니다. 프로젝트가 AI 도구를 쓸 준비가 얼마나 되어 있는지 이해하는 데 유용합니다.
acreadiness-generate-instructions
40k에이전트가 평가 결과를 바탕으로 AI 도구를 위한 지침을 만들도록 돕습니다. AI가 코드와 상호작용하는 방식을 개선하고 확인된 공백을 메울 때 유용합니다.
acreadiness-policy
40k에이전트가 AI 프로젝트 평가를 위한 정책을 정의하거나 적용하도록 돕습니다. 프로젝트 평가 방식을 표준화하고 규정 준수를 보장할 때 유용합니다.
비슷한 스킬
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
clickhouse-io
280k에이전트가 ClickHouse 데이터베이스의 쿼리와 스키마를 최적화하도록 돕습니다. 고성능 분석 작업의 모범 사례를 적용합니다. 분석 쿼리가 느릴 때 씁니다.
scientific-db-pubmed-database
280k생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.