Control-Theoretic Autoscaling of Node.js in Kubernetes
dc.contributor.advisor | Kent, Kenneth B. | |
dc.contributor.advisor | Patros, Panos | |
dc.contributor.author | Bhandari, Sujit | |
dc.date.accessioned | 2023-08-22T17:43:41Z | |
dc.date.available | 2023-08-22T17:43:41Z | |
dc.date.issued | 2022-01 | |
dc.description.abstract | Over the years, Kubernetes has emerged as the most prominent container orchestration platform and is thus used for managing containerized workloads in cloud-based environments. The use of the Kubernetes horizontal pod autoscaler (HPA) is one of the most widely used mechanisms for satisfaction of service level objectives under varying load conditions. Node.js applications are no exception to this; however, due to the event-driven, asynchronous nature of Node.js, there is a need for runtime-specific metrics for triggering autoscaling as opposed to the prevalent CPU-utilization-based mechanism. Thus, the contribution of this thesis is threefold: first, introducing a Node.js specific metric as the target setpoint value for the HPA controller, which acts as a threshold for triggering autoscaling; second, presenting the use of an external supervisory controller, based on control-theory and the model of the cluster, to adaptively change the setpoint value based on the difference between measured and desired service level metric; and finally, proposing a three-tier adaptive component for continuously monitoring and updating the system model and the controller parameters. To verify the methodology, this research compares the performance, under various load patterns, achieved by using the proposed approach with the widely used CPU-utilization-based autoscaling in Kubernetes. | |
dc.description.copyright | © Sujit Bhandari, 2022 | |
dc.format.extent | xi, 100 | |
dc.format.medium | electronic | |
dc.identifier.uri | https://unbscholar.lib.unb.ca/handle/1882/37309 | |
dc.language.iso | en | |
dc.publisher | University of New Brunswick | |
dc.relation | Natural Sciences and Engineering Research Council of Canada (NSERC) | |
dc.relation | New Brunswick Innovation Foundation | |
dc.rights | http://purl.org/coar/access_right/c_abf2 | |
dc.subject.discipline | Computer Science | |
dc.title | Control-Theoretic Autoscaling of Node.js in Kubernetes | |
dc.type | master thesis | |
oaire.license.condition | other | |
thesis.degree.discipline | Computer Science | |
thesis.degree.grantor | University of New Brunswick | |
thesis.degree.level | masters | |
thesis.degree.name | M.C.S. |