arXiv:2610.29689cs.DBOct 2026

Manuscript Offprint

arXiv:2610.29689

WaRP: Workload-Aware Request Planning for Vector Retrieval on Object Storage

Ruipeng Wan, Xinyu Zeng, Yiming Qiao, Huanchen Zhang

Abstract

Modern vector search systems keep payload vectors in cloud object storage and only a compact routing index on fast local storage, typically using cluster-based ANN indexes. This design inherits a problem existing systems do not address. On object storage, small Range-GETs have latency dominated by fixed per-request overhead and are billed per request. Existing readers either issue one request per probed cluster, or coalesce adjacent ranges with hand-tuned gap or span thresholds that do not transfer across datasets or query workloads.

We formulate the grouping of probed-cluster byte intervals into object-store requests as a global per-query optimization problem and present WaRP, a workload-aware request planner that solves it efficiently. Given the sorted byte intervals, a limit on the number of requests per query, and an estimate of how many object-store requests from one query can proceed concurrently under the target serving configuration, WaRP searches for a merge plan that minimizes a concurrency-aware latency surrogate while satisfying the request limit. Using an optimized dynamic program and adaptive frontier search, WaRP returns a plan within (1+ϵ)(1+\epsilon) of the optimum, with per-query planning overhead under 10 ms even in the most demanding tested settings. A lightweight offline reordering pass further improves request mergeability without changing the semantics of ANN search.

We implement WaRP inside Lance’s I/O scheduler and evaluate it on AWS S3. We build IVFPQ indexes on seven datasets, including SIFT100M and DEEP100M at the 100M-vector scale. WaRP + Re-order improves QPS by 1.09–3.48× and reduces GETs by 2.12–5.19× relative to Lance, while preserving Lance’s recall.

PVLDB Reference Format:

Ruipeng Wan, Xinyu Zeng, Yiming Qiao, Huanchen Zhang. WaRP. PVLDB, Vol. 20. Accept with Availability Check. Publication details to follow.

Xinyu Zeng

Modalink

xinyu@modalink.ai

Huanchen Zhang ∗^{*}

Tsinghua University

huanchen@tsinghua.edu.cn

Figure

Figure 1. S3 Range-GET latency. Per-request latency decomposed into time-to-first-byte and transfer time across payload sizes.

PVLDB Artifact Availability:

The source code, data, and/or other artifacts have been made available at https://github.com/wrp-wrp/WaRP.

1 Introduction

Large-scale vector search is increasingly deployed over disaggregated storage, with payload vectors placed in cloud object stores to reduce storage cost and decouple storage from compute [13, 15, 26, 45, 49, 50]. In these systems, a compact routing structure remains on fast local storage, while query execution first selects a probe set and then fetches the corresponding payloads remotely. This separation is well suited to cluster-based index families such as IVF [32] and IVFPQ [33], and to systems built on them such as SPFresh [55]. Once probing finishes, the system knows which cluster payloads are required, but it must still decide how to translate their byte intervals into remote requests.

Object-store Range-GETs have much higher fixed overhead than local reads and exhibit high tail latency. As Figure 1 shows, a 1 KB request takes roughly 25 ms, while a 1 MB request takes only about 30 ms. Small cluster reads are therefore dominated by per-request overhead. Object stores also charge per API request, so fragmented retrieval increases both latency and GET charges. Figure 2 makes the resulting choice concrete. Probe selection has picked three cluster payloads in the same object. Reading them separately takes three Range-GETs. Merging the first two saves one request and overfetches the 0.3 MiB gap between them. Merging all three leaves a single request but overfetches 2.7 MiB, because the last payload sits 2.4 MiB away. Probe selection determines the required cluster payloads. Request planning groups their byte intervals to balance per-request overhead against overfetch.

∗^{*}Corresponding author.

This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.

Proceedings of the VLDB Endowment, Vol. 20.

Final version details to follow.

Figure

Figure 2. Request plans for three probed cluster payloads.

Existing systems typically handle this stage with local coalescing heuristics, such as greedy merging with fixed gap thresholds [15, 36, 57]. Such hand-tuned rules are hard to rely on because the best thresholds vary across datasets and query workloads. We confirm this empirically in Section 7.2. Careful tuning works well on one dataset, but performance drops sharply when the same parameters are applied to another. Request planning is therefore better treated as a global optimization problem over the ordered payload intervals exposed after probe selection.

Another way to reduce per-request overhead is to cluster more coarsely when building the ANN index. Each remote read then covers more payload and amortizes the fixed overhead over a larger transfer. But this only shifts cost from I/O to compute and index maintenance without changing how requests are formed. In IVF terms, the index has fewer, larger clusters and the query probes fewer of them. As shown in Table 1, at matched recall the coarser setting cuts request count by 58% but enlarges the candidate set by nearly 50%, raising per-query compute. Larger clusters also weaken pruning, make updates and rewrites costlier, and limit flexibility under filters or mixed workloads. Tuning probe granularity is therefore not a substitute for solving request planning directly.

We propose WaRP, a workload-aware online request planner that addresses this trade-off, and pair it with an offline method that reorders IVF cluster payloads specifically for object-store request planning. Given a request budget, an estimate of how many object-store requests from one query can proceed concurrently under the target serving configuration, and a request-time surrogate calibrated offline from object-store measurements, WaRP returns a merge plan provably within (1+ϵ)(1+\epsilon) of the optimum, with per-query overhead under 10 ms even in the most demanding tested settings. By bounding the number of GETs per query, the request budget directly bounds the query's GET charge and provides a single knob for balancing that charge against latency. The reordering method places likely co-accessed clusters nearby, shrinking the gaps that merged reads must bridge and reducing overfetch. Request planning and reordering preserve probe selection and recall. For a fixed probe set, all methods retrieve the same clusters and differ only in how the selected payloads are laid out and fetched.

We implement WaRP inside Lance's I/O scheduler [36] and pair it with offline reordering of IVF cluster payloads. Across seven datasets on AWS S3 [3], WaRP + Reorder delivers 1.09−3.48×1.09-3.48\times the QPS of Lance and a 2.12−5.19×2.12-5.19\times GET reduction while preserving Lance's recall.

Table 1. Recall-Matched Comparison of Fine vs. Coarse Clustering on SIFT1M. Coarser clustering reduces requests but enlarges the candidate set, raising per-query compute.

SettingListsProbesRecall@10GET/qCand./q
Fine clustering40961920.997319257.4K
Coarse clustering1024800.99708085.0K

This paper makes four contributions. First, we identify request planning as a missing optimization layer between probe selection and payload retrieval in object-storage-backed ANN search. We formulate it as a global per-query optimization problem. Second, we make this optimization practical with an optimized dynamic program and adaptive frontier search. The resulting planner is fast enough to run on the query critical path. Third, we introduce offline reordering of IVF cluster payloads for object-store request planning, creating better merge opportunities with less overfetch while preserving probe selection and recall. Finally, we implement WaRP in Lance and evaluate its end-to-end performance across seven datasets on AWS S3.

References (16)