H. Perera, T. De Silva, W. M. D. C. Wasala, R. M. P. R. L. Rajapakshe, N. Kodagoda, Udara Srimath S. Samaratunge, H. Jayanandana
{"title":"Database Scaling on Kubernetes","authors":"H. Perera, T. De Silva, W. M. D. C. Wasala, R. M. P. R. L. Rajapakshe, N. Kodagoda, Udara Srimath S. Samaratunge, H. Jayanandana","doi":"10.1109/ICAC54203.2021.9671185","DOIUrl":null,"url":null,"abstract":"Kubernetes is a hot topic in the field of Software Engineering and Distributed Computing. When compared to previous methods, the principle underlying Kubernetes, which is containerization, has altered how applications are created and delivered. However, when considering the state, particularly the databases, with Kubernetes, there is a scalability and data synchronization barrier. The most frequently used approach is to host the database outside of Kubernetes and maintain connectivity with the cluster. Kubernetes inherent capabilities are sufficient for hosting databases. But that requires high domain knowledge to do the configurations and maintain the databases on Kubernetes. The purpose of this research is to fulfil that gap by introducing a solution for managing highly available databases on Kubernetes. The solution is limited to managing PostgreSQL databases on Kubernetes using auto-scaling. A novel algorithm is proposed for auto-scaling, as previous algorithms do not take database requests into account when determining the scaling need. The drawbacks of data synchronization and auto-scaling will be solved in this research, and the end user will be able to access the service without interruption for the majority of the time, as the final solution makes the database cluster highly available for the service layer.","PeriodicalId":227059,"journal":{"name":"2021 3rd International Conference on Advancements in Computing (ICAC)","volume":"81 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Advancements in Computing (ICAC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICAC54203.2021.9671185","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
Kubernetes is a hot topic in the field of Software Engineering and Distributed Computing. When compared to previous methods, the principle underlying Kubernetes, which is containerization, has altered how applications are created and delivered. However, when considering the state, particularly the databases, with Kubernetes, there is a scalability and data synchronization barrier. The most frequently used approach is to host the database outside of Kubernetes and maintain connectivity with the cluster. Kubernetes inherent capabilities are sufficient for hosting databases. But that requires high domain knowledge to do the configurations and maintain the databases on Kubernetes. The purpose of this research is to fulfil that gap by introducing a solution for managing highly available databases on Kubernetes. The solution is limited to managing PostgreSQL databases on Kubernetes using auto-scaling. A novel algorithm is proposed for auto-scaling, as previous algorithms do not take database requests into account when determining the scaling need. The drawbacks of data synchronization and auto-scaling will be solved in this research, and the end user will be able to access the service without interruption for the majority of the time, as the final solution makes the database cluster highly available for the service layer.