An Experimental and CTMC-Based Framework for Evaluating Software Availability under Crash, Hang, and Configuration Failures
Software availability depends on how a system fails and on how quickly it can detect and recover from failures. This study presents an experimental and CTMC-based framework for evaluating software availability under three failure conditions: process crash, application-level hang, and persistent configuration failure. The experimental framework was implemented at the operating-system process level using Python and FastAPI, with separate components for probing, workload generation, fault injection, recovery control, and post-hoc analysis. Three workload levels were tested, and each fault-workload condition was repeated five times, giving a total of 45 experimental runs. The results showed clear differences among the three failure types. Process crash had the shortest recovery time and maintained experimental availability above 93%. Application-level hang required about 4.2 s for recovery and achieved approximately 82% availability. Configuration failure was detected quickly, but recovery required about 4.3 s and resulted in approximately 80% availability. Failure, detection, recovery, and extended repair behavior were represented using a generic Continuous-Time Markov Chain (CTMC). Experimental Time to Detection (TTD) and Time to Recovery (TTR) measurements were used to estimate the detection and recovery transition rates. A held-out consistency check compared CTMC-predicted mean restoration times with experimental observations that were not used during calibration; the relative differences were below 5% for all three failure types. Steady-state sensitivity analysis was also used to examine how assumed natural failure rates affect long-term availability. The proposed framework links controlled fault-injection measurements with a reusable analytical availability model while keeping measured and application-dependent transition parameters clearly separated.
Authors
- Nidaa Hasan Abbas (ORCID: https://orcid.org/0000-0002-3330-4516)
- Methaq Khadum
- Mohammad Malkawi2
Publication Details
- Journal
- Al-Noor Journal of Engineering Management and Computer Science
- Published
- 2026-12-03
- DOI
- https://doi.org/10.71229/eydadf50
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 0.00