Dependability Analysis for the Blockchain Oracle System: A Quantitative Modeling Approach
Abstract
1. Introduction
- Oracle systems are dynamic. Oracle nodes may become unavailable due to being offline, DDoS attacks, and unexpected failures, causing the number of oracle nodes in the oracle system to change dynamically. Furthermore, the available oracle node threshold for ensuring system reliability varies as the total number of nodes changes. Therefore, analyzing the dynamic behavior of oracle systems is a challenge that needs to be addressed.
- Transient availability, steady-state availability, and reliability metrics focus on different aspects of oracle system dependability. Therefore, how to collaboratively analyze these metrics to comprehensively analyze the dependability of the oracle system is a challenge that needs to be addressed.
- Oracle systems consist of threshold oracles and oracle nodes. Different nodes perform different functions, resulting in node heterogeneity. That is, different nodes are in different states at the same time. Therefore, capturing the heterogeneity of nodes in an oracle system is a challenge that needs to be addressed.
- We propose three models for analyzing the dependability of oracle systems. Specifically, (1) an SMP model captures the failure and recovery behaviors of each oracle node in the oracle system. (2) An SMP model with absorbing states captures the oracle system’s behaviors from initial operation to failure, and (3) a hierarchical model consisting of multiple SMP models captures the behaviors of the oracle system at different points in time. In particular, these models are multidimensional, which allows them to capture the behavior of different nodes in the system.
- We derive formulas for calculating transient availability, steady-state availability, and reliability, providing a comprehensive assessment of the oracle system’s dependability. The steady-state availability formula reveals the relationship between oracle node failure and recovery parameters, which can be used to evaluate the system’s behaviors as it approaches a steady state. The transient availability formula reveals the relationship between oracle node failure, recovery parameters, and time, which can be used to evaluate the dynamic behavior of the oracle system. The reliability formula reveals the sojourn time of the oracle system in each available state, which can be used to evaluate the executable time of the oracle system. In particular, these formulas are closed-form formulas, which can help service providers identify key factors affecting the dependability of the oracle system.
- We compare simulation and numerical analysis experiments to verify the approximate accuracy of the proposed formulas and models. We also perform sensitivity analysis experiments to analyze the sensitivity of various evaluation metrics with respect to different parameters. In addition, we evaluate the impact of different oracle node numbers on the oracle system’s dependability.
2. Related Work
2.1. Dependability Assessment Approaches
2.2. Blockchain Oracle Dependability Analysis
3. System Description and Dependability Analysis
3.1. System Dependability
3.2. System State
- State H (Healthy): In this state, the oracle node can function normally. A failed oracle node can return to this state after performing the recovery operation.
- State F (Failed): In this state, the oracle node is unavailable due to various reasons such as being offline, DDoS attacks, and unexpected failures.
3.3. Notation and Conventions
3.4. Steady-State Availability Analysis
3.5. Transient Availability Analysis
3.6. Reliability Analysis
4. Experiment Results
4.1. Experimental Configuration
4.2. Comparison of Simulation and Numerical Experiments
4.3. Sensitivity Analysis
4.4. Impact of the Number of Oracle Nodes on Dependability Metrics
5. Discussion
- Our models employs SMP technology, providing a reference for capturing the behaviors of blockchain oracle systems composed of multiple oracle nodes. However, we assume that failure time follows an exponential distribution, which limits the wide applicability of our models. To address this limitation, our models can be extended to models built using the Markov regenerative process, in which non-regenerative states can capture failure behaviors.
- In our model, the state space is represented by multidimensional tuples, which helps capture the heterogeneous behavior of nodes in blockchain oracle systems. The derived formulas can be used to analyze dependability under different numbers of oracle nodes. However, as the variety of components in the system increases, model construction becomes more difficult. Therefore, our models can be extended to hierarchical models, where our models captures fine-grained node behaviors, while RBD captures the relationships between components, effectively enhancing the model’s scalability.
- Our models describe the failure and recovery behaviors of nodes in the blockchain oracle system. However, oracle node failures can be caused by factors such as attacks. Therefore, our models can be extended to describe fine-grained attack behaviors, such as reconnaissance, intrusion, lateral movement, and execution, and to capture recovery behaviors at different attack stages.
- Our dependability assessment model only considers the impact of node failures and recovery on the dependability of blockchain oracle systems. However, network latency and data source reliability also affect system dependability. In the future, we will deploy a real-world platform to capture the impact of network latency and data source reliability on failure time and recovery time, thereby incorporating more accurate parameters into the model for dependability analysis.
- Our research focuses on the theoretical analysis of the dependability of blockchain oracle systems. The gap between theoretical analysis and practical measurements has not yet been assessed. However, considering the difficulty of deploying a practical platform and the time required to conduct experiments, we leave this for future work. It is important to note that our research can complement practical measurement experiments by analyzing the reasons behind the measurement results.
6. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| CTMC | Continuous-time Markov chain |
| MUGF | Multidimensional universal generating function |
| RBD | Reliability block diagram |
| SAN | Stochastic activity network |
| SMP | Semi-Markov process |
| SPN | Stochastic Petri net |
| SRN | Stochastic reward network |
References
- Maesa, D.D.F.; Mori, P. Blockchain 3.0 applications survey. J. Parallel Distrib. Comput. 2020, 138, 99–114. [Google Scholar] [CrossRef]
- Islam, S.; Apu, K.U. Decentralized vs. Centralized Database Solutions in Blockchain: Advantages, Challenges, and Use Cases. Glob. Mainstream J. Innov. Eng. Emerg. Technol. 2024, 3, 58–68. [Google Scholar] [CrossRef]
- Pal, A.; Tiwari, C.K.; Behl, A. Blockchain Technology in Financial Services: A Comprehensive Review of the Iiterature. J. Glob. Oper. Strateg. Sourc. 2021, 14, 61–80. [Google Scholar] [CrossRef]
- Tu, S.; Yu, H.; Badshah, A.; Waqas, M.; Halim, Z.; Ahmad, I. Secure Internet of Vehicles (IoV) with Decentralized Consensus Blockchain Mechanism. IEEE Trans. Veh. Technol. 2023, 72, 11227–11236. [Google Scholar] [CrossRef]
- McGhin, T.; Choo, K.K.R.; Liu, C.Z.; He, D. Blockchain in healthcare applications: Research challenges and opportunities. J. Netw. Comput. Appl. 2019, 135, 62–75. [Google Scholar] [CrossRef]
- Huo, R.; Zeng, S.; Wang, Z.; Shang, J.; Chen, W.; Huang, T.; Wang, S.; Yu, F.R.; Liu, Y. A Comprehensive Survey on Blockchain in Industrial Internet of Things: Motivations, Research Progresses, and Future Challenges. IEEE Commun. Surv. Tutorials 2022, 24, 88–122. [Google Scholar] [CrossRef]
- Khan, S.N.; Loukil, F.; Ghedira-Guegan, C.; Benkhelifa, E.; Bani-Hani, A. Blockchain Smart Contracts: Applications, Challenges, and Future Trends. Peer-to-Peer Netw. Appl. 2021, 14, 2901–2925. [Google Scholar] [CrossRef] [PubMed]
- Taherdoost, H. Smart Contracts in Blockchain Technology: A Critical Review. Information 2023, 14, 117. [Google Scholar] [CrossRef]
- Singh, A.; Parizi, R.M.; Zhang, Q.; Choo, K.K.R.; Dehghantanha, A. Blockchain Smart Contracts Formalization: Approaches and Challenges to Address Vulnerabilities. Comput. Secur. 2020, 88, 101654. [Google Scholar] [CrossRef]
- Ezzat, S.K.; Saleh, Y.N.; Abdel-Hamid, A.A. Abdel-Hamid: Blockchain Oracles: State-of-the-art and Research Directions. IEEE Access 2022, 10, 67551–67572. [Google Scholar] [CrossRef]
- Pasdar, A.; Lee, Y.C.; Dong, Z. Connect API with Blockchain: A Survey on Blockchain Oracle Implementation. ACM Comput. Surv. 2023, 55, 1–39. [Google Scholar] [CrossRef]
- Caldarelli, G. Understanding the Blockchain Oracle Problem: A Call for Action. Information 2020, 11, 509. [Google Scholar] [CrossRef]
- Adler, J.; Berryhill, R.; Veneris, A.; Poulos, Z.; Veira, N.; Kastania, A. Astraea: A Decentralized Blockchain Oracle. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1145–1152. [Google Scholar]
- Tola, B.; Jiang, Y.; Helvik, B.E. Model-Driven Availability Assessment of the NFV-MANO with Software Rejuvenation. IEEE Trans. Netw. Serv. Manag. 2021, 18, 2460–2477. [Google Scholar] [CrossRef]
- Ghosh, A.; Lakshmi, J. End-to-end Resiliency Analysis Framework for Cloud Storage Services. In Proceedings of the 2023 IEEE 28th Pacific Rim International Symposium on Dependable Computing (PRDC), Singapore, 24–27 October 2023; pp. 134–141. [Google Scholar]
- Torquato, M.; Maciel, P.; Vieira, M. Software Rejuvenation Meets Moving Target Defense: Modeling of Time-Based Virtual Machine Migration Approach. In Proceedings of the 2022 IEEE 33rd International Symposium on Software Reliability Engineering (ISSRE), Charlotte, NC, USA, 31 October–3 November 2022; pp. 205–216. [Google Scholar]
- Torquato, M.; Maciel, P.; Vieira, M. Evaluation of time-based virtual machine migration as moving target defense against host-based attacks. J. Syst. Softw. 2025, 219, 112222. [Google Scholar] [CrossRef]
- Pereira, P.; Melo, C.; Araujo, J.; Dantas, J.; Santos, V.; Maciel, P. Availability model for edge-fog-cloud continuum: An evaluation of an end-to-end infrastructure of intelligent traffic management service. J. Supercomput. 2022, 78, 4421–4448. [Google Scholar] [CrossRef]
- Araujo, J.; Oliveira, D.; Matos, R.; Alves, G.; Maciel, P. Availability and reliability modeling of mobile cloud architectures. In IEEE Transactions on Industrial Informatics; IEEE: New York, NY, USA, 2023. [Google Scholar]
- De Simone, L.; Di Mauro, M.; Natella, R.; Postiglione, F. Performability Evaluation of Softwarized Multi-Tenant 5G Architectures with Rejuvenation. In Proceedings of the International Workshop on Reliable Networks Design and Modeling (RNDM), Pompei (Napoli), Italy, 25–27 November 2024; pp. 1–6. [Google Scholar]
- De Simone, L.; Di Mauro, M.; Natella, R.; Postiglione, F. Performance and Availability Challenges in Designing Resilient 5G Architectures. IEEE Trans. Netw. Serv. Manag. 2024, 21, 5291–5303. [Google Scholar] [CrossRef]
- Ivanchenko, O.; Kharchenko, V.; Moroz, B.; Ponochovnyi, Y.; Degtyareva, L. Availability Assessment of a Cloud Server System: Comparing Markov and Semi-Markov Models. In Proceedings of the IEEE International Workshop on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS), Cracow, Poland, 22–25 September 2021; pp. 1–6. [Google Scholar]
- Zheng, J.; Okamura, H.; Dohi, T. Availability analysis of software systems with rejuvenation and checkpointing. Mathematics 2021, 9, 846. [Google Scholar] [CrossRef]
- Zheng, J.; Okamura, H.; Dohi, T. Sensitivity Analysis of Software Rejuvenation Model with Markov Regenerative Process. In Proceedings of the IEEE International Conference on Software Reliability Engineering Workshops (ISSRE Wksp), Wuhan, China, 25–28 October 2021; pp. 9–16. [Google Scholar]
- Bhardwaj, R.K.; Sharma, L. Analytical model of a virtualized computing system using semi-markov approach. Life Cycle Reliab. Saf. Eng. 2025, 14, 93–104. [Google Scholar] [CrossRef]
- Lo, S.K.; Xu, X.; Staples, M.; Yao, L. Reliability Analysis for Blockchain Oracles. Comput. Electr. Eng. 2020, 83, 106582. [Google Scholar] [CrossRef]
- Zhu, H.; Bai, J.; Misic, J.; Misic, V.B.; Chang, X. On Dependability of Heterogeneous Distributed Oracle System in Blockchain. In Proceedings of the IEEE International Conference on Communications (ICC), Denver, CO, USA, 9–13 June 2024; pp. 782–787. [Google Scholar]
- Liu, P.; Xian, Y.; Yao, C.; Wang, P.; Wang, L.E.; Li, X. A Trustworthy and Consistent Blockchain Oracle Scheme for Industrial Internet of Things. IEEE Trans. Netw. Serv. Manag. 2024, 21, 5135–5148. [Google Scholar] [CrossRef]
- Taghavi, M.; Bentahar, J.; Otrok, H.; Bakhtiyari, K. A Reinforcement Learning Model for the Reliability of Blockchain Oracles. Expert Syst. Appl. 2023, 214, 119160. [Google Scholar] [CrossRef]
- Zhang, H.; Li, S.; Bao, H.; Wu, S.; Li, J. A Trust-Aware and Cost-Optimized Blockchain Oracle Selection Model with Deep Reinforcement Learning. arXiv 2025, arXiv:2502.16133. [Google Scholar]
- Ahmadjee, S.; Mera-Gómez, C.; Farshidi, S.; Bahsoon, R.; Kazman, R. Decision Support Model for Selecting the Optimal Blockchain Oracle Platform: An Evaluation of Key Factors. ACM Trans. Softw. Eng. Methodol. 2025, 34, 1–35. [Google Scholar] [CrossRef]







| System State | State of Threshold Oracle | State of the 1st Oracle Node | … | State of the Last Oracle Node | Available or Not |
|---|---|---|---|---|---|
| Healthy | Healthy | … | Healthy | Yes | |
| Healthy | Failed | … | Healthy | Yes | |
| Healthy | Healthy | … | Failed | Yes | |
| Failed | Failed | … | Failed | No |
| Variable | Definition | Distribution | Default Values |
|---|---|---|---|
| The cumulative distribution function (CDF) for the holding time of the threshold oracle from the H state to the F state. | Exponential | 20 days– 40 days [27] | |
| The CDF for the holding time of the ith oracle node from the H state to the F state. () | Exponential | 20 days–40 days [27] | |
| The CDF for the minimum holding time of other oracles from the H state to the F state after the ith oracle node suffers from failure. () | -- | -- | |
| The CDF for the holding time of the threshold oracle from the F state to the H state. | General | 10 min–30 min [27] | |
| The CDF for the holding time of the ith oracle node from the F state to the H state. () | General | 10 min–30 min [27] | |
| The ith system state | -- | -- |
| Recovery Time | Availability | MTTF | ||
|---|---|---|---|---|
| Simulation Result | Numerical Result | Simulation Result | Numerical Result | |
| 0.3 h | 0.99872 | 0.998351027433575 | 606.56851856235 | 605.445170748170 |
| 0.4 h | 0.99859 | 0.998350803952405 | 603.56602322027 | 605.357511959828 |
| 0.5 h | 0.99844 | 0.998350580608567 | 601.54251087916 | 605.269934102579 |
| Parameter | Sensitivity of MTTF | Sensitivity of Availability |
|---|---|---|
| −0.998911858956048 | −0.00164727844825521 | |
| −0.001087009945220 | −0.00000203943860168 | |
| -- | −0.00164908432418301 | |
| −0.000506780754578 | −0.00000078347609441 |
| Failure Time | Transient Availability | Steady-State Availability | MTTF |
|---|---|---|---|
| 625 h | 0.9998477285854 | 0.99840075337411 | 624.29889391773 |
| 650 h | 0.9998535839869 | 0.99846210044454 | 649.24235740467 |
| 675 h | 0.9998590055456 | 0.99851890853281 | 674.18295840783 |
| 700 h | 0.9998640398774 | 0.99857166468895 | 699.12132082761 |
| 725 h | 0.9998687269389 | 0.99862078646936 | 724.05690262890 |
| Recovery Time | Transient Availability | Steady-State Availability | MTTF |
|---|---|---|---|
| 0.3 h | 0.999020602478 | 0.998351027433 | 605.44517074817 |
| 0.4 h | 0.999020501367 | 0.998350803952 | 605.35751195982 |
| 0.5 h | 0.999020415433 | 0.998350580608 | 605.26993410257 |
| Failure Time | 3 Oracle Nodes | 4 Oracle Nodes | 5 Oracle Nodes |
|---|---|---|---|
| 650 h | 0.99846210044454 | 0.99846390027294 | 0.998463891108986 |
| 700 h | 0.99857166468895 | 0.99857346494968 | 0.998573455783294 |
| 750 h | 0.99866664181421 | 0.99866844244974 | 0.998668433281247 |
| Recovery Time of Threshold Time | 3 Oracle Nodes | 4 Oracle Nodes | 5 Oracle Nodes |
|---|---|---|---|
| 0.5 h | 0.999174777407087 | 0.999175678586656 | 0.999175673998355 |
| 1 h | 0.998350915675816 | 0.998352715065557 | 0.998352705904067 |
| 1.5 h | 0.997528411442698 | 0.997531106084212 | 0.997531092364586 |
| Recovery Time of Oracle Node | 3 Oracle Nodes | 4 Oracle Nodes | 5 Oracle Nodes |
|---|---|---|---|
| 0.3 h | 0.998351027433575 | 0.998352715424455 | 0.998352706954 |
| 0.4 h | 0.998350803952405 | 0.998352714674241 | 0.998350801577 |
| 0.5 h | 0.998350580608567 | 0.998352714248041 | 0.998350558394 |
| Failure Time | 3 Oracle Nodes | 4 Oracle Nodes | 5 Oracle Nodes |
|---|---|---|---|
| 650 h | 649.242357404679 | 649.9993995749 | 649.995515917555 |
| 700 h | 699.121320827615 | 699.9992497412 | 699.994745413766 |
| 750 h | 748.992453099839 | 750.0002100998 | 749.995039097604 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bai, J. Dependability Analysis for the Blockchain Oracle System: A Quantitative Modeling Approach. Electronics 2025, 14, 4791. https://doi.org/10.3390/electronics14244791
Bai J. Dependability Analysis for the Blockchain Oracle System: A Quantitative Modeling Approach. Electronics. 2025; 14(24):4791. https://doi.org/10.3390/electronics14244791
Chicago/Turabian StyleBai, Jing. 2025. "Dependability Analysis for the Blockchain Oracle System: A Quantitative Modeling Approach" Electronics 14, no. 24: 4791. https://doi.org/10.3390/electronics14244791
APA StyleBai, J. (2025). Dependability Analysis for the Blockchain Oracle System: A Quantitative Modeling Approach. Electronics, 14(24), 4791. https://doi.org/10.3390/electronics14244791
