This implementation demonstrates improved performance using the object pool pattern in a Bayesian network API.
This study presents the implementation of a REST API for predicting emergency situations at cellular network base stations using Bayesian networks. Unlike most studies limited to theoretical models, this work offers an engineering solution implemented in Java using the jSMILE library and the Spring Boot framework. The choice of Java is motivated by its mature and extensive ecosystem, which emphasizes security, reduced development time, and support for microservice architecture. This approach eliminates a common bottleneck in model implementation—significant resource consumption during Bayesian network initialization—which negatively affects request processing time. To address this issue, the Object Pool design pattern was introduced, significantly improving system performance. The application of the Object Pool pattern to a Bayesian network is done for the first time, representing the scientific novelty of this research. Load testing conducted using Locust allowed for the evaluation of system resilience under load, response time measurements, and monitoring the number of pool objects used at different load levels.
No takes yet. Share an insight, caveat, or question.
Grigorev et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: