Please use this identifier to cite or link to this item:
https://www.um.edu.mt/library/oar/handle/123456789/150294| Title: | Autoscaling event‐driven systems with workload‐level metrics |
| Authors: | Okubamicael, Biniam (2026) |
| Keywords: | Cloud computing Electronic data processing -- Distributed processing Kubernetes Apache Kafka (Electronic resource) Computer software -- Reliability |
| Issue Date: | 2026 |
| Citation: | Okubamicael, B. (2026). Autoscaling event‐driven systems with workload‐level metrics (Bachelor’s dissertation). |
| Abstract: | This study investigates the stability of autoscaling mechanisms in cloud‐native event‐driven systems deployed on Kubernetes. Traditional autoscaling through the Kubernetes Horizontal Pod Autoscaler (HPA) relies on infrastructure‐level metrics such as CPU utilisation. However, in asynchronous architectures, CPU usage can be artificially inflated by internal application activities, including background maintenance tasks, cache rebuilding, and computational spikes, that do not reflect genuine changes in workload demand. This misalignment can result in excessive pod churn or inefficient resource overprovisioning. To address this problem, a cloud‐native event‐driven concert ticket booking system was developed using Spring Boot, Apache Kafka, PostgreSQL, and Kubernetes. Controlled experiments were conducted to compare traditional CPU‐based HPA with workload‐aware autoscaling based on Kafka consumer lag using Kubernetes Event‐Driven Autoscaling (KEDA). The results showed that CPU‐based autoscaling was highly susceptible to internal application noise. Reactive HPA configurations produced up to 41 replica changes during a single experiment, while the default HPA achieved stability primarily through persistent overprovisioning. In contrast, autoscaling based on Kafka consumer lag remained unaffected by irrelevant CPU activity and maintained stable behaviour during zero‐traffic CPU spike conditions. The findings also demonstrate that workload‐aware metrics are not inherently optimal. Highly sensitive lag thresholds (KEDA‐100) triggered frequent scaling transitions, introducing orchestration overhead and consumer‐group rebalancing costs that increased backlog oscillation and sustained latency. A more conservative threshold (KEDA‐600) achieved the most efficient overall behaviour, with an average replica count of 1.05 and a pod churn value of 2, while satisfying all defined Service Level Objectives, including a p95 latency below 500 ms and an error rate below 1%. Overall, the results demonstrate that workload‐derived metrics can significantly reduce unnecessary scaling activity and improve autoscaling stability in event‐driven systems. However, careful threshold configuration remains essential to balance responsiveness, stability, and resource efficiency. |
| Description: | B.Sc. (Hons)(Melit.) |
| URI: | https://www.um.edu.mt/library/oar/handle/123456789/150294 |
| Appears in Collections: | Dissertations - FacICT - 2026 |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| 2608ICTICT391405069870_1.PDF Restricted Access | 2.15 MB | Adobe PDF | View/Open Request a copy |
Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.
