SlsReuse: LLM-Powered Serverless Function Reuse
Jinfeng Wen, Yuehan Sun

TL;DR
SlsReuse leverages large language models to enable effective serverless function reuse by matching natural language task descriptions with relevant functions, improving developer efficiency and reducing errors.
Contribution
It introduces the first LLM-powered framework for serverless function reuse, utilizing prompt engineering and semantic representations to enhance function recommendation accuracy.
Findings
Achieves Recall@10 of 91.20% on curated dataset
Outperforms state-of-the-art baseline by 24.53 percentage points
Effectively captures implicit code intent and platform details
Abstract
Serverless computing has rapidly emerged as a popular cloud computing paradigm. It enables developers to implement function-level tasks, i.e., serverless functions, without managing infrastructure. While reducing operational overhead, it poses challenges, especially for novice developers. Developing functions from scratch requires adapting to heterogeneous, platform-specific programming styles, making the process time-consuming and error-prone. Function reuse offers a promising solution to address these challenges. However, research on serverless computing lacks a dedicated approach for function recommendation. Existing techniques from traditional contexts remain insufficient due to the semantic gap between task descriptions and heterogeneous function implementations. Advances in large language models (LLMs), pre-trained on large-scale corpora, create opportunities to bridge this gap by…
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.
Taxonomy
TopicsCloud Computing and Resource Management · Software System Performance and Reliability · IoT and Edge/Fog Computing
