kth.sePublications KTH
3637383940414239 of 262
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Stateful Serverless Computing: A Comparative Analysis of Orchestrator-based and Actor-like Models
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Tillståndsbaserad serverlös databehandling : En jämförande analys av orchestrator-baserad och actor-liknande modell (Swedish)
Abstract [en]

Serverless cloud computing, also mostly known as Function-as-a-Service (FaaS) is a popular cloud model where cloud users write a piece of code, or, namely, functions, and cloud providers take the responsibility of the underlying operational aspects, such as execution, auto-scaling, and monitoring of these functions, instead of the cloud users themselves. While this model provides benefits and is widely adopted, the stateless nature of FaaS led to the evolution of initial serverless functions to more advanced and architectural patterns that we refer to as a stateful serverless system (SSS) in this thesis. SSS provides abstractions that hide the challenges of managing and persisting state while keeping the benefits of serverless functions, such as auto-scaling and usage-based billing. In this thesis, we conducted a comparative analysis of stateful serverless architectures, where we specifically focused on two different architectural approaches: orchestrator-based and actor-like models. For this purpose, we chose Azure Durable Functions (ADF) and Apache Flink Statefun (FSF) to compare their architectural differences and performance characteristics, such as latency and throughput, through quantitative benchmarking. In our benchmarking scenarios, FSF consistently achieved the highest throughput and lowest latency in all tested experiments, while ADF with the Default backend configuration showed modest performance due to its I/O bounded state access pattern. Our benchmarking results provide quantitative metrics about the performance characteristics and architectural attributes of stateful serverless approaches, contributing to the understanding of these systems. The results and contributions of this thesis are valuable for system architects, developers, and researchers.

Abstract [sv]

Serverlös molnbaserad databehandling, även mest känd som Function-as-a- Service (FaaS), är en populär molnmodell där molnanvändare skriver kod i form av funktioner, och molnleverantörer tar ansvar för de underliggande operativa aspekterna, såsom exekvering, automatisk skalning och övervakning av dessa funktioner, istället för att användarna själva gör det. Även om denna modell erbjuder fördelar och är brett adopterad, har den tillståndslösa naturen hos FaaS lett till en utveckling från initiala serverlösa funktioner till mer avancerade arkitekturmönster som i denna avhandling benämns som ett tillståndsbaserat serverlöst system (SSS). SSS tillhandahåller abstraktioner som döljer utmaningarna med att hantera och bevara tillstånd, samtidigt som fördelarna med serverlösa funktioner, såsom automatisk skalning och användningsbaserad debitering, bibehålls. I denna avhandling har vi genomfört en jämförande analys av tillståndsbaserade serverlösa arkitekturer, där vi specifikt fokuserat på två olika arkitektoniska tillvägagångssätt: orchestrator-baserade och actor-liknande modeller. För detta ändamål valde vi Azure Durable Functions (ADF) och Apache Flink Statefun (FSF) för att jämföra deras arkitektoniska skillnader och prestandaegenskaper, såsom latens och genomströmning, genom kvantitativ benchmarking. I våra benchmarkingscenarier uppnådde FSF konsekvent högst genomströmning och lägst latens i samtliga testade experiment, medan ADF med standardkonfiguration visade måttlig prestanda på grund av dess I/O-bundna tillståndshanteringsmönster. Våra benchmarkingresultat tillhandahåller kvantitativa mått på prestandaegenskaper och arkitektoniska attribut hos tillståndsbaserade serverlösa tillvägagångssätt, vilket bidrar till förståelsen av dessa system. Resultaten och bidragen från denna avhandling är värdefulla för systemarkitekter, utvecklare och forskare

Place, publisher, year, edition, pages
2025. , p. 58
Series
TRITA-EECS-EX ; 2025:960
Keywords [en]
Serverless computing, Stateful Serverless, Azure Durable Functions, Apache Flink Statefun, Function-as-a-Service, State Management
Keywords [sv]
Serverlös databehandling, Tillståndsbaserad serverlöshet, Azure Durable Functions, Apache Flink Statefun, Funktion-som-en-tjänst, Tillståndshantering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-377313OAI: oai:DiVA.org:kth-377313DiVA, id: diva2:2041557
Subject / course
Communications Systems
Educational program
Master of Science -Communication Systems
Supervisors
Examiners
Available from: 2026-03-03 Created: 2026-02-25 Last updated: 2026-03-03Bibliographically approved

Open Access in DiVA

fulltext(1805 kB)22 downloads
File information
File name FULLTEXT01.pdfFile size 1805 kBChecksum SHA-512
27d31fb2f1866d45095c0a121885fe56a496455f19aee98ba2395172a957f3e5246d1c29b3bda15bffb0af3cc8c13c44b5bc96f08f0a11541f5cee1e14d24d60
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 59 hits
3637383940414239 of 262
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf