Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Foreign Key Constraints to Maintain Referential Integrity in Distributed Database in Microservices Architecture

Author 1: Shamsa Kanwal Author 2: Nauman Riaz Chaudhry Author 3: Reema Choudhary Author 4: Younus Ahamad Shaik Author 5: Pankaj Yadav Author 6: Ayesha Rashid
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 6 · Published 2025

DOI: 10.14569/IJACSA.2025.0160696

Abstract

In the world of modern software development, microservices architecture has become increasingly popular due to its ability to help developers to build large and complex applications that are more agile, faster and more scalable. In large scale applications (such as e-commerce, healthcare, finance, social media, inventory management, travel booking, content management, and customer relationship management systems etc.) with many interconnected services, it is tough to keep the data accurate and consistent. The concept of referential integrity is applied to validate the data. Referential integrity refers to the preservation of relationships between tables. In a monolithic architecture, where the application and database are closely linked and co-located on the same server, referential integrity via foreign key constraints makes it feasible to preserve consistent and accurate data. But in the microservices architecture, maintaining referential integrity across distributed databases poses significant challenges due to its decentralized nature of data management. This study utilizes a hybrid research methodology, combining empirical research and design science research to discover and address the challenges of maintaining referential integrity in distributed databases in microservice architecture and calculate the response time by comparing and analyzing with existing models. The results of the evolution in term of response time are presented in this work.

Keywords

How to Cite this Article

Kanwal, S., Chaudhry, N. R., Choudhary, R., Shaik, Y. A., Yadav, P., & Rashid, A. (2025). Foreign Key Constraints to Maintain Referential Integrity in Distributed Database in Microservices Architecture. International Journal of Advanced Computer Science and Applications, 16(6). https://doi.org/10.14569/IJACSA.2025.0160696

Kanwal, Shamsa, et al.. "Foreign Key Constraints to Maintain Referential Integrity in Distributed Database in Microservices Architecture." International Journal of Advanced Computer Science and Applications, vol. 16, no. 6, 2025, https://doi.org/10.14569/IJACSA.2025.0160696.

@article{Kanwal2025,
  title     = {Foreign Key Constraints to Maintain Referential Integrity in Distributed Database in Microservices Architecture},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {6},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Shamsa Kanwal and Nauman Riaz Chaudhry and Reema Choudhary and Younus Ahamad Shaik and Pankaj Yadav and Ayesha Rashid},
  doi       = {10.14569/IJACSA.2025.0160696},
  url       = {https://doi.org/10.14569/IJACSA.2025.0160696}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 12, December 2026
Paper Submission Due November 25, 2026
Review Notification December 15, 2026
Publication Date December 31, 2026