3rd International Conference on Advancements in Computing [ICAC] 2021

Permanent URI for this collectionhttps://rda.sliit.lk/handle/123456789/947

Browse

Search Results

Now showing 1 - 2 of 2
  • Thumbnail Image
    PublicationEmbargo
    Optimization of Microservices Security
    (2021 3rd International Conference on Advancements in Computing (ICAC), SLIIT, 2021-12-09) Kalubowila, D.C.; Athukorala, S.M.; Tharaka, B.A.S.; Samarasekara, H.W.Y.R.; Samaratunge, U.S.S.
    Microservices is a trending architecture, and due to its demanding features and behaviors, billions of business applications are developed based on it. Due to its remarkable ability to deploy and coordinate containerized microservices, Kubernetes deployments support the service mesh architectures, and that ensures secured inter-service communication. The Istio is the widely used service mesh tool at present. However, service-to-service communication happens in the present Istio architecture, and there is a probability of exchanging unauthorized and over-provisioned requests due to incorrect implementation. Currently, these requests are verified within the upstream microservice. Obtaining a response to an erroneous request may take considerable time latency. This research thereby aims to address a solution to reduce the latency of a response by implementing an external validation model. The proposed external validation model ensures that the required parameters are validated and actions are taken before requests reach the service level. External validation enables applications to save significant time and resources.
  • Thumbnail Image
    PublicationEmbargo
    Database Scaling on Kubernetes
    (2021 3rd International Conference on Advancements in Computing (ICAC), SLIIT, 2021-12-09) Perera, H.C.S.; De Silva, T.S.D.; Wasala, W.M.D.C.; Rajapakshe, R.M.P.R.L.; Kodagoda, N.; Samaratunge, U.S.S.; Jayanandana, H.H.N.C.
    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.