Optimizing OpenFaaS on Kubernetes: Comparative Analysis of Language Runtimes and Cluster Distributions
Ehsan Ataie, Mohammadreza Pooshani, Hossein Aqasizade

TL;DR
This study evaluates the performance of OpenFaaS on various Kubernetes distributions and programming languages, revealing that Go outperforms Python and Node.js, with K3s and Kubeadm offering optimal performance.
Contribution
It provides a comparative analysis of Kubernetes distributions and language runtimes for OpenFaaS, offering insights for optimizing serverless deployments.
Findings
Go outperforms Python and Node.js in throughput and CPU usage.
Kubeadm maintains low latency and efficient CPU usage.
K3s demonstrates high throughput across tested distributions.
Abstract
Serverless computing, particularly Function-as-a-Service (FaaS), has revolutionized cloud computing by abstracting infrastructure management and enabling dynamic resource allocation. This paper examines the performance and compatibility of OpenFaaS, an open-source serverless platform, when deployed on various Kubernetes distributions, including Kubeadm, K3s, MicroK8s, and K0s. Moreover, leveraging the CloudLab infrastructure, this study examines the impact of Python, Go, and Nodejs programming languages on the performance of Kubernetes-enabled OpenFaaS, specifically when these languages are used to develop functions deployed on the platform. The performance is evaluated and analyzed under various levels of concurrent invocations using several usage-level metrics, such as throughput and CPU usage, as well as responsiveness metrics, such as delay. According to our findings, Go…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
