[Paper Review] Characterizing Task Completion Latencies in Fog Computing
This paper proposes a co-optimization framework for task assignment in fog computing that jointly minimizes latency and maximizes quality of service by modeling task-specific timeliness and quality preferences. Using empirical benchmarking across six heterogeneous execution points—including gateways, local servers, and cloud/edge services—it identifies key latency characteristics and stability patterns, then formulates and solves task assignment problems using utility-aware algorithms (UA, AT, C-TAP), demonstrating superior performance over min-latency or max-quality baselines in real-world latency and connectivity conditions.
Fog computing, which distributes computing resources to multiple locations between the Internet of Things (IoT) devices and the cloud, is attracting considerable attention from academia and industry. Yet, despite the excitement about the potential of fog computing, few comprehensive quantitative characteristics of the properties of fog computing architectures have been conducted. In this paper we examine the properties of task completion latencies in fog computing. First, we present the results of our empirical benchmarking-based study of task completion latencies. The study covered a range of settings, and uniquely considered both traditional and serverless fog computing execution points. It demonstrated the range of execution point characteristics in different locations and the relative stability of latency characteristics for a given location. It also highlighted properties of serverless execution that are not incorporated in existing fog computing algorithms. Second, we present a framework we developed for co-optimizing task completion quality and latency, which was inspired by the insights of our empirical study. We describe fog computing task assignment problems we formulated under this framework, and present the algorithms we developed for solving them.
Motivation & Objective
- To address the lack of comprehensive quantitative characterization of task completion latencies in fog computing architectures.
- To understand the variability, stability, and performance characteristics of diverse execution points—including gateways, local servers, and cloud/edge services—under real-world conditions.
- To develop a task assignment framework that co-optimizes latency and quality of service based on task-specific timeliness and quality preferences.
- To design and evaluate algorithms that dynamically assign tasks to execution points based on connectivity, capacity, and utility functions.
- To validate the framework under realistic, dynamic network conditions such as varying cloud connectivity in airborne deployments.
Proposed method
- Conducted over 1,000 hours of empirical benchmarking across six heterogeneous fog execution points: Raspberry Pi gateway, local server, and AWS EC2/lambda nodes in different regions.
- Measured task completion latencies under controlled workloads to characterize variability, stability, and performance differences across execution points, including serverless and traditional cloud models.
- Proposed a utility-based task assignment framework where each task has a time utility function and a quality utility function, enabling joint optimization of latency and quality.
- Formulated task assignment problems as mixed-integer programs that account for execution point capacity, latency distributions, and utility functions.
- Developed three algorithms: UA (Utility-aware), AT (Adaptive Threshold), and C-TAP (Co-optimized Task Assignment Policy), to solve the assignment problems under varying constraints.
- Evaluated algorithms under dynamic connectivity conditions (e.g., in-flight scenarios) using real latency measurements from different network locations.
Experimental results
Research questions
- RQ1How do task completion latencies vary across different fog execution points, including gateways, local servers, and cloud/edge services?
- RQ2What are the stability and variability characteristics of task completion latencies for a given execution point under repeated workloads?
- RQ3How do serverless execution models differ in latency behavior from traditional virtualized or physical execution points?
- RQ4Can a co-optimization framework effectively balance task completion latency and quality of service in heterogeneous fog environments?
- RQ5How do dynamic network conditions, such as variable cloud connectivity, affect optimal task assignment strategies?
Key findings
- The gateway execution point exhibited stable and low-latency performance (median 0.6s) across repeated runs, with low variability, while cloud-based services showed higher and more variable latencies.
- Serverless execution (AWS Lambda) demonstrated significantly higher latency variability compared to traditional virtual machines, a characteristic not captured in existing fog algorithms.
- The UA algorithm achieved an average utility of 0.5078, outperforming the min-latency approach (0.4677) and max-quality approach (0.4415) under identical conditions.
- In a scenario with mixed connectivity, the UA algorithm assigned 56 tasks to the local node during poor cloud connectivity, 22 during average connectivity, and all 100 to the cloud during optimal connectivity, adapting to real-time network conditions.
- The C-TAP algorithm correctly assigned the three most time-sensitive tasks to a fast but low-quality local node and the two most lax tasks to a high-quality but slower remote node, demonstrating effective trade-off resolution.
- The framework successfully handled capacitated execution points and demonstrated robustness in dynamic environments, such as airborne deployments with fluctuating network performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.