Abstract
Running stateful machine learning algorithms with serverless architectures inherently induces overheads, as serverless functions are not directly network-addressable, hence one must rely on a remote storage service for storing the shared state. To hide the access latency to the remote storage, one can employ intra-function parallelism to take advantage of the multicore computing resources of the serverless functions. In this work, we port to serverless two stateful machine learning algorithms, k-means clustering and logistic regression, and then adopt intra-function parallelism to parallelize the execution of the serverless functions. Several experiments have demonstrated that intra-function parallelism delivers performance improvements in serverless machine learning. Improved performances of up to 68% have been achieved when running k-means on serverless functions that employ intra-function parallelism. We demonstrate with k-means and logistic regression that from a performance perspective it is preferable to execute a smaller number of multiple-vCPUs workers than a larger number of single-vCPU workers, due to decreased synchronization overheads.
| Original language | English |
|---|---|
| Title of host publication | WoSC '23: Proceedings of the 9th International Workshop on Serverless Computing |
| Publisher | ACM |
| Pages | 36–41 |
| Number of pages | 6 |
| ISBN (Electronic) | 979-8-4007-0455-0 |
| DOIs | |
| Publication status | Published - 11 Dec 2023 |
| Event | 9th International Workshop on Serverless Computing, WoSC '23 - Bologna, Italy Duration: 11 Dec 2023 → 15 Dec 2023 https://www.serverlesscomputing.org/wosc9 |
Workshop
| Workshop | 9th International Workshop on Serverless Computing, WoSC '23 |
|---|---|
| Country/Territory | Italy |
| City | Bologna |
| Period | 11/12/23 → 15/12/23 |
| Internet address |
Bibliographical note
This is an author-produced version of the published paper. Uploaded in accordance with the University’s Research Publications and Open Access policy.Keywords
- Intra-Function Parallelism
- Lithops
- Machine Learning
- Multicore Functions
- Serverless
- Stateful
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver