The Data Management of a Microservices Migration of Embedded Software - Strategies and Challenges in Migrating Embedded Software to Microservices Architecture

dc.contributor.authorHedenäs Bennet, Oscar
dc.contributor.authorJyborn, Alexander
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerHeyn, Hans-Martin
dc.contributor.supervisorStaron, Miroslaw
dc.contributor.supervisorAyas, Hamdy Michael
dc.date.accessioned2025-01-03T12:40:07Z
dc.date.available2025-01-03T12:40:07Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractTechnology advances at a rapid pace and migrating from traditional embedded systems to a microservices architecture (MSA) has become essential for organizations aiming to enhance scalability, maintainability, and operational efficiency. This thesis investigates the data management challenges associated with such a migration and explores effective strategies to address these challenges. The effectiveness of the strategies are assessed by the tradeoff between latency, time to recover and the implementation complexity. Through a mixed-methods approach, including a systematic mapping study, semi-structured interviews, and proof-of-concept implementations, we identify key challenges such as handling statefulness, ensuring data consistency, managing data synchronization, data splitting and data denormalization. Our findings highlight the importance of prototyping and iterative testing, revealing that strategies like Database per Service, Private Tables per Service, Schema per Service, Stateful Messaging Pattern, and State Repository Pattern can effectively address the data management challenges of an MSA migration, though their suitability depends on the system’s unique constraints. We also emphasize the need for robust data synchronization mechanisms and found the Saga and CQRS patterns as potential solutions. The research highlights the importance of a flexible, iterative approach to migration, allowing for the gradual transition of the system and alignment with customer demands. By implementing intermediate designs, organizations can manage the complexities of migration more effectively, ensuring a smoother process and achieving a scalable, maintainable system architecture. Overall, this thesis provides valuable insights and practical recommendations for organizations undertaking the migration of embedded systems to microservices, contributing to the broader field of software engineering and system architecture.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/309044
dc.setspec.uppsokTechnology
dc.subjectMicroservices Architecture
dc.subjectEmbedded Systems
dc.subjectData Management
dc.subjectCloud Migration
dc.subjectStateless
dc.subjectStrategies
dc.subjectChallenges
dc.subjectPrototyping
dc.subjectScalability
dc.titleThe Data Management of a Microservices Migration of Embedded Software - Strategies and Challenges in Migrating Embedded Software to Microservices Architecture
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-31 AJ OHB.pdf
Storlek:
1.49 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: