Fault Recovery in Raspberry Pi Sensor Networks during Intermittent Connectivity
Keywords:
fault recovery; intermittent connectivity; Raspberry Pi; wireless sensor networks; delay-tolerant networking; checkpointingAbstract
Raspberry Pi sensor networks combine low-cost general-purpose computing with commodity wireless links, making them attractive for environmental monitoring, building instrumentation, and laboratory testbeds. The same design choices that reduce cost also produce a difficult fault-recovery problem: storage wear, uncontrolled power loss, software crashes, radio outage, and partial partitions can occur concurrently, while the network cannot assume continuous end-to-end connectivity. This manuscript develops a design and analytical framework for fault recovery in Raspberry Pi-class sensor networks under intermittent connectivity. The central contribution is a tiered recovery architecture that combines local crash recovery through checksummed write-ahead journaling, watchdog-assisted fault containment, neighbor-assisted state reconstruction, delay-tolerant store-and-forward reconciliation, and quorum-aware degraded operation. The framework distinguishes crash faults, omission faults, timing faults, storage corruption, and partition faults, and it relates recovery decisions to the physical and operational constraints of single-board sensor nodes. Analytical expressions are derived for adaptive failure detection, checkpoint interval selection, quorum availability under node churn, replicated state-loss probability, data freshness after reconnection, and recovery completeness. These expressions are not fitted to a particular deployment; they expose the trade-offs that govern recovery design and identify the parameters that must be calibrated during commissioning. The resulting analysis shows that recovery quality in intermittent sensor networks depends less on any single mechanism than on the alignment of detection timeouts, durable state boundaries, replication policy, and reconciliation procedures. The framework provides a technically defensible basis for implementing recoverable Raspberry Pi sensor networks without assuming persistent connectivity or expensive fault-tolerant hardware.
References
1. Akyildiz, I. F., Su, W., Sankarasubramaniam, Y., & Cayirci, E. (2002). Wireless sensor networks: A survey. Computer Networks, 38(4), 393–422. https://doi.org/10.1016/S1389-1286(01)00302-4
2. Stankovic, J. A., Abdelzaher, T. F., Lu, C., Sha, L., & Hou, J. C. (2003). Real-time communication and coordination in embedded sensor networks. Proceedings of the IEEE, 91(7), 1002–1022. https://doi.org/10.1109/JPROC.2003.814620
3. Upton, E., & Halfacree, G. (2016). Raspberry Pi user guide (4th ed.). Wiley.
4. Avizienis, A., Laprie, J.-C., Randell, B., & Landwehr, C. (2004). Basic concepts and taxonomy of dependable and secure computing. IEEE Transactions on Dependable and Secure Computing, 1(1), 11–33. https://doi.org/10.1109/TDSC.2004.2
5. Fall, K. (2003). A delay-tolerant network architecture for challenged internets. In Proceedings of the 2003 conference on Applications, technologies, architectures, and protocols for computer communications (pp. 27–34). ACM. https://doi.org/10.1145/863955.863960
6. Cerf, V., Burleigh, S., Hooke, A., Torgerson, L., Durst, R., Scott, K., & Weiss, H. (2003). Delay-tolerant networking: An approach to interplanetary Internet. IEEE Communications Magazine, 41(6), 128–136. https://doi.org/10.1109/MCOM.2003.1204759
7. Chandy, K. M., & Lamport, L. (1985). Distributed snapshots: Determining global states of distributed systems. ACM Transactions on Computer Systems, 3(1), 63–75. https://doi.org/10.1145/214451.214456
8. Lamport, L. (1978). Time, clocks, and the ordering of events in a distributed system. Communications of the ACM, 21(7), 558–565. https://doi.org/10.1145/359545.359563
9. Kephart, J. O., & Chess, D. M. (2003). The vision of autonomic computing. Computer, 36(1), 41–50. https://doi.org/10.1109/MC.2003.1160055
10. Schneider, F. B. (1990). Implementing fault-tolerant services using the state machine approach: A tutorial. ACM Computing Surveys, 22(4), 299–319. https://doi.org/10.1145/98163.98167
11. Fischer, M. J., Lynch, N. A., & Paterson, M. S. (1985). Impossibility of distributed consensus with one faulty process. Journal of the ACM, 32(2), 374–382. https://doi.org/10.1145/3149.214121
12. Tanenbaum, A. S., & van Steen, M. (2017). Distributed systems (3rd ed.). Pearson.
13. Bormann, C., Castellani, A. P., & Shelby, Z. (2012). CoAP: An application protocol for billions of tiny internet nodes. IEEE Internet Computing, 16(2), 62–67. https://doi.org/10.1109/MIC.2012.29
14. Heinzelman, W. R., Chandrakasan, A., & Balakrishnan, H. (2000). Energy-efficient communication protocol for wireless microsensor networks. In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences (pp. 1–10). IEEE. https://doi.org/10.1109/HICSS.2000.926982
15. Ganesan, D., Govindan, R., Shenker, S., & Estrin, D. (2001). Highly-resilient, energy-efficient multipath routing in wireless sensor networks. ACM SIGMOBILE Mobile Computing and Communications Review, 5(4), 11–25. https://doi.org/10.1145/509506.509510
16. Romer, K., & Mattern, F. (2004). The design space of wireless sensor networks. IEEE Wireless Communications, 11(6), 54–61. https://doi.org/10.1109/MWC.2004.1368897
17. Karl, H., & Willig, A. (2005). Protocols and architectures for wireless sensor networks. Wiley.
18. Kshemkalyani, A. D., & Singhal, M. (2011). Distributed computing: Principles, algorithms, and systems. Cambridge University Press.
Downloads
Published
Issue
Section
License
Copyright (c) 2023 Computer Science and Engineering Transactions

This work is licensed under a Creative Commons Attribution 4.0 International License.
