Manuscript Offprint
arXiv:2609.06021Delay and Throughput Analysis of Computation Offloading in Mobile Edge Computing: A Queueing Network Approach
Amirparsa Bahrami, Farid Ashtiani, Senior Member, IEEE
Abstract—Mobile edge computing (MEC) enables mobile devices to offload computation to nearby edge servers and to the cloud in order to reduce end-to-end delay for applications such as AR/VR, real-time inference, and sensor-driven analytics. In this paper, we study static computation offloading when each task consists of multiple dependent subtasks represented by a rooted directed tree. We develop a product-form queueing-network (PFQN) model with an approximation to capture the computation and communication dynamics of tree-structured task execution in a multi-tier MEC system. Based on this model, we derive closed-form expressions for effective server utilizations and waiting times, and then construct a recursive algorithm for evaluating the average delay of general tree-structured tasks. We formulate the static offloading design problem as the minimization of the rate-weighted average task delay over the routing probabilities, and solve it through a differentiable optimization framework based on softmax parameterization, log-sum-exp smoothing, and a stability barrier on server utilizations. Numerical results show that the proposed PFQN approximation provides accurate delay estimates and that the delay-optimized static policy consistently outperforms the considered baseline algorithms in terms of both average task delay and empirical maximum stable throughput.
Index Terms—Mobile edge computing, computation offloading, product-form queueing networks, static routing, delay optimization, queue stability, maximum stable throughput.
I. INTRODUCTION
Low latency is essential for many emerging mobile applications, including AR/VR, real-time inference, video analytics, and sensor-driven analytics. In such systems, user experience depends on end-to-end response time rather than only on raw computing power [1], [3]. However, mobile devices and IoT nodes are often limited in computation capability, energy, and memory. This has made computation offloading a crucial design mechanism: instead of processing every task locally, a device may execute part or all of its workload on a nearby edge server or in the cloud [2], [4], [15].
Mobile edge computing (MEC) provides the architectural support for this paradigm by placing computing resources close to users while still allowing access to remote cloud resources when needed [1]–[3]. In a typical MEC system, the offloading decision affects multiple interacting components of delay, including communication delay, queueing delay, and computation delay. These components become strongly coupled when multiple users share the same edge server or cloud access link. Therefore, accurate delay modeling is important for designing effective offloading policies.
A large body of prior work has studied computation offloading in MEC from the viewpoints of delay minimization, energy efficiency, resource allocation, robustness, and learning-based adaptation [4], [5], [7], [15]–[19], [23].
In particular, queueing-theoretic analysis has long been used in MEC to capture congestion effects and derive latency-aware offloading rules. Existing queueing-based MEC studies, however, mainly fall into three groups.
First, several works use relatively simple queueing models to represent one bottleneck or one stage of the offloading path, and then optimize task assignment or server selection on top of that model. For example, Xue et al. study task allocation in a 5G heterogeneous MEC network using a queueing-theoretic model, while Katayama and Tachibana derive delay expressions for a MEC platform with a dedicated MEC server, a shared MEC server, and a cloud server, where the shared server is modeled as a queueing bottleneck [11], [12]. These works demonstrate that queueing models are useful for latency-aware offloading, but they mainly treat tasks as monolithic jobs and focus on server-level congestion rather than the internal traffic dependencies created by structured applications.
Second, another line of work uses queueing models to derive delay-related or QoS-oriented performance measures in multi-tier offloading systems. For example, queue-length-based offloading rules have been proposed for delay-sensitive applications in federated cloud-edge-fog systems by explicitly targeting the probability of QoS violation, and Markovian queueing models have been used for end-to-end delay analysis in computation offloading systems [13], [14]. These works are analytically valuable, but the traffic they study is still generated by single-stage tasks or independent requests, rather than by structured task execution in which one completed component may trigger multiple downstream operations.
Third, some recent MEC studies adopt richer stochastic or queue-aware models, often together with learning-based control, in order to better capture congestion and dynamic system behavior. Recent works include QoE-oriented deep reinforcement learning for distributed MEC offloading, as well as more recent dependency-aware deep reinforcement learning approaches that explicitly consider task graphs in MEC environments [5], [6]. These approaches improve adaptivity, but they are primarily algorithmic and simulation-driven, and they do not provide an analytical delay model for dependent task graphs.
On the other hand, modern MEC applications are rarely monolithic. Instead, they often consist of multiple dependent subtasks, where the output of one subtask is needed before another can start. Task graphs provide a natural representation for such workloads, and several MEC and edge-computing studies have used directed acyclic graph (DAG)-based models.
The authors are with the Department of Electrical Engineering, Sharif University of Technology, Tehran 14588-89694, Iran (e-mail: amirparsa2828@gmail.com; ashtianimt@sharif.edu) to express subtask precedence, placement, and offloading decisions [6], [8], [10], [20]–[22].
In this paper, we focus on the important special case in which the task graph is a rooted directed tree. This structure still captures branching and multi-stage applications, while avoiding some of the combinatorial complexity of general DAGs.
The key difficulty is that task dependencies fundamentally change the traffic seen by the servers. Even if external task arrivals are Poisson, the completion of one subtask may immediately trigger a batch of computation load units or data units for its children. Hence, the internal traffic is correlated and bursty rather than independent. Existing queueing-based MEC papers typically model congestion caused by multiple users sharing computing servers or communication bottlenecks, and they use these models to derive delay-aware offloading rules. However, to the best of our knowledge, they do not explicitly capture the additional correlation created when the completion of one subtask initiates a batch of downstream computation or communication operations. This is the main gap addressed in this work.
To bridge this gap, we develop an analytical framework for static computation offloading in multi-tier MEC systems with tree-structured task graphs. Our approach models the system through a product-form queueing-network (PFQN) approximation with a congestion-correction step that preserves tractability while capturing the additional delay induced by correlated batched internal traffic. Using the resulting closed-form utilizations and waiting times, we derive a recursive delay-evaluation algorithm for general task trees and optimize the routing probabilities of a static offloading policy through a differentiable formulation.
Compared with recent learning-based MEC offloading works, our framework provides an interpretable analytical surrogate for delay evaluation and policy optimization. Compared with existing queueing-based MEC studies, it explicitly links dependent subtask execution, the correlated internal traffic created by task progression, and end-to-end task delay under a static routing policy. This makes the framework particularly suitable for fast performance evaluation and static policy design in structured MEC workloads.
The main contributions of this work are summarized as follows:
• We develop a PFQN-based analytical framework for multi-tier MEC systems with tree-structured task graphs, including a congestion-correction mechanism that captures the delay effect of correlated batched internal traffic and yields closed-form expressions for effective utilizations and waiting times.
-
We derive a recursive algorithm for evaluating the average delay of general tree-structured tasks and formulate the static offloading problem as the minimization of the rate-weighted average task delay over the routing probabilities.
-
We solve the resulting optimization problem through a differentiable framework based on softmax parameterization, log-sum-exp smoothing, and a stability barrier on server utilizations.
-
Through numerical experiments, we show that the proposed approximation remains accurate over a broad set of stable routing policies, and that the delay-optimized static policy consistently outperforms the considered baseline algorithms in both average task delay and empirical maximum stable throughput.
The rest of the paper is organized as follows. Section II presents the system and task models. Section III develops the PFQN-based queueing approximation and the congestion-correction step. Section IV derives the average task-delay metric and presents the recursive delay-evaluation algorithm. Section V formulates and solves the static offloading optimization problem. Section VI reports numerical validation and compares the optimized policy with baseline algorithms.
Table I summarizes the main notation used throughout the paper.
A. Computing Nodes
We consider a heterogeneous computing system consisting of N servers, indexed by
which may represent mobile devices, mobile edge computing (MEC) servers, or mobile cloud computing (MCC) servers [1], [2]. We denote by , , and the numbers of mobile users, edge servers, and cloud servers, respectively, so that
We explicitly distinguish between servers located at the edge of the network (mobile devices and MEC servers) and servers hosted in remote data centers, because these two categories have markedly different latency and computational characteristics; this edge–cloud hierarchy is standard in MEC and mobile cloud computing architectures [1], [3].
The edge set contains all mobile users and MEC servers, i.e.,
while the cloud set contains all MCC servers, i.e.,
Each server is modeled as a single-server first come first served (FCFS) queue with exponential service time. The mean service time at is , where is the (computational or transmission) service rate. This M/M/1-type abstraction is widely used in queueing-theoretic studies of MEC and task offloading [1], [11]. Although the framework can be extended to more general service time distributions at the cost of increased analytical and computational complexity.
TABLE I SUMMARY OF MAIN NOTATION
| Symbol | Description | Symbol | Description |
|---|---|---|---|
| Total number of computing and communication servers | Server indexed by | ||
| Numbers of user devices, MEC servers, and cloud servers | Sets of edge and cloud servers, respectively | ||
| Connection zone of server | Service rate of edge server and transmission rate of cloud queue | ||
| Task of type | Number of subtasks in and its mth subtask | ||
| Set of children of subtask | Child of having the smallest BFS index | ||
| Number of computation load units of subtask | Number of result-data units produced by subtask | ||
| Dependency-data units transferred from to | Input-data units required to initiate the root subtask | ||
| External arrival rate of type- tasks generated by user | Aggregate external arrival rate of type- tasks | ||
| Probability of routing the root of a task generated at to | Probability of routing child from its parent server to | ||
| Collection of all static routing probabilities | Aggregated data workload when and its descendants are assigned to cloud server | ||
| Batch size generated when subtask is assigned to | Initiation rate of subtask at server | ||
| Nominal arrival rate of individual computation or data units at | Batch-correlation congestion-correction term at | ||
| Rate of the redundant Poisson stream added at | Batch-corrected utilization of server | ||
| Average queueing waiting time at server | Execution-server scenario for the children of a star-shaped task | ||
| Probability of scenario conditioned on completion of the parent at | Mean processing or transmission time of child at server | ||
| Delay contribution of server under scenario | Recursively evaluated delay of the subtree rooted at when its root is processed at | ||
| TaskET() | Average completion delay of task type | Network-wide rate-weighted average task delay |
Servers may offload subtasks to other servers within their connection zone. The connection zone of server is denoted by
and we always have for . This connectivity-constrained offloading model, where each node can only forward tasks to a subset of servers, also appears in recent MEC task-allocation formulations [11].
B. Task Model
Each mobile user generates computation tasks that can be decomposed into a set of dependent subtasks. We explicitly model the dependencies among subtasks using a directed rooted tree, as is standard in task-graph based offloading for MEC and mobile cloud systems [8].
There are task types in the system. A task of type is denoted by and represented as
where is the set of vertices (subtasks) and is the set of directed edges (precedence constraints). We write
where is the number of subtasks of type- tasks. The directed edges encode data dependencies:

Fig. 1. Example of BFS indexing for a task tree.
An edge indicates that part of the output produced by subtask is needed as input to subtask , and therefore can start only after has completed and its result is available at the server where is executed.
Vertices are indexed according to a breadth-first search (BFS) traversal starting from the root of the tree. Specifically, we scan the tree level by level, from the root to the leaves, and assign indices in the order in which the subtasks are visited [9].
For each subtask of task , we denote by
its set of children in the task tree. When needed, we refer to the child in with the smallest BFS index as the first child and denote it by .
Computation load units. We model the computation associated with each subtask at a finer granularity by introducing the notion of a computation load unit. A load unit is the smallest amount of computation that can be processed by a server. A larger or more complex subtask is modeled as the aggregation of multiple load units, following standard queueing-theoretic modeling of phase-type service times [31].
Specifically, the computation load of subtask is described by a positive integer , meaning that computing consists of processing independent load units. When the subtask is executed at server , each load unit experiences an exponential service time with mean . Hence, the total computation time of at is the sum of i.i.d. exponential random variables, i.e., an Erlang distribution [31].
Dependency and result data units. We model communication at a similar level of granularity. A data unit is the smallest indivisible amount of data that can be transmitted over a link.
For each edge , we let denote the number of dependency data units that must be transferred from the server executing to the server executing so that can start. These dependency data units are formed from (part of) the result produced by subtask and contain the information needed to initiate the computation of .
We also define as the number of data units that must be transmitted from the originating mobile user to the server that executes the root subtask , in order to provide the input data required to initiate .
Each subtask produces a certain amount of result data that must eventually be delivered back to the task origin when the task completes. We denote by the number of result data units associated with subtask . If is not a leaf in the task tree, we set .
The time required to transmit a single data unit over a given communication link is modeled as an exponential random variable. This memoryless approximation captures the service time variability introduced by wireless channel fluctuations, packet errors, and possible retransmissions [32]. Hence, the time to transmit d data units over that link is the sum of d independent exponential random variables, i.e., an Erlang distribution, which is consistent with classical queueing models [31].
Illustrative example. Consider a parent subtask that completes at server and has two children, and , with and . Suppose that is assigned to server , while is assigned to the same server as its parent. In this case, the three dependency data units associated with the edge are transmitted from to , whereas no data transmission is required for the edge . Thus, routing decisions are made at the subtask level: all dependency data units associated with an edge follow the server assignment of the corresponding child subtask and are not routed independently.
C. Offloading Model and Task Completion Time
Task arrivals. Mobile user , , generates tasks of type according to a Poisson process with rate . Different users and task types are independent, which is a standard assumption in queueing-based models of MEC and mobile cloud offloading [1], [4].
Execution of subtasks. When a new type-k task is generated at user , its root subtask can either be processed locally at or offloaded to some server . Offloading incurs a transmission delay that depends on the number of input data units and the communication rate between and .
More generally, suppose subtask is executed at server . For each child there are two options: (i) compute at the same server , or (ii) offload to some . If is offloaded from to , the dependency data consisting of units (derived from the result of ) must be transmitted from to , incurring an additional transmission delay. If is processed locally at , no dependency transmission delay arises for that edge.
We denote by and the time instants at which processing of starts and completes (including both communication and computation for that subtask), respectively.
Task completion delay. The completion time of an entire type-k task is defined as the time elapsed between the start of the first subtask and the completion of the last subtask:
Since the task graph is a rooted tree, the earliest-starting subtask is always the root . Hence
Edge-cloud tradeoffs. At the edge of the network (mobile users and MEC servers), the main bottleneck is the limited computational power, while communication between nearby nodes is relatively fast. Because of this, we assume that, for intra-edge offloading (e.g., between a user and an MEC server or between two MEC servers), the transmission delays of dependency and result data are negligible compared to the computation delays. In other words, for offloading decisions that remain inside E, the dominant contribution to delay is computation, in line with standard MEC system models [1].
Cloud servers in reside in remote data centers. They typically offer much larger computational capacity than edge servers, but communication to and from them incurs higher latency than local communication. To capture this tradeoff, we model computation at cloud servers as effectively instantaneous (we take for ), while communication between the edge and each cloud server is represented by a dedicated FCFS queue (the cloud queue) with exponential service rate which corresponds to the available data rate on the edge–cloud link [1], [2].
Thus, when a subtask (or a group of subtasks) is offloaded to cloud server , we only model the time spent in the cloud queue of ; once the required data have reached the cloud, the computation is assumed to complete essentially instantaneously.
A key modeling assumption is that, once a subtask is offloaded to the cloud, all of its descendant subtasks in the task tree are also executed in the same cloud server. This reflects the following practical considerations: after paying the cost of sending the intermediate result from the edge to the cloud, it is usually preferable to keep subsequent processing in the cloud, where computational resources are abundant; moreover, moving intermediate results repeatedly between edge and cloud would incur additional end-to-end delay and extra data transfer overhead, which is typically undesirable for latency sensitive applications [8].
Under this assumption, when subtask is offloaded to cloud server , we aggregate the dependency data needed to start (either from the task origin if , or from its parent subtask if ) together with all result data produced by the descendants of , which must eventually be returned to the edge when the task completes, into a single cloud-queue workload.
Formally, we define the total number of data units injected into the cloud queue of as
where and are defined as in the previous subsection, is the indicator function, and the summation is taken over all descendants of in the task tree.
D. Static Computation Offloading Policy
Given the task and system models above, the main design degree of freedom is where each subtask is executed. We focus on static computation offloading policies: offloading decisions are expressed as fixed routing probabilities that do not depend on instantaneous queue states.
In general, two broad classes of offloading policies can be distinguished: static policies, in which the server–allocation decisions for subtasks are specified by fixed probabilities and do not depend on instantaneous queue lengths or other fast-varying system state; and dynamic policies, in which offloading decisions are updated at each decision epoch based on the current state of the system (e.g., queue lengths, estimated delays). This classification is widely used in the MEC offloading literature [1], [4].
Dynamic policies can in principle react to congestion in real time, but they incur significant signaling and coordination overhead, especially when the number of servers and users is large. In contrast, static policies only require statistical information about arrival rates and service capabilities, and the offloading decisions can be precomputed and stored as routing tables at the servers. In this work, we adopt a static policy and optimize its routing probabilities to minimize the average task completion delay.
Routing of root subtasks. Consider a task of type generated by mobile user , where . The root subtask of this task is . When the task is generated, the system decides whether is processed locally at or offloaded to some server in the connection zone .
We denote by
the probability that the root subtask of a type-k task generated at user is sent for execution to server . These root-routing probabilities satisfy:
Hence, the root of each arriving task is always sent to one of the servers in the user's connection zone, according to a fixed probability distribution.
Routing of child subtasks. Now consider a generic subtask of a type-k task. For each child , we define the routing probabilities
as the probability that child subtask is assigned to server when its parent subtask has just completed at server . These probabilities satisfy
for all task types , subtask indices and with , and all possible parent-completion servers .
Thus, for every edge in the task tree and every possible parent-completion server , the static policy specifies a probability distribution over the servers in that may execute .
Policy representation. The static computation offloading policy of the whole network is the collection of all routing probability variables:
Here, denotes the index of the user that generates the task, whereas denotes the index of the server at which the parent of a non-root subtask completes. For root-routing variables, feasibility requires . For child-routing variables, feasibility requires , , and . Routing probabilities corresponding to destinations outside the relevant connection zone are fixed to zero and are not treated as decision variables.
III. QUEUEING-NETWORK MODEL FOR COMPUTATION OFFLOADING
In this section, we develop a product-form queueing-network (PFQN) approximation for the computation offloading model of Section II. Here, PFQN refers to a queueing network with a product-form steady-state distribution, which allows the network to be analyzed through per-server effective arrival rates, utilizations, and waiting times. The main difficulty is that when a subtask is initiated at a server, it does not contribute a single unit to the corresponding queue. Rather, it creates a batch of units: either several computation load units at an edge server or several data units at a cloud queue. Therefore, the traffic generated by task execution is correlated and appears in back-to-back bursts. This effect must be captured in the queueing model in order to obtain accurate waiting-time expressions. In the classical product-form setting, the network nodes must satisfy quasi-reversibility conditions, which in particular require that the effective traffic exchanged among queues be compatible with independent Poisson-type flows [24]–[27]. The original offloading system studied here does not satisfy this condition directly. Indeed, when a subtask is initiated at a server, it creates a batch of computation load units or data units that arrive back-to-back at the corresponding queue. Hence, the internal traffic is correlated and is not naturally of the form required by standard product-form queueing-network results.
For this reason, the PFQN used in this paper should be understood as an approximation rather than an exact representation of the original system. The purpose of the approximation is to replace each correlated batch by an equivalent Poisson flow. After this transformation, each server is modeled as a quasi-reversible M/M/1 node, and the resulting approximating network admits a product-form interpretation.
A. From Single-Queue Approximation to a Network of Queues
In [28], a redundant-arrival approximation is developed for a single M/M/1 queue with batches of size two. In this work, we generalize this construction to arbitrary deterministic batch sizes and then extend it to a network of queues. Consider an M/M/1 queue fed by Poisson arrivals of batches. Suppose that a batch of type arrives with rate and contains exactly customers. In the original queue, the first customer of the batch arrives as an ordinary Poisson arrival and therefore sees the queue in steady state. However, the remaining customers arrive immediately after the first one and thus do not see the queue in steady state; instead, each of them sees at least the customers that arrived before it in the same batch, and hence experiences more congestion than an independent Poisson arrival with the same average rate. Motivated by the size-two construction in [28], our generalized approximation replaces an arbitrary batch of size by a dual quasi-reversible M/M/1 queue with two ingredients:
-
a Poisson stream of individual customers with rate , which represents the same average offered load;
-
an additional independent Poisson stream of redundant customers, whose role is only to reproduce the extra congestion caused by the within-batch correlation.
Because the resulting queue is quasi-reversible, its departures are Poisson, and the same idea can be used again if the output of one queue starts a new batch somewhere else.
Having generalized the single queue construction to arbitrary batch sizes, we further extend it from a single queue to a network of queues. Whenever a subtask initiates a batch at some queue, we first replace that batch by an equivalent Poisson stream of individual units with the same average rate. Then we add an extra independent Poisson stream whose rate is chosen so as to recover the congestion lost by this Poissonization. Since the completion of one batch may initiate another batch at the same queue or at another queue, the same construction is applied repeatedly throughout the task graph. In this way, the entire computation offloading system is approximated by a network of quasi-reversible M/M/1 queues.
B. Batch Types Created by Subtask Execution
For every task type and every subtask , define the batch size created when is assigned to server as
Thus, if is processed at an edge server, the corresponding batch consists of its computation load units; if it is offloaded to a cloud server, the corresponding batch consists of the aggregated number of data units that must traverse the cloud queue.
The approximation keeps track of the rate at which such batches are initiated. Once these batch-initiation rates are known, the queueing approximation of each server follows directly.
C. Traffic Equations for Batch Initiations
We now derive the traffic equations. Since the task graph is a rooted tree, every subtask has exactly one parent except the root. Therefore, the rate at which a subtask is initiated can be computed recursively from the initiation rate of its parent.
Let
denote the steady-state rate at which subtask is initiated at server under routing policy . Equivalently, this is the rate of the first unit of the batch associated with at server .
For the root subtask , the initiation rate at server is
since a type-k task generated by user sends its root subtask to server with probability .
Now consider a non-root subtask whose parent is . If the parent completes at an edge server , then child is sent to server with probability . Hence, for every child ,
Equation (19) is the fundamental traffic equation of the model. It states that the batch-initiation rate of a child at a destination server is obtained by summing its parent-completion rates at the different edge servers, each multiplied by the corresponding static routing probability.
Observe that descendants of a subtask sent to the cloud are already included in the aggregated quantity . Therefore, once a subtask is assigned to a cloud server, no additional downstream routing equations are needed for its descendants.
D. Nominal Poisson Traffic at Each Server
Applying the first step of the approximation to every initiated batch, the total nominal arrival rate of individual units to server is
This is the total average rate of computation units or data units that reach server after replacing each batch by a Poisson stream with the same mean rate.
If one uses only (20), then each node becomes an ordinary M/M/1 queue. However, this would ignore the fact that, in the original system, the units within a batch arrive immediately one after another. Therefore, such a model would underestimate congestion.
E. Congestion Correction
To account for the additional congestion created by the fact that the customers after the first one in each batch do not see the queue in steady state, we add an independent Poisson stream of redundant customers at each server. The role of this extra stream is only to reproduce the average congestion effect of the original batched traffic while keeping the queue quasi-reversible. Hence, when a redundant load completes service, it leaves the system immediately and does not initiate any subtask, does not generate any downstream batch, and does not contribute to the traffic equations of subsequent queues.
The correction term is obtained by extending the single-queue argument in [28]. For a batch of size B, the first unit behaves as the reference Poisson arrival, while the remaining B - 1 units arrive behind it and create additional waiting. Averaging the extra delay over all positions inside the batch produces the triangular contribution . Summing this over all batch types that feed server , we define
Let denote the rate of the redundant Poisson stream added to server . Its value is obtained by matching the mean number of customers in the original batched queue and in the approximating dual queue. The full derivation is given in Appendix A. Here we only state the resulting relation:
Solving (22) gives
and
Therefore, each server is approximated by an M/M/1 queue with service rate and effective arrival rate .
F. Waiting Time and Product-Form Approximation
After the above transformation, all servers are modeled as quasi-reversible M/M/1 nodes driven by independent Poisson streams. Therefore, the whole system is approximated by a product-form queueing network. The average waiting time at server is then
G. Recursive Evaluation of Traffic and M/M/1 Parameters
The traffic equations are solved in a topological order over the task tree.
-
For each task type k and each possible destination server , compute the root initiation rates from (18).
-
Traverse the subtasks of in BFS order (or any topological order from parent to children). Whenever the rates of a parent are known, compute the rates of each child from (19).
-
After all are obtained, compute for each server the nominal offered load from (20) and the batch-correction term from (21).
-
Finally, obtain , , and from (23), (24), and (25).
Because the task graph is acyclic, no iterative fixed-point procedure is needed for the subtask traffic itself: the rates are obtained recursively from the root toward the leaves. Therefore, the full queueing-network approximation is computationally light and can be evaluated efficiently inside the optimization procedure.
It is important to interpret the proposed construction as a local moment-matching approximation applied consistently across the network. At each server, the original batched arrival process is replaced by an equivalent Poisson flow with the same mean rate, together with an additional Poisson as the flow whose rate is chosen to recover the average congestion created by the customers that arrive back-to-back within the same batch. Because each approximating node is quasi-reversible, its departure process is Poisson, which allows the same transformation to be propagated to subsequent queues without destroying tractability. In this sense, the network model is built by matching, queue by queue, the mean traffic intensity and the leading-order congestion effect of batch correlation.
Accordingly, the approximation is not claimed to preserve the full dependence structure of the original batched network exactly. Its purpose is instead to capture the dominant delay distortion induced by correlated internal batches while retaining a product-form representation that can be evaluated and optimized efficiently. For this reason, the approximation is expected to be most reliable in the stable low-to-moderate load regime, whereas some loss of accuracy is natural near saturation, where higher-order dependence becomes more pronounced. The numerical results in Section VI confirm this behavior.
IV. AVERAGE TASK DELAY DERIVATION
Our goal in this section is to express the average completion delay of each task type in terms of the PFQN parameters

(a)

(b)
Fig. 2. Star-based representation of task and its recursive decomposition: (a) decomposition of the task into stars and folding of their delays; (b) generic star used to define the delay parameters.
derived earlier (initiation rates, utilizations and waiting times). We first focus on a star-shaped task whose graph has one root and several children. Then we show how a general task tree can be decomposed into stars and evaluated recursively.
Fig. 2 illustrates this construction: we show how a task is decomposed into stars and collapsed from the leaves to the root, and a generic star used to define the parameters in this section.
A. Delay of a Star-Shaped Task
Consider a single star of task whose root is subtask and whose children are . We assume that the root has just completed at server , with . The children may be executed at different servers depending on the static offloading policy .
Offloading scenarios. We enumerate all possible execution patterns for through the scenario set
where denotes the index of the server that executes subtask . Under the static routing policy , the probability that scenario occurs given that the parent has been completed at is
because the children are routed independently according to the probabilities in (14).
Edge and cloud processing times. For later use we group the average processing times of the children into vectors. Define
where for each child we set
with components
The -th element represents the mean time spent at server if is processed there: for edge servers it is the average computation time , and for cloud servers it is the mean transmission time of the aggregated data batch defined in (9).
Contribution of a server in a given scenario. Given scenario , the average time that the star spends at server , , before all children are completed can be written as
(31)
where is the mean waiting time in the M/M/1 queue at , and is the indicator function. The first term accounts for the queueing delay and is included only if at least one child is assigned to in scenario . When several children of the same star are assigned to , they arrive as a single consecutive group and therefore incur this queueing delay only once. The second term sums the mean processing times of all children executed at in that scenario.
Average star delay conditioned on the root server. The overall delay for completing the children in scenario a is governed by the server that becomes the bottleneck. Since is constructed from mean queueing and processing times, we approximate the conditional mean completion delay of the star by the maximum of these mean server-wise delay contributions. Accordingly, when the root is completed at server , the approximated star delay is
where is the mean computation time of the root when it is processed at an edge server , and is the mean delay in the cloud queue when the root and all its descendants are offloaded to cloud server .
For convenience we define the vector-valued mapping
which returns the star delay for all possible servers of the root, given the routing policy R and the per-child vectors x in (29).
B. Recursive Delay Computation for a General Task
We now extend the star analysis to a general task whose computation graph is a rooted tree.
Algorithm 1 evaluates the task tree from the leaves toward the root. For a leaf subtask, it returns the vector of its mean execution delays over all possible servers. For an internal subtask, it first evaluates all of its children and then uses StarET to collapse the corresponding star into a single server-dependent delay vector. Repeating this procedure recursively yields the delay vector of the root subtask. Finally, the algorithm averages the root delays over its possible execution servers using the corresponding batch-initiation rates and adds the waiting time at the root server.
Algorithm 1 TaskET(, ): average delay of task
1: function SubtaskET(m) 2: if then 3: 4: construct as in (29) 5: return 6: else 7: for each child do 8: 9: end for 10: 11: return StarET(km, R, x) 12: end if 13: end function 14: 15: 16: TaskET(,
C. Network-Wide Average Delay
Finally, we obtain the average delay across all task types by weighting the per-type delays TaskET(, ) with their aggregate arrival rates. Let be the total arrival rate of type- tasks. The global metric is
This is the objective that will be minimized in the next section by appropriately selecting the static routing probabilities in R.
V. OPTIMIZATION OF THE STATIC OFFLOADING POLICY
The routing decision for a root subtask is encoded by , where is the user that generates the task. For a non-root subtask, the routing decision is encoded by , where is the server at which its parent subtask completes.
A. Problem Formulation
Using the delay metric derived in Section IV, we seek the static routing policy that minimizes the network-wide average task delay:
Here is the batch-corrected utilization of server , obtained from the queueing approximation in Section III:
where is the nominal Poisson traffic at server , and is the additional Poisson correction term that captures the congestion effect of back-to-back arrivals within the batches.
B. Softmax Parameterization of Routing Probabilities
Instead of enforcing the probability constraints in (35) directly, we introduce unconstrained logit variables and express the routing probabilities through softmax mappings.
For each root-routing tuple , we define
For each non-root routing tuple , where and , we define
By construction, both the root-routing and child-routing probability vectors lie on their corresponding probability simplices, so all routing constraints are automatically satisfied. All queueing parameters derived in Section III, namely , , , , , and , become differentiable functions of .
We denote the resulting objective by
and seek to minimize it over .
C. Smooth Approximation of Star Maxima
The star delay expression (32) contains the pointwise maximum , which makes non-smooth. To obtain a differentiable surrogate we replace this maximum by a log-sum-exp (LSE) smoothing [29]. For a fixed scenario and parameter we define
which satisfies
Replacing by in (32) yields a smooth approximation and, through Algorithm 1, smooth approximations and to the original delay metrics. For an appropriate this approximation is accurate while keeping the gradients numerically stable, in line with standard smooth-max techniques in convex optimization [29], [30].
D. Stability Barrier on Server Utilizations
To enforce the stability constraints after the softmax reparameterization, we add a logarithmic barrier on the server utilizations computed by the queueing model. Let be the utilization of server under routing , and fix a safety level (e.g., ). We define
with weight . The term grows to as any approaches , so gradient iterations remain in the interior of the stability region. This construction follows standard barrier and interior-point methods for constrained optimization [29], [30].
The objective used in the numerical optimization is therefore
which is smooth in as long as for all .
E. Gradient-Based Optimization Algorithm
Given the smooth, barrier-augmented objective , we apply a standard gradient-descent scheme [30] to obtain a locally optimal static offloading policy, as summarized in Algorithm 2.
VI. PERFORMANCE EVALUATION
In this section, we evaluate the proposed framework from three complementary perspectives. First, we assess the accuracy of the queueing-network approximation. Second, we compare the delay performance of the optimized policy with the baseline algorithms. Third, we evaluate their empirical maximum stable throughput under mixed and single-class traffic.
Algorithm 2 Gradient-based optimization of static offloading
1: choose initial logits
2: choose smoothing parameter , step-size rule , and tolerance
3:
4: repeat
5: build routing matrix using (36) and (37)
6: solve the recursive traffic equations to obtain
7: compute from (20) and from (21)
8: compute from (24), from (23), and from (25)
9: evaluate smoothed star delays using (31) and (38)
10: run Algorithm 1 with the smoothed star delays to obtain
11: compute the barrier term using (39)
12: form total objective
13: compute gradient
14: update logits
15:
16: until
17:
A. System Configuration and Evaluation Methodology
We emulate a canonical MEC deployment in which a set of resource-constrained user devices share a powerful edge server and a remote cloud queue. Concretely, we consider single-server FCFS queues, indexed by
and interpreted as two user devices , one edge/MEC server , and one cloud server . The service rates are
The connection zones are
The purpose of this configuration is not to emulate a large-scale deployment, but to provide a limited setting that contains all essential tiers of the considered MEC architecture: mobile user devices, a shared edge server, and a remote cloud queue. The choice N = 4 is the smallest nontrivial topology that simultaneously captures local execution, edge offloading, cloud offloading, heterogeneous service rates, and constrained connectivity. This compact setting also makes it possible to isolate the effect of the proposed batch-corrected queueing approximation and to compare analytical and simulated delays over many routing policies and offered-load values without confounding the results with large-network topology effects.
We consider three task types , each modeled as a rooted directed tree. The three trees are chosen to capture a shallow fork-join pattern, a hub-and-spoke pattern, and a deeper skewed tree system [8]. All loads and data sizes are shown in Fig. 3.

Fig. 3. Task graphs used in the numerical experiments, with computation loads , result loads , and inter-subtask data sizes for each edge.
Let denote the total external arrival rate of tasks. For the mixed-traffic delay experiment, it is swept over
For each value of , the three task types are generated according to independent Poisson processes with equal rates
The aggregate type-k rate is split equally between the two mobile users, i.e.,
The offered-load sweep in (42) is designed to evaluate the model over a wide range of queueing regimes. As reported later in Table IV, the resulting simulated utilizations span light-load, moderate-load, and near-saturation operating points across different servers and total arrival rates. Therefore, the experiments do not test the proposed approximation only at a single lightly loaded point; they expose it to a broad set of utilization levels and bottleneck patterns.
For each experiment, the analytical parameters are obtained from the PFQN approximation developed in Section IV, and the corresponding ground-truth delays and utilizations are obtained by discrete-event simulation.
B. Accuracy of the Queueing Approximation
We first assess the accuracy of the proposed queueing-network approximation independently of the optimization procedure. To this end, we generate 20 feasible static routing policies by randomizing the routing probabilities over the admissible connection zones. We then retain only those policies whose simulated maximum server utilization satisfies
This yields a stable random-policy ensemble over which the analytical delay predictions can be compared with discrete-event simulation.
Under this stability criterion, all 20 sampled policies are retained for
Thus, the approximation-accuracy study below uses the same number of stable policies at every tested load level.
Table II reports the resulting delay-prediction errors. In Table II, “corr.” denotes the approximation with congestion correction, while “uncorr.” denotes the approximation without congestion correction. The approximation with congestion correction remains reasonably accurate over the stable random-policy set. Its mean relative error is 2.85% at , 4.57% at , 7.06% at , and 8.37% at . In contrast, the approximation without congestion correction is substantially less accurate, with mean relative errors of 8.20%, 15.99%, 26.12%, and 35.55% at the same load levels. Hence, the congestion-correction step provides a clear and systematic improvement over the pure Poissonized approximation.
To put these errors in context, Table III reports the average simulated utilizations over the same stable random-policy set. As expected, the approximation error increases as the system moves closer to saturation.
Overall, these results support two conclusions. First, the proposed queueing-network approximation remains accurate over a broad set of stable random routing policies in the low-to-moderate load regime. Second, the congestion-correction step is essential: without it, the analytical model substantially underestimates the delay induced by the within-batch dependence.
C. Performance of the Optimized Static Policy
Having validated the analytical approximation over a broad family of stable routing policies, we now evaluate the optimized static offloading policy obtained from Section V. We compare it against four baselines:
• URO (Uniform Random Offloading): For a non-root subtask, each feasible destination in the connection zone of the parent-completion server is chosen with equal probability. Thus,
For a root subtask generated at user , the same rule is applied using the connection zone . Hence, URO ignores both server speed and congestion, and only respects the connectivity constraint.
TABLE II
APPROXIMATION ACCURACY OVER STABLE RANDOM ROUTING POLICIES.
| Mean delay (sim.) | Mean delay (corr.) | Mean delay (uncorr.) | Mean rel. err. (corr.) | Var. rel. err. (corr.) | |
|---|---|---|---|---|---|
| 0.05 | 8.6432 | 8.3944 | 7.9284 | 0.0285 | 0.449 |
| 0.10 | 10.5975 | 10.1086 | 8.8857 | 0.0457 | 0.846 |
| 0.15 | 14.8552 | 13.7782 | 10.8679 | 0.0706 | 2.822 |
| 0.20 | 25.9426 | 23.8703 | 16.2526 | 0.0837 | 5.244 |
TABLE III
AVERAGE SIMULATED UTILIZATIONS OVER STABLE RANDOM ROUTING POLICIES.
| 0.05 | 0.1853 | 0.1664 | 0.0301 | 0.0331 |
| 0.10 | 0.3814 | 0.3251 | 0.0631 | 0.0648 |
| 0.15 | 0.5922 | 0.4812 | 0.0920 | 0.0972 |
| 0.20 | 0.7493 | 0.6863 | 0.1265 | 0.1290 |
- PO (Proportional-to-capacity Offloading): For a non-root subtask, each feasible destination is selected with probability proportional to its service rate. Thus,
For a root subtask generated at user , the same rule is applied using the connection zone . Therefore, PO is still static, but biases the routing decisions toward faster servers.
- ITAGS (Incremental Task-Aware Greedy Scheduling): This baseline is implemented as a dynamic greedy scheduler [20]. When a child subtask becomes ready at time after the completion of its parent at server , every feasible destination is evaluated through the estimated completion-time metric
where is the current queueing-delay estimate at server derived from its instantaneous queue length in the simulator, and
The subtask is then routed greedily to
that is,
Thus, ITAGS makes a new routing decision whenever a subtask becomes ready, using the instantaneous queue state.
- EFO (Expected Flow-Optimal Offloading): This baseline is implemented as a dynamic one-shot task-level offloading policy [21]. When a type- task arrives at user at time , each feasible destination is evaluated through the task-level metric
where is the current queueing-delay estimate and is the total workload of task if the whole task is assigned to server . The selected destination is
and all subtasks of the task are then executed at that same server:
Hence, EFO is dynamic at the task level, but does not revise the decision as the task progresses through its dependency tree.
Having defined the baseline policies, we now compare them with the PFQN-based optimized static policy. In the optimization step, we use a softmax parameterization with smoothing parameter , learning rate 0.05, 250 optimization epochs, utilization cap , penalty weight 500.0, and entropy regularization is included to discourage prematurely concentrated routing distributions and improve the numerical behavior of softmax-based policy optimization [33], [34]. For each arrival-rate point, the PFQN-based policy and each baseline are evaluated by 25 independent simulation runs.
Figure 4 reports the rate-weighted average task delay as a function of the total arrival rate in the mixed-traffic setting, where all three task types are active simultaneously. For the PFQN-based policy, we show both the analytical prediction and the simulated delay. The analytical curve tracks the simulated curve closely over most of the tested load range and captures the correct growth trend as the system approaches heavy load. At the same time, the optimized policy consistently outperforms all baseline methods, even dynamic ones, over the displayed load sweep.
Table IV reports the simulated server utilizations under the compared policies. The results show that the main bottlenecks under URO are the slower user-device queues, which approach saturation very early. PO distributes the load more evenly but its first three queues become nearly saturated as the arrival rate approaches 0.90. Under ITAGS and EFO, the edge server becomes the dominant bottleneck. In contrast, the PFQN-based optimized policy shifts work away from the most vulnerable bottlenecks and uses the edge and cloud resources.
TABLE IV SERVER UTILIZATIONS VERSUS TOTAL ARRIVAL RATE UNDER DIFFERENT ROUTING POLICIES.
| URO | PO | ITAGS | EFO | PFQN-based | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.10 | 0.384 | 0.328 | 0.062 | 0.066 | 0.115 | 0.116 | 0.115 | 0.092 | 0.000 | 0.000 | 0.191 | 0.063 | 0.000 | 0.000 | 0.137 | 0.074 | 0.001 | 0.001 | 0.046 | 0.122 |
| 0.20 | 0.761 | 0.659 | 0.124 | 0.132 | 0.230 | 0.228 | 0.230 | 0.182 | 0.000 | 0.004 | 0.363 | 0.133 | 0.000 | 0.000 | 0.277 | 0.145 | 0.000 | 0.000 | 0.122 | 0.229 |
| 0.30 | 0.998 | 0.945 | 0.180 | 0.188 | 0.347 | 0.346 | 0.345 | 0.274 | 0.002 | 0.017 | 0.513 | 0.213 | 0.000 | 0.000 | 0.420 | 0.216 | 0.000 | 0.000 | 0.206 | 0.312 |
| 0.40 | 0.999 | 0.999 | 0.213 | 0.235 | 0.460 | 0.463 | 0.457 | 0.366 | 0.009 | 0.045 | 0.644 | 0.299 | 0.000 | 0.000 | 0.568 | 0.284 | 0.000 | 0.000 | 0.291 | 0.382 |
| 0.50 | 0.999 | 0.999 | 0.242 | 0.276 | 0.572 | 0.573 | 0.572 | 0.459 | 0.029 | 0.096 | 0.746 | 0.398 | 0.001 | 0.005 | 0.711 | 0.356 | 0.000 | 0.000 | 0.393 | 0.455 |
| 0.60 | 0.999 | 1.000 | 0.271 | 0.316 | 0.689 | 0.692 | 0.693 | 0.551 | 0.073 | 0.181 | 0.835 | 0.503 | 0.009 | 0.033 | 0.843 | 0.430 | 0.000 | 0.000 | 0.492 | 0.534 |
| 0.70 | 1.000 | 1.000 | 0.299 | 0.357 | 0.802 | 0.797 | 0.801 | 0.640 | 0.160 | 0.303 | 0.897 | 0.611 | 0.071 | 0.161 | 0.943 | 0.510 | 0.000 | 0.000 | 0.587 | 0.619 |
| 0.80 | 1.000 | 1.000 | 0.326 | 0.397 | 0.910 | 0.908 | 0.917 | 0.735 | 0.306 | 0.463 | 0.943 | 0.724 | 0.250 | 0.413 | 0.987 | 0.593 | 0.000 | 0.000 | 0.680 | 0.696 |
| 0.90 | 1.000 | 1.000 | 0.353 | 0.438 | 0.977 | 0.979 | 0.993 | 0.801 | 0.513 | 0.650 | 0.974 | 0.831 | 0.545 | 0.699 | 0.998 | 0.676 | 0.000 | 0.000 | 0.767 | 0.776 |
| 1.00 | 1.000 | 1.000 | 0.377 | 0.476 | 0.993 | 0.993 | 0.997 | 0.853 | 0.803 | 0.869 | 0.993 | 0.940 | 0.890 | 0.938 | 0.999 | 0.755 | 0.401 | 0.438 | 0.757 | 0.833 |
| 1.10 | 1.000 | 1.000 | 0.404 | 0.518 | 0.996 | 0.996 | 0.999 | 0.902 | 0.991 | 0.994 | 1.000 | 0.997 | 0.983 | 0.988 | 0.999 | 0.833 | 0.649 | 0.671 | 0.844 | 0.866 |
| 1.20 | 1.000 | 1.000 | 0.426 | 0.554 | 0.997 | 0.997 | 0.999 | 0.940 | 0.994 | 0.996 | 1.000 | 0.998 | 0.987 | 0.991 | 1.000 | 0.910 | 0.810 | 0.838 | 0.916 | 0.928 |

Fig. 4. Rate-weighted average task delay versus total arrival rate for the three-task MEC system. The PFQN-based policy is shown with both its analytical prediction and simulated performance, and is compared against random routing (URO), proportional-to- routing (PO), ITAGS, and EFO.
more effectively. At , its utilization vector is (0.810, 0.838, 0.916, 0.928), while the other methods have at least one nearly saturated queue. This explains the large delay reductions observed in Fig. 4.
To quantify the gain of the optimized policy relative to the baselines, we report the percentage delay reduction defined by
where denotes the simulated rate-weighted average task delay of the optimized PFQN-based policy, and denotes the corresponding simulated delay of the baseline method.
As Table V shows, the PFQN-based policy achieves a lower simulated delay than every baseline at all reported arrival rates. Its advantage over URO and PO becomes particularly large as their queues approach saturation. The improvement over EFO also increases substantially in the medium-to-heavy load regime. Although the improvement over ITAGS is more moderate at lower arrival rates, it increases sharply at .
TABLE V PERCENTAGE DELAY REDUCTION OF THE OPTIMIZED PFQN-BASED POLICY RELATIVE TO THE BASELINE METHODS AT REPRESENTATIVE TOTAL ARRIVAL RATES.
| vs. URO | vs. PO | vs. ITAGS | vs. EFO | |
|---|---|---|---|---|
| 0.10 | 84.41% | 61.69% | 34.07% | 27.51% |
| 0.20 | 91.58% | 62.18% | 32.45% | 28.73% |
| 0.50 | 99.90% | 67.12% | 27.67% | 42.75% |
| 0.70 | 99.87% | 75.92% | 21.95% | 63.21% |
| 0.90 | 99.76% | 96.31% | 25.19% | 70.38% |
| 1.20 | 99.06% | 97.31% | 94.76% | 92.05% |
For completeness, all available finite-horizon simulation results are included in Table V. Some high-load entries correspond to baseline methods operating beyond their empirical maximum stable throughput.
To further examine the robustness of the optimized policy with respect to task-graph structure, we also consider three single-class traffic scenarios in which only one task type is active at a time. Figure 5 reports the resulting average delay when the arrival stream consists solely of type-1, type-2, or type-3 tasks, respectively. In all three cases, the PFQN-based optimized policy remains the best-performing method over the tested load range. This shows that the gain of the proposed policy is not merely a consequence of averaging across heterogeneous traffic classes, but persists even when each task type is studied in isolation.
D. Empirical Maximum Stable Throughput
In queueing-network theory, the stability region is commonly defined as the set of arrival-rate vectors for which the network queues can be stabilized, and the maximum achievable throughput is characterized by the boundary of this region [35], [36]. Queue stability has also been explicitly considered in computation-offloading systems with stochastic task arrivals [37]. Motivated by these definitions, we use the empirical maximum stable throughput to describe the stability boundary observed in our simulations.

PFQN simulation
EFO
PFQN analytical
PO
ITAGS
URO
Fig. 5. Average task delay under single-class traffic scenarios: (left) only type-1 tasks arrive; (middle) only type-2 tasks arrive; (right) only type-3 tasks arrive. In all three cases, the PFQN-based optimized policy achieves the lowest delay over the tested load range.
TABLE VI EMPIRICAL MAXIMUM STABLE THROUGHPUT INTERVALS IN TASKS/S. EACH ENTRY IS REPORTED AS , WHERE IS THE LARGEST TESTED EMPIRICALLY STABLE ARRIVAL RATE AND IS THE FIRST TESTED UNSTABLE ARRIVAL RATE.
| Scenario | PFQN-based | URO | PO | ITAGS | EFO | PFQN gain |
|---|---|---|---|---|---|---|
| Mixed | [1.240, 1.243) | [0.246, 0.250) | [0.843, 0.846) | [0.906, 0.909) | [0.746, 0.750) | 36.90% |
| Only | [1.400, 1.403) | [0.318, 0.321) | [0.978, 0.981) | [1.087, 1.090) | [1.053, 1.056) | 28.74% |
| Only | [0.884, 0.887) | [0.200, 0.203) | [0.637, 0.640) | [0.700, 0.703) | [0.559, 0.562) | 26.34% |
| Only | [1.446, 1.450) | [0.281, 0.284) | [1.000, 1.003) | [1.037, 1.040) | [0.737, 0.740) | 39.46% |
Since the stability boundary is estimated through finite-duration simulations with finite search resolution, it is reported as
where is the largest tested arrival rate that satisfies the empirical stability criterion and is the first tested arrival rate that does not satisfy it. Thus, the reported interval provides an empirical estimate of the stability boundary rather than an analytical guarantee.
Table VI reports the empirical maximum stable throughput intervals under mixed traffic and the three single-class traffic scenarios. The final column reports the improvement of the PFQN-based policy over the strongest baseline, calculated using the largest empirically stable rates.
As shown in Table VI and Fig. 6, the PFQN-based policy achieves the largest empirical maximum stable throughput in all four traffic scenarios. Under mixed traffic, the largest empirically stable rate of the PFQN-based policy is 1.240 tasks/s, compared with 0.906 tasks/s for ITAGS, the strongest baseline. This corresponds to an improvement of . In the , , and single-class scenarios, the corresponding improvements over the strongest baseline are , , and , respectively. These results indicate that the PFQN-based policy not only reduces average task delay within the stable operating region, but also enables the MEC system to accommodate higher aggregate task-arrival rates than the considered baseline policies.
VII. CONCLUSION AND FUTURE WORK
In this paper, we developed an analytical framework for static computation offloading in multi-tier MEC systems with tree-structured task graphs. To capture the correlated and batched internal traffic generated by dependent subtasks, we proposed a product-form queueing-network approximation based on Poissonization and a local congestion-correction term. This yields tractable closed-form expressions for effective utilizations and waiting times.
Building on these queueing parameters, we derived a recursive delay evaluation algorithm for tree-structured tasks and used it to optimize the static routing probabilities through a differentiable formulation based on softmax parameterization, log-sum-exp smoothing, and a stability barrier. Numerical results demonstrate that the proposed approximation accurately predicts average task delay over a broad family of stable routing policies. The delay-optimized static policy also achieves the lowest delay within the stable operating region and increases the empirical maximum stable throughput by 26.34%–39.46% relative to the strongest baseline across the evaluated traffic scenarios.
A natural direction for future work is to extend the framework from rooted trees to more general directed acyclic graphs (DAGs). This would require revisiting both the delay recursion and the batch aggregation rules in order to handle shared descendants and subtasks with multiple parents. Another direction is to incorporate dynamic or learning-based offloading decisions on top of the present analytical framework.

PFQN-based URO PO ITAGS EFO
Fig. 6. Empirical maximum stable throughput under mixed traffic and the three single-class traffic scenarios. Each bar shows the largest tested arrival rate satisfying the empirical stability criterion for the corresponding routing policy. The complete stability-boundary intervals are reported in Table VI.
APPENDIX A
DERIVATION OF THE CONGESTION CORRECTION TERM
In this appendix, we derive the correction term used in (21)–(24). We consider a single server , so for notational simplicity we omit the index .
Suppose that the server receives several types of batches. A batch of type arrives with initiation rate and contains exactly customers. We compare two systems with the same exponential service rate and FCFS discipline.
A. Original Batched Queue
In the original queue, every initiated batch of type contributes customers. Let denote the average response time seen by the first customer of a batch. Then the second customer in that batch sees one extra customer ahead of it and has average response time , the third customer has average response time , and so on, up to the last customer whose average response time is
Hence, by Little’s law, the total average number of customers contributed by type batches is
(55)
Summing over all batch types, the mean number of customers in the original queue is
B. Approximating Dual Queue
In the approximating queue, each batch of size is replaced by a Poisson stream of individual customers with rate . In addition, we insert an independent Poisson stream of redundant customers with rate . Let denote the mean response time in this approximating M/M/1 queue. Then the mean number of customers in the approximating queue is
C. Matching the Two Queues
The correction rate is chosen so that the two queues have the same average number of customers:
Since both queues are single-server FCFS queues with the same exponential service rate, equality of the average number of customers implies equality of the response time seen by a Poisson arrival. Therefore,
Using (56), (57), and , we obtain
Define
Then
Since the approximating queue is M/M/1 with utilization
its mean response time is
Substituting this into the previous equation yields
Therefore,
which is exactly the relation used in Section III. Solving (60) gives
Applying this derivation separately to each server yields (23) and (24).
REFERENCES
[1] Y. Mao, C. You, J. Zhang, K. Huang, and K. B. Letaief, “A survey on mobile edge computing: The communication perspective,” IEEE Commun. Surveys Tuts., vol. 19, no. 4, pp. 2322–2358, 2017.
[2] T. T. Dinh, C. Lee, D. Niyato, and P. Wang, “A survey of mobile cloud computing: Architecture, applications, and approaches,” Wireless Commun. Mobile Comput., vol. 13, no. 18, pp. 1587–1611, Dec. 2013.
[3] M. Satyanarayanan, “The emergence of edge computing,” Computer, vol. 50, no. 1, pp. 30–39, Jan. 2017.
[4] X. Chen, L. Jiao, W. Li, and X. Fu, “Efficient multi-user computation offloading for mobile-edge cloud computing,” IEEE/ACM Trans. Netw., vol. 24, no. 5, pp. 2795–2808, Oct. 2016.
[5] I. Rahmaty, H. Shah-Mansouri, and A. Movaghar, “QECO: A QoE-oriented computation offloading algorithm based on deep reinforcement learning for mobile edge computing,” IEEE Trans. Netw. Sci. Eng., vol. 12, no. 4, pp. 3118–3130, Jul.-Aug. 2025, doi: 10.1109/TNSE.2025.3556809.
[6] R. Guo, L. Zhou, L. Li, Y. Song, and X. Xie, “Dependent task graph offloading model based on deep reinforcement learning in mobile edge computing,” Electronics, vol. 14, no. 16, Art. no. 3184, Aug. 2025, doi: 10.3390/electronics14163184.
[7] S. Sardellitti, G. Scutari, and S. Barbarossa, “Joint optimization of radio and computational resources for multicell mobile-edge computing,” IEEE Trans. Signal Inf. Process. Netw., vol. 1, no. 2, pp. 89–103, Jun. 2015.
[8] J. Yan, S. Bi, and Y.-J. A. Zhang, “Offloading and resource allocation with general task graph in mobile edge computing: A deep reinforcement learning approach,” IEEE Trans. Wireless Commun., vol. 19, no. 8, pp. 5404–5419, Aug. 2020.
[9] T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to Algorithms, 3rd ed. Cambridge, MA, USA: MIT Press, 2009.
[10] X. Li, M. Abdallah, S. Suryavansh, M. Chiang, K. T. Kim, and S. Bagchi, “DAG-based task orchestration for edge computing,” in Proc. 41st IEEE Int. Symp. Reliable Distributed Systems (SRDS), 2022, pp. 23–34, doi: 10.1109/SRDS55811.2022.00013.
[11] J. Xue, Z. Wang, Y. Zhang, and L. Wang, “Task Allocation Optimization Scheme Based on Queuing Theory for Mobile Edge Computing,” Mobile Information Systems, vol. 2020, Art. ID 1501403, May 2020, doi: 10.1155/2020/1501403.
[12] Y. Katayama and T. Tachibana, “Optimal Task Allocation Algorithm Based on Queueing Theory for Future Internet Application in Mobile Edge Computing Platform,” Sensors, vol. 22, no. 13, Art. no. 4825, 2022, doi: 10.3390/s22134825.
[13] D.-Y. Hwang, K.-F. Lai, and K.-Y. Lin, “Queue-Length-Based Offloading for Delay Sensitive Applications in Federated Cloud-Edge-Fog Systems,” in Proc. IEEE CCNC, 2024, pp. 406–411, doi: 10.1109/CCNC51644.2024.10454812.
[14] Z. Xie, X. Zhao, D. Han, L. Gao, Z. Jiang, J. Zhu, X. She, and P. Chen, “A Markovian queueing model for end-to-end delay analysis in computation offloading system,” IEEE Commun. Lett., vol. 27, no. 10, pp. 2687–2691, Oct. 2023, doi: 10.1109/LCOMM.2023.3307876.
[15] S. Dong et al., “Task offloading strategies for mobile edge computing: A survey,” Computer Networks, vol. 254, Art. no. 110791, 2024, doi: 10.1016/j.comnet.2024.110791.
[16] H. Wang, H. Xu, H. Huang, M. Chen, and S. Chen, “Robust task offloading in dynamic edge computing,” IEEE Trans. Mobile Comput., vol. 22, no. 1, pp. 500–514, Jan. 2023.
[17] Y. Qu, H. Dai, F. Wu, D. Lu, C. Dong, S. Tang, and G. Chen, “Robust offloading scheduling for mobile edge computing,” IEEE Trans. Mobile Comput., vol. 21, no. 7, pp. 2581–2595, Jul. 2022.
[18] S. Li, C. Li, Y. Huang, B. A. Jalaian, Y. T. Hou, and W. Lou, “Enhancing resilience in mobile edge computing under processing uncertainty,” IEEE J. Sel. Areas Commun., vol. 41, no. 3, pp. 659–674, Mar. 2023.
[19] S. Jiao, H. Wang, and J. Luo, “SRA-E-ABCO: Terminal task offloading for cloud-edge-end environments,” J. Cloud Computing, vol. 13, no. 1, Art. no. 58, 2024, doi: 10.1186/s13677-024-00622-y.
[20] S. Sundar and B. Liang, “Offloading Dependent Tasks with Communication Delay and Deadline Constraint,” in Proc. IEEE INFOCOM, Apr. 2018, pp. 37–45, doi: 10.1109/INFOCOM.2018.8486305.
[21] C. Shu, Z. Zhao, Y. Han, G. Min, and H. Duan, “Multi-user offloading for edge computing networks: A dependency-aware and latency-optimal approach,” IEEE Internet of Things Journal, vol. 7, no. 3, pp. 1678–1689, Mar. 2020, doi: 10.1109/JIOT.2019.2943373.
[22] Z. Cao, X. Deng, S. Yue, P. Jiang, J. Ren, and J. Gui, “Dependent task offloading in edge computing using GNN and deep reinforcement learning,” IEEE Internet Things J., vol. 11, no. 12, pp. 21632–21646, Jun. 2024, doi: 10.1109/JIOT.2024.3374969.
[23] L. Ale, N. Zhang, X. Fang, X. Chen, S. Wu, and L. Li, “Delay-aware and energy-efficient computation offloading in mobile-edge computing using deep reinforcement learning,” IEEE Transactions on Cognitive Communications and Networking, vol. 7, no. 3, pp. 881–892, Sep. 2021, doi: 10.1109/TCCN.2021.3066619.
[24] F. Baskett, K. M. Chandy, R. R. Muntz, and F. G. Palacios, “Open, closed, and mixed networks of queues with different classes of customers,” J. ACM, vol. 22, no. 2, pp. 248–260, 1975.
[25] F. P. Kelly, Reversibility and Stochastic Networks. Chichester, U.K.: Wiley, 1979.
[26] R. Serfozo, Introduction to Stochastic Networks. Berlin, Germany: Springer, 1999.
[27] E. Gelenbe and G. Pujolle, Introduction to Queueing Networks, 2nd ed. Chichester, U.K.: Wiley, 1998.
[28] M. Rahnamania and F. Ashtiani, “A new analytical approach for delay analysis in the presence of correlated arrivals,” in Proc. Iran Workshop Commun. Inf. Theory (IWCIT), 2024, pp. 1–6, doi: 10.1109/IWCIT62550.2024.10553217.
[29] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge, U.K.: Cambridge Univ. Press, 2004.
[30] D. P. Bertsekas, Nonlinear Programming, 2nd ed. Belmont, MA, USA: Athena Scientific, 1999.
[31] L. Kleinrock, Queueing Systems, Volume I: Theory. New York, NY, USA: Wiley, 1975.
[32] Y. Zhang, Y. Jiang, and S. Fu, “Service modeling and delay analysis of packet delivery over a wireless link,” in Proc. IEEE 28th Int. Workshop Computer Aided Modeling and Design of Communication Links and Networks (CAMAD), Edinburgh, U.K., Nov. 2023, pp. 296–301, doi: 10.1109/CAMAD59638.2023.10478419.
[33] Z. Ahmed, N. Le Roux, M. Norouzi, and D. Schuurmans, “Understanding the impact of entropy on policy optimization,” in Proc. 36th Int. Conf. Mach. Learn. (ICML), vol. 97, pp. 151–160, 2019.
[34] J. Mei, C. Xiao, C. Szepesvári, and D. Schuurmans, “On the global convergence rates of softmax policy gradient methods,” in Proc. 37th Int. Conf. Mach. Learn. (ICML), vol. 119, pp. 6820–6829, 2020.
[35] L. Tassiulas and A. Ephremides, “Stability properties of constrained queueing systems and scheduling policies for maximum throughput in multihop radio networks,” IEEE Trans. Autom. Control, vol. 37, no. 12, pp. 1936–1948, Dec. 1992, doi: 10.1109/9.182479.
[36] M. J. Neely, Stochastic Network Optimization with Application to Communication and Queueing Systems. San Rafael, CA, USA: Morgan & Claypool, 2010, doi: 10.2200/S00271ED1V01Y201006CNT007.
[37] S. Bi, L. Huang, H. Wang, and Y.-J. A. Zhang, “Lyapunov-guided deep reinforcement learning for stable online computation offloading in mobile-edge computing networks,” IEEE Trans. Wireless Commun., vol. 20, no. 11, pp. 7519–7537, Nov. 2021, doi: 10.1109/TWC.2021.3085319.