Proactive Device-Wide Resource Throttling to Prevent System-Level ANRs in Peak-Load Commerce Applications
DOI:
https://doi.org/10.63282/3050-9246.IJETCSIT-V7I1P116Keywords:
Android ANR Prevention, System-Level Throttling, Mobile Performance Engineering, Peak-Load Stability, Commerce Applications, Resource ManagementAbstract
Application Not Responding (ANR) events remain one of the most critical failure modes in Android-based commerce applications, particularly under peak-load conditions such as flash sales, seasonal promotions, and high-concurrency checkout events. While modern Android frameworks provide tools for asynchronous execution and background scheduling, these mech-anisms primarily operate at the application or thread level and lack awareness of device-wide resource contention. As a result, even well-architected applications can trigger system-level ANRs when CPU, memory, I/O, and binder resources become saturated concurrently.
This paper introduces a Proactive Device-Wide Resource Throttling (PDWRT) framework designed to prevent system-level ANRs by dynamically regulating resource consumption across the entire application process before critical thresholds are reached. Unlike reactive watchdog-based approaches, PDWRT continuously observes runtime signals—including main-thread latency, binder queue depth, garbage collection pressure, and system scheduler load—and applies adaptive throttling strategies across foreground, transactional, and background workloads.
The proposed framework is implemented and evaluated in the context of large-scale Android commerce applications oper-ating under extreme peak-load scenarios. Experimental results demonstrate a significant reduction in ANR incidence, improved UI responsiveness, and increased system stability without com-promising user-perceived performance. The findings suggest that proactive, device-wide throttling represents a necessary evolution in mobile system resilience engineering.
Downloads
References
[1] Android Developers, Application Not Responding (ANR) Documentation, 2023
[2] J. Dean and L. Barroso, “The Tail at Scale,” Communications of the ACM, 2013
[3] A. Carroll and G. Heiser, “An Analysis of Power Consumption in a Smartphone,” USENIX ATC, 2010
[4] Y. Liu et al., “Adaptive Scheduling for Mobile Systems,” IEEE Transac-tions on Mobile Computing, 2016
[5] S. Hong et al., “Mobile Workload Characterization,” IEEE ISPASS, 2014
[6] M. Zaharia et al., “Delay Scheduling,” EuroSys, 2010
[7] Android Developers, App Startup and Performance, 2024
[8] L. Kleinrock, Queueing Systems, Wiley
[9] W. H. Cantrell, and W. A. Davis, “Amplitude modulator utilizing a high-Q class-E DC-DC converter”, 2003 IEEE MTT-S Int. Microwave Symp. Dig., vol. 3, pp. 1721-1724, June 2003.
[10] H. L. Krauss, C. W. Bostian, and F. H. Raab, Solid State Radio Engineering, New York: J. Wiley & Sons, 1980.
