Affinity-aware Serverless Function Scheduling

Giuseppe De Palma*, Saverio Giallorenzo*, Jacopo Mauro, Matteo Trentin*, Gianluigi Zavattaro*

*Kontaktforfatter

Publikation: Kapitel i bog/rapport/konference-proceedingKonferencebidrag i proceedingsForskningpeer review

Abstract

Functions-as-a-Service (FaaS) is a Serverless Cloud paradigm where a platform manages the scheduling (e.g., resource allocation, runtime environments) of stateless functions. Recent work proposed using domain-specific languages to express per-function policies, e.g., policies that enforce the allocation on nodes that enjoy lower latencies to databases and services used by the function. Here, we focus on affinity-aware scenarios, i.e., where, for performance and functional requirements, the allocation of a function depends on the presence/absence of other functions on nodes.We present aAPP, an extension of a declarative, platform-agnostic language that captures affinity-aware scheduling at the FaaS level. We implement an aAPP-based prototype on Apache OpenWhisk. Besides proving that a FaaS platform can capture affinity awareness using aAPP and improve performance in affinity-aware scenarios, we use our prototype to show that aAPP imposes no noticeable overhead in scenarios without affinity constraints.

OriginalsprogEngelsk
Titel2025 IEEE 22nd International Conference on Software Architecture (ICSA)
ForlagIEEE
Publikationsdatoapr. 2025
Sider49-59
ISBN (Elektronisk)9798331520908
DOI
StatusUdgivet - apr. 2025
Begivenhed22nd IEEE International Conference on Software Architecture, ICSA 2025 - Odense, Danmark
Varighed: 31. mar. 20254. apr. 2025

Konference

Konference22nd IEEE International Conference on Software Architecture, ICSA 2025
Land/OmrådeDanmark
ByOdense
Periode31/03/202504/04/2025
SponsorIEEE Computer Society
NavnProceedings - IEEE International Conference on Software Architecture
ISSN2835-4907

Bibliografisk note

Publisher Copyright:
© 2025 IEEE.

Fingeraftryk

Dyk ned i forskningsemnerne om 'Affinity-aware Serverless Function Scheduling'. Sammen danner de et unikt fingeraftryk.

Citationsformater