Architecture Design for Enhancing Direct Client-to-Microservice Communication in an E-Participation Platform for Local Administrative Organizations in Suratthani Province, Thailand
Main Article Content
Abstract
Public participation is essential for governance in a democratic system. Local Administrative Organizations in Thailand typically provide websites and social media platforms such as Facebook Pages and the Line application for e-Participation. However, there is a lack of specific applications designed for e-Participation that ensure secure, efficient communication and support rapid information exchange. This research aimed to design and evaluate a direct client-to-microservice communication architecture for an e-Participation platform in Local Administrative Organizations in Surat Thani Province, Thailand. We adopted a microservice architecture based on Domain-Driven Design (DDD), along with an API-first design and a database-per-service pattern. A message broker was adopted for asynchronous inter-service communication. We implemented JSON Web Tokens (JWT) with AES-256 encryption for system security and used Apache JMeter for performance testing. The performance testing followed ISO/IEC 25010 standards under varying loads to assess throughput, response time, and resource utilization. The performance testing showed that the system throughput could handle 16.67 requests per second at 5,000 concurrent users, with zero error rate. The time behavior testing demonstrated that the system maintained an average response time of 41-46 milliseconds, well below 1,500 ms. The resource utilization test showed that the CPU peak value fell within the expected range, indicating that the system is highly stable, unaffected by CPU spikes, and efficient in memory use. Overall, the system successfully passed all performance criteria. This architecture enabled real-world usage of scalable, secure, and efficient e-Participation platforms for Local Administrative Organizations.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
United Nations. E-Participation Index; UN E-Government Knowledgebase. https://publicadministration.un.org/egovkb/en-us/About/Overview/E-Participation-Index (accessed Dec 1, 2024).
Li, S.; Zhang, H.; Jia, Z.; Zhong, C.; Zhang, C.; Shan, Z.; Shen, J.; Babar, M. A. Understanding and Addressing Quality Attributes of Microservices Architecture: A Systematic Literature Review. Inf. Softw. Technol. 2021, 131, 106449. https://doi.org/10.1016/j.infsof.2020.106449
Thönes, J. Microservices. IEEE Softw. 2015, 32(1), 116–116. https://doi.org/10.1109/MS.2015.11.
Isnaeni, R. M.; Utama, N. I.; Suakanto, S. Backend Development of a Microservice-Based Website Application for Public Issue Reporting: Case Study in People Representative Council. J. La Multiapp 2024, 5(2), 63–77. https://doi.org/10.37899/journallamultiapp.v5i2.1148
Medaglia, R. eParticipation Research: Moving Characterization Forward (2006–2011). Gov. Inf. Q. 2012, 29, 346–360. https://doi.org/10.1016/j.giq.2012.02.010
Blanc, D. L. E-Participation: A Quick Overview of Recent Qualitative Trends; United Nations Department of Economic and Social Affairs, 2020. https://www.un.org/esa/desa/papers/2020/wp163_2020.pdf (accessed Jan 10, 2025)
Medaglia, R.; Zheng, L. Mapping Government Social Media Research and Moving It Forward: A Framework and a Research Agenda. Gov. Inf. Q. 2017, 34(3), 496–510. https://doi.org/10.1016/j.giq.2017.06.001
Maureal, A. L.; Telen, M. A. E.; Uy, U. L. F.; Lorilla, F. M. A. Enhancing e-Government through Microservices: The Development and Impact of the NTC-EDGE System. Mindanao J. Sci. Technol. 2024, 22 (Suppl. 1). https://doi.org/10.61310/mjst.v22iS1.2221
Puspitasari, N.; Budiman, E.; Sulaiman, Y. N.; Firdaus, M. B. Microservice API Implementation for E-Government Service Interoperability. J. Phys.: Conf. Ser. 2021, 1807(1), 012005. https://doi.org/10.1088/1742-6596/1807/1/012005
Baresi, L.; Garriga, M. Microservices: The Evolution and Extinction of Web Services? In Microservices: Science and Engineering; Springer: Cham, Switzerland, 2020; pp 3–28. https://doi.org/10.1007/978-3-030-31646-4_1
Levcovitz, A.; Terra, R.; Valente, M. T. Towards a Technique for Extracting Microservices from Monolithic Enterprise Systems. arXiv 2016, arXiv:1605.03175.
Soldani, J.; Tamburri, D. A.; Van Den Heuvel, W.-J. The Pains and Gains of Microservices: A Systematic Grey Literature Review. J. Syst. Softw. 2018, 146, 215–232. https://doi.org/10.1016/j.jss.2018.09.082
Kapferer, S.; Zimmermann, O. Domain-Specific Language and Tools for Strategic Domain-Driven Design, Context Mapping and Bounded Context Modeling. In Proceedings of the 8th International Conference on Model-Driven Engineering and Software Development; SCITEPRESS, 2020; pp 299–306. https://doi.org/10.5220/0008910502990306
Velepucha, V.; Flores, P. A Survey on Microservices Architecture: Principles, Patterns and Migration Challenges. IEEE Access 2023, 11, 88339–88358. https://doi.org/10.1109/ACCESS.2023.3305687
Gite, K.; Gunjal, A.; Shinde, V. M. Monolithic vs. Microservices Architecture: A Comparative Study of Software Development Paradigms. Int. Sci. J. Eng. Manage. 2025, 4(6), 1–9. https://doi.org/10.55041/ISJEM04468
Blinowski, G.; Ojdowska, A.; Przybyłek, A. Monolithic vs. Microservice Architecture: A Performance and Scalability Evaluation. IEEE Access 2022, 10, 20357–20373. https://doi.org/10.1109/ACCESS.2022.3152803
Kambhammettu, A. Microservices vs. Monoliths: Choosing the Right Architecture. J. Multidiscip. 2025, 5(7), 629–636.
Padvekar, A. A.; Gupta, V. B. Comparative Analysis of Monolithic vs. Distributed Architecture. Int. J. Adv. Res. Sci. Commun. Technol. 2024, 433–442. https://doi.org/10.48175/IJARSCT-18946
Tupsakhare, P. Monolithic vs. Microservices: Analyzing Architecture Paradigms in Modern Software Development. J. Sci. Eng. Res. 2019, 6(2), 299–303.
Nagraj, A. Microservices vs. Monoliths in Financial Applications: A Comparative Analysis for Scalable Architectures. J. Econ. Manage. Res. 2021, 2, 2–6. https://doi.org/10.47363/JESMR/2021(2)288
Kumar, V. Microservice-Driven Performance Optimization in Large-Scale Transaction Processing Systems. Int. J. Comput. Exp. Sci. Eng. 2025, 11(4). https://doi.org/10.22399/ijcesen.4461
Wahyudin, A.; Anisyah, A.; Kusumawardani, S. M. Migrating Monolithic to Microservices: Comparative Performance Testing Evaluation Between Architectures. Sci. J. Inf. 2025, 12(4), 796–816. https://doi.org/10.15294/sji.v12i4.28499
Rademacher, F.; Sachweh, S.; Zündorf, A. Towards a UML Profile for Domain-Driven Design of Microservice Architectures. In Software Engineering and Formal Methods; Cerone, A.; Roveri, M., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2018; Vol. 10729, pp 230–245. https://doi.org/10.1007/978-3-319-74781-1_17
Newman, S. Building Microservices, 1st ed.; O'Reilly Media: Sebastopol, CA, 2015.
Lercher, A.; Glock, J.; Macho, C.; Pinzger, M. Microservice API Evolution in Practice: A Study on Strategies and Challenges. J. Syst. Softw. 2024, 205, 112110. https://doi.org/10.1016/j.jss.2024.112110.
Richardson, C. Microservices Patterns: With Examples in Java; Manning Publications: Shelter Island, NY, 2018.
Dudjak, M.; Martinović, G. An API-First Methodology for Designing a Microservice-Based Backend as a Service Platform. Inf. Technol. Control 2020, 49(2), 206–223. https://doi.org/10.5755/j01.itc.49.2.23757
Dragoni, N.; Lanese, I.; Larsen, S. T.; Mazzara, M.; Mustafin, R.; Safina, L. Microservices: Yesterday, Today, and Tomorrow. In Present and Ulterior Software Engineering; Mazzara, M.; Meyer, B., Eds.; Springer: Cham, Switzerland, 2017; pp 195–216. https://doi.org/10.1007/978-3-319-67425-4_12
Joshi, P. K. Microservices and API Gateways: The Backbone of Modern Application Platforms. Int. J. Core Eng. Manage. 2019, 6(2), 177–183. https://doi.org/10.5281/zenodo.13917563
Yerram, S. AWS API Gateway: A Research-Based Study on Cloud-Native Proxying and Integration. Int. J. Innov. Res. Creat. Technol. 2025, 10(6), 1–4. https://doi.org/10.5281/zenodo.17409762
Zhao, J. T.; Jing, S. Y.; Jiang, L. Z. Management of API Gateway Based on Micro-Service Architecture. In J. Phys.: Conf. Ser.; IOP Publishing, 2018; 1087, p 032032. https://doi.org/10.1088/1742-6596/1087/3/032032
Ochuba, N. A.; Kisina, D.; Owoade, S.; Uzoka, A. C.; Gbenle, T. P.; Adanigbo, O. S. Systematic Review of API Gateway Patterns for Scalable and Secure Application Architecture. Int. J. Front. Multidiscip. Res. 2021, 2, 94–100. https://doi.org/10.54660/IJFMR.2021.2.1.94-100
Bhole, A. Reducing Inter-Service Communication Latency in Microservices. Indian Sci. J. Res. Eng. Manage. 2024, 8(12), 1–6. https://doi.org/10.55041/IJSREM39350
Obuse, E.; Erigha, E. D.; Okare, B. P.; Uzoka, A. C.; Owoade, S.; Ayanbode, N. Optimizing Microservice Communication with gRPC and Protocol Buffers in Distributed Low-Latency API-Driven Applications. Iconic Res. Eng. J. 2020, 4(3), 250–268.
Eyerman, S.; Hur, I. Efficient Asynchronous RPC Calls for Microservices: DeathStarBench Study. arXiv 2022, arXiv:2209.13265. https://doi.org/10.48550/arXiv.2209.13265
Nomula, V. R. Optimizing Financial Systems with Microservices Architecture. Int. J. Comput. Eng. Technol. 2024, 15(5), 229–236.
Peyrott, S. JWT Handbook; Auth0, 2024. https://auth0.com/resources/ebooks/jwt-handbook/thankyou (accessed Aug 10, 2025).
Yarygina, T.; Bagge, A. H. Overcoming Security Challenges in Microservice Architectures. In Proceedings of the 2018 IEEE Symposium on Service-Oriented System Engineering (SOSE); IEEE: Washington, DC, 2018; pp 11–20. https://doi.org/10.1109/SOSE.2018.00011
Adrianto, S.; Herlambang, B. A.; Renaldy, R. Optimizing Customer Data Security in Water Meter Data Management Based on RESTful API and Data Encryption Using AES-256 Algorithm. J. Appl. Inform. Comput. 2025, 9(3), 876–882. https://doi.org/10.30871/jaic.v9i3.9358
Molyneaux, I. The Art of Application Performance Testing: From Strategy to Tools, 2nd ed.; O'Reilly Media, Inc.: Sebastopol, CA, 2014.
Menascé, D. A.; Almeida, V. A. F. Capacity Planning for Web Services: Metrics, Models, and Methods; Prentice Hall Professional: Upper Saddle River, NJ, 2002.
Bureau of Registration Administration, Department of Provincial Administration. Civil Registration Population Statistics (Monthly). https://stat.bora.dopa.go.th/stat/statnew/statMONTH/statmonth/mainpage (accessed Dec 1, 2024).
Carter, L.; Bélanger, F. The Utilization of E-Government Services: Citizen Trust, Innovation and Acceptance Factors. Inf. Syst. J. 2005, 15(1), 5–25. https://doi.org/10.1111/j.1365-2575.2005.00183.x
Hassan, S.; Bahsoon, R.; Buyya, R. Systematic Scalability Analysis for Microservices Granularity Adaptation Design Decisions. Softw.: Pract. Exp. 2022, 52(10), 2096–2131. https://doi.org/10.1002/spe.3069
Alnuhait, H. A.; Alzyadat, W.; Althunibat, A.; Kahtan, H.; Zaqaibeh, B.; Al-Khawaja, H. A. Web Application Performance Assessment: A Study of Responsiveness, Throughput, and Scalability. Int. J. Adv. Appl. Sci. 2024, 11(9), 214–226. https://doi.org/10.21833/ijaas.2024.09.023
Jugo, I.; Kirinić, V.; Vukovac, D. P. Analysis and Evaluation of Web Application Performance Enhancement Techniques. In Current Trends in Web Engineering; Springer International Publishing: Cham, Switzerland, 2014; pp 24–37. https://doi.org/10.1007/978-3-319-08245-5_3
Hussein, S.; Lahami, M.; Torjmen, M. Assessing the Quality of Microservice and Monolithic-Based Architecture: A Systematic Literature Review. Oper. Res. Eng. Sci.: Theory Appl. 2024, 7(2), 417-446.
Lawi, A.; Panggabean, B. L. E.; Yoshida, T. Evaluating GraphQL and REST API Services Performance in a Massive and Intensive Accessible Information System. Computers 2021, 10(11), 138. https://doi.org/10.3390/computers10110138
Iurchenko, A. Optimization of Microservices Architecture Performance in High-Load Systems. Am. J. Eng. Technol. 2025, 7(05), 123–132. https://doi.org/10.37547/tajet/Volume07Issue05-10
Weerasinghe, S.; Perera, I. Optimized Strategy for Inter-Service Communication in Microservices. Int. J. Adv. Comput. Sci. Appl. 2023, 14(2). https://doi.org/10.14569/IJACSA.2023.0140233
Singh, A. Testing the Impact of Encryption on Network Performance. Int. J. Sci. Res. Eng. Manage. 2022, 6(9), 1–10. https://doi.org/10.55041/IJSREM16483
Karacali, H.; Cebel, E.; Donum, N. Performance Analysis of Encryption Algorithms in Named Pipe Communication for Linux Systems. Eurasia Proc. Sci. Technol. Eng. Math. 2024, 27, 214–227. https://doi.org/10.55549/epstem.1518789
Asare, S.; Yaokumah, W.; Gyebi, E.; Abdulai, J.-D. Evaluating the Impact of Cryptographic Algorithms on Network Performance. Int. J. Cloud Appl. Comput. 2022, 12(1), 1–15. https://doi.org/10.4018/IJCAC.309937
Özer, E.; Aydos, H. Performance and Security of AES, DES, and RSA in Hybrid Systems: An Empirical Analysis of Triple Encryption. Int. J. Comput. Exp. Sci. Eng. 2024, 10(4). https://doi.org/10.22399/ijcesen.694