मुख्य सामग्री पर जाएँ
Skillpedia
डेटाबेस40k · #7370

qdrant-scaling-qps

यह क्या करती है

यह गाइड बताती है कि Qdrant एक सेकंड में कितनी searches संभाल सकता है और इसे कैसे बढ़ाएँ। इसमें ध्यान सिस्टम को एक साथ ज़्यादा requests संभालने पर है, न कि किसी एक search को तेज़ करने पर।

कब इस्तेमाल करें

  • ✓जब आपको सिस्टम को एक साथ ज़्यादा searches का जवाब देना हो।
  • ✓जब बहुत सारे लोगों के एक साथ इस्तेमाल से searches धीमी हो रही हों।
  • ✓जब Qdrant को भारी मात्रा में requests के लिए सेट करना हो।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-qps/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं Qdrant को प्रति सेकंड ज़्यादा queries संभालने लायक कैसे बनाऊँ?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

प्रति सेकंड ज़्यादा queries के लिए आप ऐसी settings बदल सकते हैं जिनसे हर search में कम संसाधन लगें, जैसे searches को group करना या एक बार में कम database हिस्से इस्तेमाल करना। अगर इतने से काम न चले, तो काम बाँटने के लिए और मशीनें जोड़ी जा सकती हैं।

तकनीकी सामग्री (मूल 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)
अक्सर पूछे जाने वाले सवाल

search speed (latency) और queries per second (throughput) में क्या फ़र्क है?

Latency वह समय है जो एक search का जवाब आने में लगता है। Throughput यह है कि सिस्टम एक सेकंड में कितनी searches का जवाब दे सकता है। एक को सुधारने से दूसरा बिगड़ भी सकता है।

'segments' क्या हैं और प्रति सेकंड ज़्यादा queries के लिए कम, बड़े segments बेहतर क्यों हैं?

Segments वे फ़ाइल-जैसे हिस्से हैं जिनमें डेटा व्यवस्थित रहता है। कम और बड़े segments होने पर हर search में Qdrant को कम फ़ाइलें खोलनी पड़ती हैं, जो बहुत सारी searches तेज़ी से निपटाने के लिए ज़्यादा कारगर है।

horizontal scaling क्या है?

Horizontal scaling का मतलब है काम बाँटने के लिए ज़्यादा मशीनें (या Qdrant instances) जोड़ना। यह तब काम आता है जब optimization के बाद भी एक मशीन सारी requests न संभाल पाए।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

acquire-codebase-knowledge

40k

आपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-assess

40k

आपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-generate-instructions

40k

आपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-policy

40k

आपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।

AI और एजेंटएजेंट

मिलती-जुलती skills