Scalable Microservices Architecture for Face Recognition-Based Employee Attendance Systems

Ridwan Setiawan, Wawan Hermawan, Asep Trisna Setiawan

Abstract

We present a face-recognition-based employee attendance system built on a microservices architecture and integrated with the external Worker AI (LSKK) inference API. The design separates camera I/O, verification, persistence, and presentation into independently deployable services, enabling targeted scaling and resilient operation through asynchronous queues. The system was developed using Rapid Application Development (RAD) and evaluated via black-box testing that covered authentication, camera and AI data views, filtering and pagination, reporting, and employee CRUD. The results show conformance to specifications: the interface renders the expected outputs, and the cooldown policy effectively prevents duplicate entries, while the separation of history (raw) and history_ai (verified) supports traceability and clean reporting. These findings indicate that combining microservices with API-based face recognition offers a practical and maintainable alternative to RFID-based workflows with fewer operational frictions. Limitations include the use of an external inference API (model configuration and thresholds are outside our control) and testing within a single organizational setting. Future work will focus on operational measurements of the deployed pipeline, particularly end-to-end latency under load spikes and queue formation, as well as monitoring misread/error rates to inform model improvements.

Full Text:

PDF

References

[1]R. Hasan and A. B. Sallow, “Face Detection and Recognition Using OpenCV,” Journal of Soft Computing and Data Mining, vol. 2, no. 2, pp. 86–97, Oct. 2021, doi: 10.30880/jscdm.2021.02.02.008.

[2]J. Patel, S. Gandhi, V. Katheriya, P. Pataliya, and A. Majumdar, “Enhancing Classroom Attendance Systems with Face Recognition through CCTV using Deep Learning,” Procedia Comput Sci, vol. 258, pp. 3031–3041, 2025, doi: 10.1016/j.procs.2025.04.561.

[3]Y. Abgaz et al., “Decomposition of Monolith Applications Into Microservices Architectures: A Systematic Review,” IEEE Transactions on Software Engineering, vol. 49, no. 8, pp. 4213–4242, Aug. 2023, doi: 10.1109/TSE.2023.3287297.

[4]I. Oumoussa and R. Saidi, “Evolution of Microservices Identification in Monolith Decomposition: A Systematic Review,” IEEE Access, vol. 12, no. February, pp. 23389–23405, 2024, doi: 10.1109/ACCESS.2024.3365079.

[5]V. Abhilash, S. H. Venkat, S. Nishal, S. M. Rajagopal, and N. Panda, “E-commerce Evolution: Unleashing the Potential of Serverless Microservices,” in 2024 15th International Conference on Computing Communication and Networking Technologies (ICCCNT), IEEE, Jun. 2024, pp. 1–8. doi: 10.1109/ICCCNT61001.2024.10726037.

[6]S. Bussa, S. Bharuka, A. Mani, and S. Kaushik, “Smart Attendance System using OPENCV based on Facial Recognition,” 2nd International Conference on Sustainable Computing and Smart Systems, ICSCSS 2024 - Proceedings, vol. 9, no. 03, pp. 1529–1535, 2024, doi: 10.1109/ICSCSS60660.2024.10624932.

[7]A. S. Lateef and M. Y. Kamil, “Facial Recognition Technology-Based Attendance Management System Application in Smart Classroom,” Iraqi Journal for Computer Science and Mathematics, pp. 136–158, Aug. 2023, doi: 10.52866/ijcsm.2023.02.03.012.

[8]F. Tapia, M. Á. Mora, W. Fuertes, H. Aules, E. Flores, and T. Toulkeridis, “From Monolithic Systems to Microservices: A Comparative Study of Performance,” Applied Sciences, vol. 10, no. 17, p. 5797, Aug. 2020, doi: 10.3390/app10175797.

[9]A. Bakhtin, X. Li, J. Soldani, A. Brogi, T. Cerny, and D. Taibi, “Tools Reconstructing Microservice Architecture: A Systematic Mapping Study,” in Software Architecture. ECSA 2023 Tracks, Workshops, and Doctoral Symposium, B. Tekinerdoğan, R. Spalazzese, H. Sözer, S. Bonfanti, and D. Weyns, Eds., Cham: Springer Nature Switzerland, 2024, pp. 3–18.

[10]Mahender Singh, “Resilient Microservices Architecture with Embedded AI Observability for Financial Systems,” Journal of Electrical Systems, vol. 20, no. 11s, pp. 4499–4510, Nov. 2024, doi: 10.52783/jes.8596.

[11]M. Niswar, R. Arisandy Safruddin, A. Bustamin, and I. Aswad, “Performance evaluation of microservices communication with REST, GraphQL, and gRPC,” International Journal of Electronics and Telecommunications, pp. 429–436, Jun. 2024, doi: 10.24425/ijet.2024.149562.

[12]M. Waseem, P. Liang, M. Shahin, A. Di Salle, and G. Márquez, “Design, monitoring, and testing of microservices systems: The practitioners’ perspective,” Journal of Systems and Software, vol. 182, p. 111061, Dec. 2021, doi: 10.1016/j.jss.2021.111061.

[13]S. Newman, Building microservices: designing fine-grained systems. “ O’Reilly Media, Inc.,” 2021.

[14]R. S. Pressman, Software engineePressman, R. S. (n.d.). Software engineering (2nd ed.). New York: McGraw-Hill Book Company.ring, 7th ed. New York: Higher Education, 2010.

[15]F. Qudus Khan, S. Rasheed, M. Alsheshtawi, T. Mohamed Ahmed, and S. Jan, “A Comparative Analysis of RAD and Agile Technique for Management of Computing Graduation Projects,” Computers, Materials & Continua, vol. 64, no. 2, pp. 777–796, 2020, doi: 10.32604/cmc.2020.010959.

[16]N. Singh and A. Hussain, “Rapid Application Development in Cloud Computing with IoT,” in IoT and AI Technologies for Sustainable Living, Boca Raton: CRC Press, 2022, pp. 1–28. doi: 10.1201/9781003051022-1.

[17]Z. Aghababaeyan, M. Abdellatif, L. Briand, R. S, and M. Bagherzadeh, “Black-Box Testing of Deep Neural Networks through Test Case Diversity,” IEEE Transactions on Software Engineering, vol. 49, no. 5, pp. 3182–3204, May 2023, doi: 10.1109/TSE.2023.3243522.

[18]I. El Gaabouri, M. Senhadji, M. Belkasmi, and B. El Bhiri, “A Systematic Literature Review on Authentication and Threat Challenges on RFID Based NFC Applications,” Future Internet, vol. 15, no. 11, p. 354, Oct. 2023, doi: 10.3390/fi15110354.

[19]Y. Malabi, M. Hani’ah, Noprianto, V. N. Wijayaningrum, V. Al Hadid Firdaus, and A. Himawan, “Efficient Employee Attendance System Integrating RFID and Android-Based Face Recognition with Liveness Detection,” in 2024 International Conference on Electrical and Information Technology (IEIT), IEEE, Sep. 2024, pp. 163–168. doi: 10.1109/IEIT64341.2024.10763296.

[20]M. Söylemez, B. Tekinerdogan, and A. K. Tarhan, “Microservice reference architecture design: A multi‐case study,” Softw Pract Exp, vol. 54, no. 1, pp. 58–84, Jan. 2024, doi: 10.1002/spe.3241.

[21]R. G. Kawi and Suprihadi, “Design of Website-Based Tourism Travel Information System (Case Study : Tenta Tour),” International Journal Software Engineering and Computer Science (IJSECS), vol. 3, no. 3, pp. 317–323, Dec. 2023, doi: 10.35870/ijsecs.v3i3.1788.

[22]A. El Akhdar et al., “Exploring the Potential of Microservices in Internet of Things: A Systematic Review of Security and Prospects,” Sensors, vol. 24, no. 20, p. 6771, Oct. 2024, doi: 10.3390/s24206771.

Refbacks

  • There are currently no refbacks.