본문으로 건너뛰기
Skillpedia
데이터베이스40k · #7370

qdrant-scaling-qps

하는 일

Qdrant가 초당 처리할 수 있는 검색 수를 늘리도록 돕습니다. 각 검색을 더 빠르게 만드는 것과는 달리, 동시에 많은 요청을 처리하도록 시스템을 최적화하는 데 집중합니다.

사용하는 경우

  • ✓동시에 더 많은 검색에 응답해야 할 때.
  • ✓많은 사람이 동시에 시스템을 쓰기 때문에 검색이 느릴 때.
  • ✓많은 요청을 처리하도록 Qdrant를 설정할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-qps/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-qps/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Qdrant가 초당 더 많은 쿼리를 처리하게 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

초당 쿼리 수를 늘리기 위해, 쿼리당 자원을 덜 쓰도록 설정을 조정합니다. 예를 들어 검색을 묶거나 한 번에 쓰는 데이터 부분을 줄이는 것입니다. 그래도 부족하다면 작업을 나누도록 기계를 더 추가할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Scaling for Query Throughput (QPS)

Throughput scaling means handling more parallel queries per second. This is different from latency - throughput and latency are opposite tuning directions and cannot be optimized simultaneously on the same node.

High throughput favors fewer, larger segments so each query touches less overhead.

Performance Tuning for Higher RPS

Minimize impact of Update Workloads

  • Configure update throughput control (v1.17+) to prevent unoptimized searches degrading reads Low latency search
  • Set optimizer_cpu_budget to limit indexing CPUs (e.g. 2 on an 8-CPU node reserves 6 for queries)
  • Configure delayed read fan-out (v1.17+) for tail latency Delayed fan-outs

Horizontal Scaling for Throughput

If a single node is saturated on CPU after applying the tuning above, scale horizontally with read replicas.

  • Shard replicas serve queries from replicated shards, distributing read load across nodes
  • Each replica adds independent query capacity without re-sharding
  • Use replication_factor: 2+ and route reads to replicas Distributed deployment

See also Horizontal Scaling for general horizontal scaling guidance.

Disk I/O Bottlenecks

If it is not possible to keep all vectors in RAM, disk I/O can become the bottleneck for throughput. In this case:

  • Upgrade to provisioned IOPS or local NVMe first. See impact of disk performance to vector search in Disk performance article
  • Use io_uring on Linux (kernel 5.11+) io_uring article
  • In case of quantized vectors, prefer global rescoring over per-segment rescoring to reduce disk reads. Example in the tutorial
  • Configure higher number of search threads to parallelize disk reads. Default is cpu_count - 1, which is optimal for RAM-based search but may be too low for disk-based search. See configuration reference
  • If still saturated, scale out horizontally (each node adds independent IOPS)

What NOT to Do

  • Do not expect to optimize throughput and latency simultaneously on the same node
  • Do not use many small segments for throughput workloads (increases per-query overhead)
  • Do not scale horizontally when IOPS-bound without also upgrading disk tier
  • Do not run at >90% RAM (OS cache eviction = severe performance degradation)
자주 묻는 질문

검색 속도(지연 시간)와 초당 쿼리 수(처리량)의 차이는 무엇인가요?

지연 시간은 한 번의 검색에 응답하기까지 걸리는 시간입니다. 처리량은 시스템이 1초 동안 답할 수 있는 검색의 수입니다. 하나를 최적화하면 다른 하나가 나빠질 수 있습니다.

'세그먼트'는 무엇이며, 왜 초당 쿼리 수를 높이려면 적은 편이 좋은가요?

세그먼트는 데이터가 정리된 파일과 같습니다. 세그먼트가 적고 클수록 검색마다 접근해야 하는 파일이 줄어들어, 많은 검색을 빠르게 처리하는 목표에 더 효율적입니다.

'수평 확장'이란 무엇인가요?

작업을 나누기 위해 기계(또는 Qdrant 인스턴스)를 더 추가하는 것입니다. 최적화 후에도 기계 하나로 모든 요청을 처리할 수 없을 때 유용합니다.

상세 정보

작성자의 원본 설명

Guides Qdrant query throughput (QPS) scaling. Use when someone asks 'how to increase QPS', 'need more throughput', 'queries per second too low', 'batch search', 'read replicas', or 'how to handle more concurrent queries'.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7370
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬