Memory Efficiency on the Raspberry Pi 3b Using the Singleton Design Pattern for Murrotal and Salawat Tarhim Application
- DOI
- 10.2991/978-94-6463-924-7_3How to use a DOI?
- Keywords
- Raspberry Pi 3B; Design Pattern; Singleton Design Pattern; Memory Efficiency
- Abstract
The Raspberry Pi 3 B is used to play MP3 files as a marker for entering prayer times. Murottal or salawat tarhim files will be activated at certain intervals by adjusting the prayer times. Memory limitations on the Raspberry Pi 3B are at risk of crashing, so that the required files fail to load or cannot be played correctly. Meanwhile, the murottal that is played must continue without starting from the beginning when entering the maghrib, dawn, or before Friday prayers. The singleton design pattern is used in the Python programming language to ensure that the system uses only one instance and does not create another instance if the existing instance can still be accessed. By using this singleton design pattern, the system avoids a spike in memory usage on the Raspberry Pi 3 B, leaving sufficient memory space for the system. The goal of this research is to use the singleton design pattern to provide an effective solution for improving memory efficiency and application stability.
- Copyright
- © 2025 The Author(s)
- Open Access
- Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
Cite this article
TY - CONF AU - Mia Fitriawati AU - Mochamad Fajar Wicaksono PY - 2025 DA - 2025/12/16 TI - Memory Efficiency on the Raspberry Pi 3b Using the Singleton Design Pattern for Murrotal and Salawat Tarhim Application BT - Proceedings of the 8th International Conference on Informatics, Engineering, Science & Technology (INCITEST 2025) PB - Atlantis Press SP - 16 EP - 25 SN - 2352-5401 UR - https://doi.org/10.2991/978-94-6463-924-7_3 DO - 10.2991/978-94-6463-924-7_3 ID - Fitriawati2025 ER -