Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]

The increase and growing number of users in the internet gives a higher requirement to backend application systems nowadays to be designed to handle thousands of users traffic concurrently. Microservice architecture is also in a rising trend which they allow for each service to scale horizontally by...

Full description

Saved in:
Bibliographic Details
Main Authors: Nor Sobri, Nur Ayuni, Abas, Mohamad Aqib Haqmi, Mohd Yassin, Ahmad Ihsan, Megat Ali, Megat Syahirul Amin, Md Tahir, Nooritawati, Zabidi, Azlee
Format: Article
Language:English
Published: UiTM Press 2022
Subjects:
Online Access:https://ir.uitm.edu.my/id/eprint/63167/1/63167.pdf
https://doi.org/10.24191/jeesr.v20i1.004
https://ir.uitm.edu.my/id/eprint/63167/
https://jeesr.uitm.edu.my/v1/
https://doi.org/10.24191/jeesr.v20i1.004
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.uitm.ir.63167
record_format eprints
spelling my.uitm.ir.631672022-06-30T07:05:01Z https://ir.uitm.edu.my/id/eprint/63167/ Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.] Nor Sobri, Nur Ayuni Abas, Mohamad Aqib Haqmi Mohd Yassin, Ahmad Ihsan Megat Ali, Megat Syahirul Amin Md Tahir, Nooritawati Zabidi, Azlee Database management The increase and growing number of users in the internet gives a higher requirement to backend application systems nowadays to be designed to handle thousands of users traffic concurrently. Microservice architecture is also in a rising trend which they allow for each service to scale horizontally by their throughput and load helps to scale the system efficiently without waste of resources like in the traditional monolithic application system. Database connection pool helps for backend systems to access databases efficiently. The present issue is determining the optimal number of database connections to use in a microservice based backend system. This paper aims to find the most suitable amount of database connections in a microservice setting, where multiple instances of the service are used for scalability and high availability purposes of the system. The experiment was conducted by varying the number of database connections from one to five to ten in both single instance and three instance services, where the service being examined is the backend system's roles and permissions service. The results of this experiment indicate that five database connections provide the best performance latency result in a microservice architecture with three service instances. With 2000 requests per second, the maximum latency was 53ms, while the 99th percentile latency was 19ms. The study contributes by determining the optimal size of a database connection pool for use in a microservice architecture with several instances of the service are operating concurrently. UiTM Press 2022-04 Article PeerReviewed text en https://ir.uitm.edu.my/id/eprint/63167/1/63167.pdf Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]. (2022) Journal of Electrical and Electronic Systems Research (JEESR), 20: 4. pp. 29-33. ISSN 1985-5389 https://jeesr.uitm.edu.my/v1/ https://doi.org/10.24191/jeesr.v20i1.004 https://doi.org/10.24191/jeesr.v20i1.004
institution Universiti Teknologi Mara
building Tun Abdul Razak Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Mara
content_source UiTM Institutional Repository
url_provider http://ir.uitm.edu.my/
language English
topic Database management
spellingShingle Database management
Nor Sobri, Nur Ayuni
Abas, Mohamad Aqib Haqmi
Mohd Yassin, Ahmad Ihsan
Megat Ali, Megat Syahirul Amin
Md Tahir, Nooritawati
Zabidi, Azlee
Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
description The increase and growing number of users in the internet gives a higher requirement to backend application systems nowadays to be designed to handle thousands of users traffic concurrently. Microservice architecture is also in a rising trend which they allow for each service to scale horizontally by their throughput and load helps to scale the system efficiently without waste of resources like in the traditional monolithic application system. Database connection pool helps for backend systems to access databases efficiently. The present issue is determining the optimal number of database connections to use in a microservice based backend system. This paper aims to find the most suitable amount of database connections in a microservice setting, where multiple instances of the service are used for scalability and high availability purposes of the system. The experiment was conducted by varying the number of database connections from one to five to ten in both single instance and three instance services, where the service being examined is the backend system's roles and permissions service. The results of this experiment indicate that five database connections provide the best performance latency result in a microservice architecture with three service instances. With 2000 requests per second, the maximum latency was 53ms, while the 99th percentile latency was 19ms. The study contributes by determining the optimal size of a database connection pool for use in a microservice architecture with several instances of the service are operating concurrently.
format Article
author Nor Sobri, Nur Ayuni
Abas, Mohamad Aqib Haqmi
Mohd Yassin, Ahmad Ihsan
Megat Ali, Megat Syahirul Amin
Md Tahir, Nooritawati
Zabidi, Azlee
author_facet Nor Sobri, Nur Ayuni
Abas, Mohamad Aqib Haqmi
Mohd Yassin, Ahmad Ihsan
Megat Ali, Megat Syahirul Amin
Md Tahir, Nooritawati
Zabidi, Azlee
author_sort Nor Sobri, Nur Ayuni
title Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
title_short Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
title_full Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
title_fullStr Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
title_full_unstemmed Database connection pool in microservice architecture / Nur Ayuni Nor Sobri ...[et al.]
title_sort database connection pool in microservice architecture / nur ayuni nor sobri ...[et al.]
publisher UiTM Press
publishDate 2022
url https://ir.uitm.edu.my/id/eprint/63167/1/63167.pdf
https://doi.org/10.24191/jeesr.v20i1.004
https://ir.uitm.edu.my/id/eprint/63167/
https://jeesr.uitm.edu.my/v1/
https://doi.org/10.24191/jeesr.v20i1.004
_version_ 1738514009608421376
score 13.209306