Expedited Load Tests for CI/CD Microservice Applications
dc.contributor.advisor | Krishnamurthy, Diwakar | |
dc.contributor.advisor | Amannejad, Yasaman | |
dc.contributor.author | Cooper, Quinn | |
dc.contributor.committeemember | Pauchard, Yves | |
dc.contributor.committeemember | Drew, Steve | |
dc.date | 2024-11 | |
dc.date.accessioned | 2024-09-06T23:00:42Z | |
dc.date.available | 2024-09-06T23:00:42Z | |
dc.date.issued | 2024-09-06 | |
dc.description.abstract | In recent years, microservices have become a dominant architecture in software development, offering scalability, modularity, and agility to development processes. However, ensuring optimal performance before deployment poses a significant challenge, particularly in the fast-paced environments of Continuous Integration/Continuous Deployment (CI/CD) pipelines. Traditional performance testing methods, which rely on synthetic scenarios and lengthy testing processes, can be difficult to adopt in environments where testing needs to be both realistic and quick. To address the need for accurate and responsive testing, my work proposes and implements an innovative framework that uses real-world usage traces to identify and execute a small yet essential set of performance tests. This approach aims to seamlessly integrate with CI/CD workflows, providing developers with quick feedback on performance issues and scalability constraints that may arise from changes to one or more microservices. Through a series of empirical evaluations, I compare the effectiveness of six techniques using 12 real-world traces chosen based on their timeseries characteristics. My work aims to identify a set of performance tests that can capture historically observed system behaviour and be executed within a specified time budget. In this work, I present and test 6 different techniques for load test generation. Of the 6 techniques tested, Interval Sampling (IS) was the most reliably accurate for all traces tested. Using this technique, I was able to replicate the response time distribution of a 24-hour test on our custom testbench within just a five-minute test, achieving a mean relative percent error of only 1.12% and 2.73% at the 90th and 95th percentiles. This considerable decrease in time and resources necessary for load testing and response time modelling demonstrates the efficiency and effectiveness of my approach. | |
dc.identifier.citation | Cooper, Q. (2024). Expedited load tests for CI/CD microservice applications (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca. | |
dc.identifier.uri | https://hdl.handle.net/1880/119638 | |
dc.language.iso | en | |
dc.publisher.faculty | Graduate Studies | |
dc.publisher.institution | University of Calgary | |
dc.rights | University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission. | |
dc.subject | CI/CD | |
dc.subject | Load Test | |
dc.subject | Performance Test | |
dc.subject | Cloud | |
dc.subject | Microservices | |
dc.subject | DevOps | |
dc.subject.classification | Engineering--Electronics and Electrical | |
dc.subject.classification | Computer Science | |
dc.title | Expedited Load Tests for CI/CD Microservice Applications | |
dc.type | master thesis | |
thesis.degree.discipline | Engineering – Electrical & Computer | |
thesis.degree.grantor | University of Calgary | |
thesis.degree.name | Master of Science (MSc) | |
ucalgary.thesis.accesssetbystudent | I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible. |