When designing modern distributed networks—such as mobile edge computing (MEC), cloud radio access networks (C-RAN), or real-time IoT pipelines—it is tempting to calculate latency by simply adding up raw transmission times and deterministic processing times. However, as Ding et al. point out, isolating communication delay from server-side processing fails to capture the true end-to-end reality.
Packets do not arrive in perfectly spaced, predictable streams, nor do servers process them instantly. Instead, requests arrive stochastically, forming backlogs in buffers. If an optimization framework ignores these backlogs, it severely underestimates latency (Hao et al.). To accurately model end-to-end delay, modern research treats the entire system as a sequence of interconnected, stochastic queues.
The Core Mechanism: Tandem and Cascade Queues
In a distributed network, a data packet undergoes multiple sequential operations: it is generated by a device, transmitted over a wireless link, queued at an edge or cloud server, processed, and sometimes transmitted back. This sequential flow is mathematically modeled as a tandem queue, where the output of one queue serves directly as the input to the next.
[ Packet Generation ]
│
▼
┌──────────────────┐
│ Transmission │ ◄── Stochastic Arrival & Channel Fading
│ Queue (e.g., M/M/1)│
└────────┬─────────┘
│ Output acts as input
▼
┌──────────────────┐
│ Computation │ ◄── Server Backlog & Variable Task Sizes
│ Queue (e.g., M/G/1)│
└──────────────────┘
For instance, in semantic communication systems, Xia models the data path as a two-stage tandem queue consisting of a computational coding stage followed by a physical transmission stage. This structure captures the inherent trade-off where semantic compression saves wireless bandwidth at the expense of additional processing delay.
Similarly, Xu et al. employ a tandem queueing architecture to model IoT data preprocessing and subsequent wireless delivery, ensuring that time-sensitive status updates do not go stale. By linking these stages, Deng et al. demonstrate that the joint variability of both wireless transmission and server processing can be bounded, replacing worst-case assumptions with realistic probabilistic guarantees.
Decomposing the Network: From Single Nodes to Jackson Networks
Depending on the arrival patterns and service characteristics of each stage, researchers deploy different queueing abstractions to represent specific physical constraints:
- M/M/1 and M/M/c Queues: For systems with Poisson arrivals and exponential service times, these models provide a tractable baseline. Tang et al. use a double-layer M/M/1 queueing model to represent total latency, allowing an optimizer to trade off latency budgets between cloud computing and wireless transmission. Xiang et al. integrate M/M/1 queues across both computational nodes and network links to evaluate decentralized request scheduling. When multiple parallel servers or service instances are available, the framework naturally scales to M/M/c models to predict propagation and processing delays across wide-area network hops (Yousefpour et al.).
- Jackson Queuing Networks: When an edge environment contains many interconnected nodes and microservices, a single linear chain is insufficient. Wang et al. model edge networks as multi-instance Jackson queuing networks. This approach allows for the simultaneous calculation of instance-level queuing, processing, and inter-node propagation latencies across complex topologies.
- M/G/1 and Specialized Queues: When service times are highly variable, the exponential assumption breaks down. For example, in Large Language Model (LLM) inference, the processing time depends heavily on unpredictable output token lengths. Xu et al. model LLM inference as an M/G/1 queue (General service distribution) to derive closed-form expressions for mean queueing delay. On the data ingestion side, Ntumba applies D/M/1 models to time-based windows and M/D/1 models to count-based windows to capture the exact windowing logic of IoT edge analytics.
Mathematical Tools for Closed-Form Delay Analysis
To optimize resources in real time, engineers cannot rely on slow, heavy simulations; they need closed-form expressions that map system parameters directly to expected delays.
The Pollaczek-Khinchin (P-K) Formula
For M/G/1 systems, the P-K formula is the primary mathematical tool. It derives the average queuing delay based on the mean and variance of the service time distribution. This allows researchers like Khodaian et al. and Zohdy et al. to calculate link-level delays as a function of packet arrival rates and transmission probabilities, embedding these constraints directly into convex optimization frameworks.
Order Statistics
In distributed or parallel processing systems, a file or task might be split across multiple servers, completing only when the fastest $k$ out of $n$ nodes respond. As demonstrated in Coding for Fast Content Download, order statistics are used to derive the expected value of the $k$-th fastest response time among independent server processes. This establishes tight performance bounds when exact closed-form solutions for complex queueing interactions are analytically intractable.
Convolution and Batching
For bursty traffic, the response time of a specific request depends on its position within a batch. Lebrecht et al. analyze this using a "tagged customer" approach, summing the time spent waiting for previous batches to clear with the service times of preceding requests within the same batch. To scale this to massive data center networks, Alizadeh et al. estimate end-to-end flow completion times by convolving independent link-level delay distributions through Monte Carlo sampling, bypassing the need for full-packet network simulators.
Why It Works: Cross-Layer Optimization
Unifying communication and computation into a shared queuing framework allows system optimizers to perform cross-layer resource allocation. Instead of over-provisioning wireless bandwidth to solve a latency issue, the system can dynamically shift the latency budget.
For example, an optimizer can elastically scale up a virtual machine's computational capacity (Tang et al.) or adjust an autonomous vehicle's control parameters (Zeng et al.) to relax the demands on the wireless network. Modeling the interdependence of uplink transmission, stochastic edge processing, and downlink transmission as a unified probability mass function (Tareq et al.) ensures that strict Quality of Service (QoS) targets and delay violation probabilities are met across diverse applications, ranging from vehicle platoons (Li) to multi-user VR systems (Weng et al.).
Key Foundational Work
<title>Minimizing start-up latency in scalable continuous media servers</title> (1997) — contributed 1 concept elements to this direction.
Smoothing effect of the superposition of homogeneous sources in tandem networks (2000) — contributed 1 concept elements to this direction.