Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes

This thesis investigates the scalability of a system in Kubernetes, comparing two scaling methods: Horizontal Pod Autoscaling (HPA) and Kubernetes Event-Driven Autoscaling (KEDA). The study uses a Proof of Concept (POC) for a company that wishes to remain anonymous. The research tests the system...

Full description

Autores:
Neira Campos, Juan Camilo
Tipo de recurso:
Trabajo de grado de pregrado
Fecha de publicación:
2024
Institución:
Universidad de los Andes
Repositorio:
Séneca: repositorio Uniandes
Idioma:
eng
OAI Identifier:
oai:repositorio.uniandes.edu.co:1992/75258
Acceso en línea:
https://hdl.handle.net/1992/75258
Palabra clave:
Kubernetes Event-driven Autoscaling (KEDA)
Horizontal Pod Autoscaling (HPA)
Kubernetes
Amazon SQS
Scalability
Event-Driven Architecture
Ingeniería
Rights
openAccess
License
Attribution 4.0 International
id UNIANDES2_84f9c40422a15399a29c78b87cf5d694
oai_identifier_str oai:repositorio.uniandes.edu.co:1992/75258
network_acronym_str UNIANDES2
network_name_str Séneca: repositorio Uniandes
repository_id_str
dc.title.eng.fl_str_mv Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
title Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
spellingShingle Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
Kubernetes Event-driven Autoscaling (KEDA)
Horizontal Pod Autoscaling (HPA)
Kubernetes
Amazon SQS
Scalability
Event-Driven Architecture
Ingeniería
title_short Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
title_full Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
title_fullStr Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
title_full_unstemmed Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
title_sort Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes
dc.creator.fl_str_mv Neira Campos, Juan Camilo
dc.contributor.advisor.none.fl_str_mv Correal Torres, Dario Ernesto
dc.contributor.author.none.fl_str_mv Neira Campos, Juan Camilo
dc.subject.keyword.eng.fl_str_mv Kubernetes Event-driven Autoscaling (KEDA)
Horizontal Pod Autoscaling (HPA)
Kubernetes
Amazon SQS
Scalability
Event-Driven Architecture
topic Kubernetes Event-driven Autoscaling (KEDA)
Horizontal Pod Autoscaling (HPA)
Kubernetes
Amazon SQS
Scalability
Event-Driven Architecture
Ingeniería
dc.subject.themes.none.fl_str_mv Ingeniería
description This thesis investigates the scalability of a system in Kubernetes, comparing two scaling methods: Horizontal Pod Autoscaling (HPA) and Kubernetes Event-Driven Autoscaling (KEDA). The study uses a Proof of Concept (POC) for a company that wishes to remain anonymous. The research tests the system's ability to scale based on CPU/memory utilization with HPA and event-driven triggers using KEDA, particularly focusing on the system's response to different levels of HTTP requests and event-driven workloads. The tests are conducted in a Minikube environment using Amazon SQS as the message broker, providing insights into the performance and efficiency of these two scaling methods in a real-world scenario.
publishDate 2024
dc.date.accessioned.none.fl_str_mv 2024-12-10T20:52:18Z
dc.date.available.none.fl_str_mv 2024-12-10T20:52:18Z
dc.date.issued.none.fl_str_mv 2024-11-24
dc.type.none.fl_str_mv Trabajo de grado - Pregrado
dc.type.driver.none.fl_str_mv info:eu-repo/semantics/bachelorThesis
dc.type.version.none.fl_str_mv info:eu-repo/semantics/acceptedVersion
dc.type.coar.none.fl_str_mv http://purl.org/coar/resource_type/c_7a1f
dc.type.content.none.fl_str_mv Text
dc.type.redcol.none.fl_str_mv http://purl.org/redcol/resource_type/TP
format http://purl.org/coar/resource_type/c_7a1f
status_str acceptedVersion
dc.identifier.uri.none.fl_str_mv https://hdl.handle.net/1992/75258
dc.identifier.instname.none.fl_str_mv instname:Universidad de los Andes
dc.identifier.reponame.none.fl_str_mv reponame:Repositorio Institucional Séneca
dc.identifier.repourl.none.fl_str_mv repourl:https://repositorio.uniandes.edu.co/
url https://hdl.handle.net/1992/75258
identifier_str_mv instname:Universidad de los Andes
reponame:Repositorio Institucional Séneca
repourl:https://repositorio.uniandes.edu.co/
dc.language.iso.none.fl_str_mv eng
language eng
dc.relation.references.none.fl_str_mv Amazon. (2023). What is Amazon SQS? Retrieved from https://shorturl.at/ocJVY
Stack, M. (2022). Event-Driven Architecture in Golang. Packt Publishing.
Kubernetes. (2023a). Overview. Retrieved from https://shorturl.at/QSZdF
Kubernetes. (2023b). Horizontal Pod Autoscaling. Retrieved from https://shorturl.at/rMWKT
dc.rights.en.fl_str_mv Attribution 4.0 International
dc.rights.uri.none.fl_str_mv http://creativecommons.org/licenses/by/4.0/
dc.rights.accessrights.none.fl_str_mv info:eu-repo/semantics/openAccess
dc.rights.coar.none.fl_str_mv http://purl.org/coar/access_right/c_abf2
rights_invalid_str_mv Attribution 4.0 International
http://creativecommons.org/licenses/by/4.0/
http://purl.org/coar/access_right/c_abf2
eu_rights_str_mv openAccess
dc.format.extent.none.fl_str_mv 42 páginas
dc.format.mimetype.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Universidad de los Andes
dc.publisher.program.none.fl_str_mv Ingeniería de Sistemas y Computación
dc.publisher.faculty.none.fl_str_mv Facultad de Ingeniería
dc.publisher.department.none.fl_str_mv Departamento de Ingeniería de Sistemas y Computación
publisher.none.fl_str_mv Universidad de los Andes
institution Universidad de los Andes
bitstream.url.fl_str_mv https://repositorio.uniandes.edu.co/bitstreams/c0afb3e2-4b3f-4b20-a05c-671bae9fe49d/download
https://repositorio.uniandes.edu.co/bitstreams/5c0cd641-b0b0-45bb-b826-0434719cd5d7/download
https://repositorio.uniandes.edu.co/bitstreams/83b3b987-65b9-4244-bcc9-f45b9820c06d/download
https://repositorio.uniandes.edu.co/bitstreams/dd788d38-6045-441b-99b2-0e64b6c9464f/download
https://repositorio.uniandes.edu.co/bitstreams/7be01abc-e3d5-4d38-b98b-c96f1377ff5b/download
https://repositorio.uniandes.edu.co/bitstreams/5462c6a2-e5c9-462b-8962-5c0224fa40f2/download
https://repositorio.uniandes.edu.co/bitstreams/099e5b29-5f00-4873-ba79-be0f0ba1c28f/download
https://repositorio.uniandes.edu.co/bitstreams/df0f7cb1-1c37-4ca7-82b9-2ce190e6b18f/download
bitstream.checksum.fl_str_mv ccbbfa090727180e1cf85336205cdb06
d8003ffccf7e80c1d79f41f1d3bed992
0175ea4a2d4caec4bbcc37e300941108
ae9e573a68e7f92501b6913cc846c39f
acf2bcfe12edeb0fd38835228cf24636
b0b9ddf54d72945402769a992c493cfc
2dfaa5d7ac88335a9135f555062468c0
494556fbc39b8b74df7694024fbc9cbe
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
MD5
MD5
MD5
MD5
MD5
MD5
repository.name.fl_str_mv Repositorio institucional Séneca
repository.mail.fl_str_mv adminrepositorio@uniandes.edu.co
_version_ 1831927833019023360
spelling Correal Torres, Dario Ernestovirtual::21816-1Neira Campos, Juan Camilo2024-12-10T20:52:18Z2024-12-10T20:52:18Z2024-11-24https://hdl.handle.net/1992/75258instname:Universidad de los Andesreponame:Repositorio Institucional Sénecarepourl:https://repositorio.uniandes.edu.co/This thesis investigates the scalability of a system in Kubernetes, comparing two scaling methods: Horizontal Pod Autoscaling (HPA) and Kubernetes Event-Driven Autoscaling (KEDA). The study uses a Proof of Concept (POC) for a company that wishes to remain anonymous. The research tests the system's ability to scale based on CPU/memory utilization with HPA and event-driven triggers using KEDA, particularly focusing on the system's response to different levels of HTTP requests and event-driven workloads. The tests are conducted in a Minikube environment using Amazon SQS as the message broker, providing insights into the performance and efficiency of these two scaling methods in a real-world scenario.Pregrado42 páginasapplication/pdfengUniversidad de los AndesIngeniería de Sistemas y ComputaciónFacultad de IngenieríaDepartamento de Ingeniería de Sistemas y ComputaciónAttribution 4.0 Internationalhttp://creativecommons.org/licenses/by/4.0/info:eu-repo/semantics/openAccesshttp://purl.org/coar/access_right/c_abf2Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in KubernetesTrabajo de grado - Pregradoinfo:eu-repo/semantics/bachelorThesisinfo:eu-repo/semantics/acceptedVersionhttp://purl.org/coar/resource_type/c_7a1fTexthttp://purl.org/redcol/resource_type/TPKubernetes Event-driven Autoscaling (KEDA)Horizontal Pod Autoscaling (HPA)KubernetesAmazon SQSScalabilityEvent-Driven ArchitectureIngenieríaAmazon. (2023). What is Amazon SQS? Retrieved from https://shorturl.at/ocJVYStack, M. (2022). Event-Driven Architecture in Golang. Packt Publishing.Kubernetes. (2023a). Overview. Retrieved from https://shorturl.at/QSZdFKubernetes. (2023b). Horizontal Pod Autoscaling. Retrieved from https://shorturl.at/rMWKT201922746Publicationhttps://scholar.google.es/citations?user=Bo4lXDAtq9QCvirtual::21816-10000-0001-9502-4504virtual::21816-1https://scienti.minciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do?cod_rh=0000251631virtual::21816-11b8e646a-b3b6-4384-9e86-be6d0e4acadfvirtual::21816-11b8e646a-b3b6-4384-9e86-be6d0e4acadfvirtual::21816-1ORIGINALautorizacion tesis - dc.pdfautorizacion tesis - dc.pdfHIDEapplication/pdf109461https://repositorio.uniandes.edu.co/bitstreams/c0afb3e2-4b3f-4b20-a05c-671bae9fe49d/downloadccbbfa090727180e1cf85336205cdb06MD51Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdfEvaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdfapplication/pdf1519508https://repositorio.uniandes.edu.co/bitstreams/5c0cd641-b0b0-45bb-b826-0434719cd5d7/downloadd8003ffccf7e80c1d79f41f1d3bed992MD52CC-LICENSElicense_rdflicense_rdfapplication/rdf+xml; charset=utf-8908https://repositorio.uniandes.edu.co/bitstreams/83b3b987-65b9-4244-bcc9-f45b9820c06d/download0175ea4a2d4caec4bbcc37e300941108MD53LICENSElicense.txtlicense.txttext/plain; charset=utf-82535https://repositorio.uniandes.edu.co/bitstreams/dd788d38-6045-441b-99b2-0e64b6c9464f/downloadae9e573a68e7f92501b6913cc846c39fMD54TEXTautorizacion tesis - dc.pdf.txtautorizacion tesis - dc.pdf.txtExtracted texttext/plain1446https://repositorio.uniandes.edu.co/bitstreams/7be01abc-e3d5-4d38-b98b-c96f1377ff5b/downloadacf2bcfe12edeb0fd38835228cf24636MD55Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdf.txtEvaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdf.txtExtracted texttext/plain40784https://repositorio.uniandes.edu.co/bitstreams/5462c6a2-e5c9-462b-8962-5c0224fa40f2/downloadb0b9ddf54d72945402769a992c493cfcMD57THUMBNAILautorizacion tesis - dc.pdf.jpgautorizacion tesis - dc.pdf.jpgGenerated Thumbnailimage/jpeg12336https://repositorio.uniandes.edu.co/bitstreams/099e5b29-5f00-4873-ba79-be0f0ba1c28f/download2dfaa5d7ac88335a9135f555062468c0MD56Evaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdf.jpgEvaluating the transition from HPA to KEDA in an Event-Driven Architecture Deployed in Kubernetes.pdf.jpgGenerated Thumbnailimage/jpeg7760https://repositorio.uniandes.edu.co/bitstreams/df0f7cb1-1c37-4ca7-82b9-2ce190e6b18f/download494556fbc39b8b74df7694024fbc9cbeMD581992/75258oai:repositorio.uniandes.edu.co:1992/752582024-12-16 10:27:06.251http://creativecommons.org/licenses/by/4.0/Attribution 4.0 Internationalopen.accesshttps://repositorio.uniandes.edu.coRepositorio institucional Sénecaadminrepositorio@uniandes.edu.coPGgzPjxzdHJvbmc+RGVzY2FyZ28gZGUgUmVzcG9uc2FiaWxpZGFkIC0gTGljZW5jaWEgZGUgQXV0b3JpemFjacOzbjwvc3Ryb25nPjwvaDM+CjxwPjxzdHJvbmc+UG9yIGZhdm9yIGxlZXIgYXRlbnRhbWVudGUgZXN0ZSBkb2N1bWVudG8gcXVlIHBlcm1pdGUgYWwgUmVwb3NpdG9yaW8gSW5zdGl0dWNpb25hbCBTw6luZWNhIHJlcHJvZHVjaXIgeSBkaXN0cmlidW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