Universitat Oberta de Catalunya (UOC)
Study of the Feasibility of Serverless Access Transparency for Python Multiprocessing Applications
Abstract
dc:description.abstractAccess transparency means that both local and remote resources are accessed using identical operations. Transparency simpli es the complexity of programming a distributed system because the system is perceived as a whole rather than a collection of independent components. With access transparency, we can treat disaggregated compute, storage, and memory resources as if they were a single monolithic machine. This would considerably simplify the creation and execution of parallel applications in the Cloud in a scalable manner. In this work, we evaluate the feasibility of access transparency over state-of-the-art Cloud disaggregated resources. We propose an alternative implementation of Python's multiprocessing API that transparently runs distributed processes on serverless functions and that leverages disaggregated in-memory storage to maintain the shared state of processes consistent and mediate their communication. To evaluate transparency, we have used four parallel stateful applications intended to be executed locally (Uber Research's Evolution Strategies, Baselines-AI's Proximal Policy Optimization, Pandaral·lel's dataframe and ScikitLearn's Hyperparameter tuning), and, without changing the code, we have scaled them with serverless technology. We compare execution time and scalability of the same application running over disaggregated resources using our library, with the single-machine Python libraries in a large VM. Despite the higher latency and lower throughput of communication, we achieve comparable results and we observe that the applications can continue to scale beyond VM limited resources leading to a better speedup and parallelism.
Degree
thesis:*- Grantor dc:publisher
- Universitat Oberta de Catalunya (UOC)
- Year dc:date.issued
- 2021
Author and committee
dc:creator, dc:contributor.*- Authors dc:creator
-
- Finol, Gerard
- Arjona, Aitor
Subjects
dc:subject × 10Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- info:eu-repo/semantics/openAccess
- CC BY
- Licence dc:rights.uri
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10609/147615