arXiv:2609.00877cs.DCSep 2026

Manuscript Offprint

arXiv:2609.00877

Prediction-Robust Service Deployment with Capacity-Aware Edge Admission

Hailiang Zhao, Ziqi Wang, Yifei Zhang, Mingyi Liu, Xinkui Zhao, Kingsum Chow, Shuiguang Deng

Hailiang Zhao, Ziqi Wang, Yifei Zhang, Mingyi Liu, Xinkui Zhao, Kingsum Chow, and Shuiguang Deng

Abstract—Edge platforms instantiate executable services close to users to reduce request-serving cost, but each instance incurs a one-time deployment cost and remains useful only for a finite time-to-live (TTL). The resulting online decision is both prediction-sensitive and capacity-coupled: an optimistic forecast can waste deployment cost, whereas a delayed decision misses the burst it is intended to serve. We study this problem under a common TTL cost model and propose CAPSUM, a capacity-aware admission policy with an elastic specialization, CAPSUM-E. In the local elastic setting, every node-service trace is exactly a variable-price Bahncard instance. This reduction lets CAPSUM-E inherit PFSUM's tight prediction-error-dependent ratio, including 2/(1+β)2/(1+\beta) consistency and 1/β1/\beta robustness for β>0\beta > 0. A redirect-aware variant preserves the same local deployment schedule. For finite-capacity nodes, CAPSUM combines size-scaled break-even tests, a utilization-dependent shadow price, and evidence-density eviction; we prove capacity feasibility, scale invariance, and exact agreement with CAPSUM-E under an elastic configuration. We implement an exact local offline dynamic program and compare against direct common-model baselines and documented source-derived adapters for EDP-A, OREO, and uEDC-L. Experiments cover controlled prediction error, three synthetic demand regimes, a causal predictor on a public Globus Compute trace, and joint scaling to 1,024 nodes and 10,000 services. Under the common model, CAPSUM reduces normalized cost by 33.7–42.9% relative to the best source-derived adapter across the synthetic regimes and by 45.5% on the sampled trace.

Index Terms—Edge service deployment, edge computing, learning-augmented algorithms, online algorithms, and competitive analysis.

I. INTRODUCTION

Edge platforms increasingly host stateless microservices and serverless functions close to users. A nearby instance can avoid a wide-area round trip and reduce the per-request resource cost, whereas a cold instance must first fetch an image, initialize its runtime, and reserve execution state. These effects make edge deployment a rent-or-buy decision: paying an up-front instantiation cost is worthwhile only if the requests served during the instance's useful lifetime recover that cost. Contemporary systems make this decision amid geographic demand shifts, short-lived hotspots, and heterogeneous service footprints. Consequently, a placement chosen from a global average popularity can be economically wrong at an individual edge node even when the global forecast is accurate.

Figure 1 illustrates the setting. A crowd of AR users may create a local burst at e1e_1, and then move towards e2e_2 before an instance at e1e_1 expires. Sending all requests to the origin avoids an unnecessary deployment but repeatedly incurs the origin-serving cost during the burst. In contrast, deploying whenever a predictor signals demand can pay for an instance after a false alarm or just as the demand leaves the node. Deploying only after observing the burst is also inadequate: the past workload cannot be served retroactively by the newly created instance. The decision must therefore be local in space, forward looking in time, and safe when the forecast is wrong.

The literature has made substantial progress on joint service placement, task scheduling, and resource allocation. These formulations typically optimize a coupled, capacity-limited system through centralized optimization or learned policies [1], [2], [3]. They address important orchestration objectives but do not isolate the online decision that precedes, or accompanies, capacity admission: given an inactive service at one edge, should the node create a TT-valid instance despite uncertain future demand? Recent prediction-assisted service-caching and offloading policies likewise exploit time-varying demand [4], but prediction accuracy alone provides no worst-case safeguard. An adversarially optimistic forecast can induce a deployment whose realized workload is insufficient to amortize its cost.

We first isolate an uncapacitated deployment layer. Its decision object is an executable service instance with a prescribed time-to-live (TTL), rather than a cache item whose paid lifetime may be terminated by an unrelated admission. This scope captures serverless warm starts, image prefetching, and elastic edge storage while separating prediction robustness from cache admission, CPU scheduling, and dependency-aware placement. The resulting local decision has an exact economic break-even point: only workload arriving after deployment and before expiry can amortize the instantiation cost. Consequently, aggregating past and predicted workloads into one statistic loses the relevant temporal asymmetry. Section V then introduces finite capacity and explicitly permits early eviction without refunding the sunk instantiation cost.

Learning-augmented online algorithms are designed precisely for this setting: they can benefit from accurate advice while retaining an explicit bound under arbitrary advice [5], [6]. PFSUM, developed for the variable-price Bahncard problem, combines recent observations with a short-horizon workload prediction [7]. We show that its two guards have a direct systems interpretation. The historical guard filters a single unsupported optimistic forecast; the future guard tests whether an instance bought now can still generate sufficient savings during its own TTL. Neither guard alone supplies both properties.

H. Zhao, Z. Wang, Y. Zhang, X. Zhao, and K. Chow are with the School of Software Technology, Zhejiang University, Ningbo 315048, China (e-mail: hliangzhao@zju.edu.cn; wangziqi0312@zju.edu.cn; zhangyifei@zju.edu.cn; zhaoxinkui@zju.edu.cn; kingsum.chow@zju.edu.cn).

M. Liu is with the Faculty of Computing, Harbin Institute of Technology, Harbin 150001, China (e-mail: lmy@hit.edu.cn).

S. Deng is with the College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China (e-mail: dengsg@zju.edu.cn).

(a) Geographically shifting demand

Figure

(b) TTL rent-or-buy evidence

Figure

Figure 1. Motivating scenario for decentralized TTL-based edge service deployment. Requests are spatially localized and may move between edge zones before an instantiated service expires. Origin-only service forgoes savings during a burst; forecast-only deployment can incur cost CC after a false alarm or demand migration; and a history-only policy deploys too late to serve a completed burst. The decision is whether an edge should instantiate a service for TTL TT from its local stream and a short-horizon forecast while retaining robustness to prediction error.

The edge setting raises two further questions. First, can every node apply this principle using only local history and local forecasts while retaining a system-wide guarantee? Second, what remains true when a request can be served by a live instance at another edge node? We answer the first through an exact decomposition: under local-only serving and the uncapacitated assumption, every node-service stream is an independent Bahncard instance. We answer the second with a redirect-aware extension whose deployment schedule is intentionally unchanged from the analyzable local policy; redirection is used only when that policy would otherwise forward a request to the origin. This separation is essential because an arbitrary coordinator that suppresses a locally justified deployment changes the online policy and cannot inherit the local competitive proof automatically.

Our contributions are as follows.

  1. We formulate decentralized TTL service deployment with explicit instantiation, lifetime, request-serving, prediction-error, and redirection semantics, and separate the analyzable elastic layer from finite-capacity admission.

  2. We develop CAPSUM-E as a decentralized safety layer and prove an exact PFSUM reduction, local trace equivalence, and a tight κ(η)\kappa(\eta) bound. We further derive an offline-cost-weighted aggregate error certificate. Its redirect-aware extension preserves the deployment schedule and is κ(η)/β\kappa(\eta)/\beta-competitive against the redirectable offline benchmark for β>0\beta > 0.

  3. We extend the method to finite-capacity nodes as CAPSUM. Its size-scaled dual evidence, local shadow price, and evidence-density eviction make every action capacity feasible; we prove scale invariance and exact agreement with CAPSUM-E in the elastic configuration. The finite-capacity policy is not claimed to inherit the PFSUM ratio.

  4. We build a reproducible simulator with an exact local offline dynamic program, direct common-model baselines, and documented source-derived adapters for EDP-A, OREO, and uEDC-L. The 895-run evaluation mirrors the claims: exact-offline and prediction-error studies test the elastic mechanism, whereas ablation, synthetic-regime, causal-trace, and joint-scale studies test finite-capacity admission.

The remainder of this paper is organized as follows. Section II

reviews related work. Section III defines the deployment model. Section IV presents CAPSUM-E and its local-model analysis. Section V gives the capacity-aware extension, and Section VI considers request redirection. Section VII reports the reproducible evaluation, and Section VIII concludes.

References (33)