Performance reference
This topic reports measured latency for vector retrieval on a single Slice in two scenarios: cold slice queries and warm slice queries. Before a cold slice query, the query node has no data for that Slice in its local cache and reads all required data from object storage. Before a warm slice query, the test uses _warm_slice to load the Slice into the query node's local cache. The November 2026 results apply only to the test conditions below. They do not constitute a product SLA. Before making a selection, verify latency and recall using your own business data and queries.
1. Test conditions
|
Item |
Description |
|
Data storage |
Data is persisted in Object Storage Service (OSS). Query nodes read the data on demand and cache it on local disks, which is the local cache. |
|
Test data |
Text vectors from real business scenarios: 1024-dimensional |
|
Queries |
The test uses only vector KNN queries. Each query specifies one Slice using |
|
Recall |
recall@10 is approximately 90.6%. |
|
Latency definition |
The time from when the stress test client sends a request to when it finishes receiving the response, including queuing and network latency. The stress test machine and the cluster are in the same region and are connected over an internal network. |
2. Cold slice queries
Test method: Only one query is sent at a time. The local cache of the query node is cleared before each query, so that a fully cold scenario is constructed in the test environment and all the data required by the query is read from object storage. Each tier uses 334 queries.
|
Slice size |
P50 |
P90 |
P99 |
|
1 million documents |
340 ms |
413 ms |
513 ms |
|
5 million documents |
555 ms |
643 ms |
783 ms |
|
10 million documents |
817 ms |
975 ms |
1,144 ms |
3. Warm slice queries
Test method:
-
The 30 Slices of the three tiers are placed on the same query node and are first warmed into the local cache by using
_warm_slice. These 30 Slices occupy approximately 690 GB in the local cache, which is far larger than the node memory. During a query, a small portion of the data is in memory and most of it is read from local disks. -
Queries are sent continuously at 8 QPS in an open-loop, fixed-rate manner, and the queries are distributed across the 30 Slices in turn. At this point, the CPU utilization of the query node is approximately 11%.
-
The queries in the first 3 minutes are excluded from the statistics, and all the queries within the following 6 minutes are counted (2,880 queries in total for the three tiers).
|
Slice size |
P50 |
P90 |
P99 |
|
1 million documents |
21 ms |
29 ms |
37 ms |
|
5 million documents |
40 ms |
52 ms |
74 ms |
|
10 million documents |
49 ms |
60 ms |
73 ms |
4. Notes
-
Latency is affected by the Slice size, vector dimensions, concurrent load, cache hit ratio, and filter conditions.
-
Recall is related to
num_candidates,visit_percentage, andrescore_vector.oversample. For the rules on how these parameters take effect and the tuning methods, see Tune vector search accuracy and speed: DiskBBQ. Evaluate both recall and latency based on your business data.