liveBook · Manning

Throughput

As explained in Effective Conversational AI

Throughput is the amount of work or number of requests a system processes per unit of time.

Throughput measures how many queries a system processes per unit of time, often expressed as queries per second. It helps assess whether a RAG system can handle high query volumes, but does not by itself measure retrieval accuracy. section 6.5.1 section 6.5.4

Higher accuracy and relevance can come with lower throughput when components require more computation. Compare throughput with latency, response quality, and resource use rather than optimizing it alone. section 6.5.4

Table 6.7 Evaluation of PharmaBot with various configurations
Metrics
Configuration 1
Configuration 2
Configuration 3
Response accuracy
Recall
0.85
0.87
0.88
Precision
0.75
0.77
0.78
F1 score
0.8
0.82
0.83
Relevance
Mean reciprocal rank (MMR)
0.70
0.72
0.74
Average precision
0.65
0.68
0.70
Latency
Average latency (ms)
50
55
60
Throughput
Queries/second
20
18
16
Resource utilization
CPU usage (%)
70
65
90
Memory usage
8
7
12

Compare PharmaBot configurations: their throughput ranges from 20 to 16 queries per second as accuracy and relevance rise, with latency and resource use also varying. section 6.5.4

How Effective Conversational AI covers it

How deep it goes
Measures throughput in queries per second and compares it alongside accuracy, latency, and resource use.
Examples
Compares PharmaBot configurations at 20, 18, and 16 queries per second alongside accuracy, latency, and resource-use metrics.
What you can do after
Evaluate RAG configurations by balancing query capacity against response quality, latency, and resource utilization.
How it connects
Connects throughput with latency, response accuracy, relevance, and resource utilization when comparing RAG configurations.

Also explained in

Compare how 20 books explain throughput →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Conversational AI. The section links point to the parts of the book it draws on.