Print Email Facebook Twitter Cloud Monads Title Cloud Monads: A novel concept for monadic abstraction over state in serverless cloud applications Author Eysbach, Jelle (TU Delft Electrical Engineering, Mathematics and Computer Science; TU Delft Distributed Systems) Contributor Rellermeyer, Jan S. (mentor) Chen, Lydia Y. (graduation committee) Ahrens, B.P. (graduation committee) Degree granting institution Delft University of Technology Programme Computer Science Date 2022-05-27 Abstract Serverless computing is a relatively recent paradigm that promises fine-grained billing and ease-of-use by abstracting away cloud infrastructure for developers. There is an increasing interest in using the serverless paradigm to execute data analysis tasks. Serverless functions often interact with external services, which can be considered similar to the concept of side-effects in regular programming. Haskell uses monads to isolate side-effects and to structure the composition of functions using side-effects. This thesis explores whether the concept of the monad can be applied in a serverless computing environment, ideally in a way that is flexible with regards to platform. An abstraction of side-effects was developed in the form of a monadic layer that is added to serverless functions. The monadic layer interacts with monads using an interface and exposes the API of the monads to the user. A monadic implementation was also created for a platform-independent function composition mechanism using orchestrator functions. An implementation of a shared state side-effect has also been created as a practical use-case for the monadic layer, and to explore the usability of monads on platforms with more restricted composition frameworks. The implementations are evaluated on performance, expressiveness and usability. Subject FaaSServerlessMonadsCloud To reference this document use: http://resolver.tudelft.nl/uuid:c17705c5-a92c-4a91-955a-51b3b6ed450c Part of collection Student theses Document type master thesis Rights © 2022 Jelle Eysbach Files PDF MSc_Thesis_Jelle_Eysbach.pdf 881.71 KB Close viewer /islandora/object/uuid:c17705c5-a92c-4a91-955a-51b3b6ed450c/datastream/OBJ/view