Skip to main navigation Skip to search Skip to main content

Developer's Cognitive Effort Maintaining Monoliths vs. Microservices - An Eye-Tracking Study

Publications: Contribution to book › Contribution to proceedings › Peer Reviewed

Abstract

The microservices architectural style improves flexibility and performance but might come at the cost of complexity and cognitive effort. Understanding how architectural design decision affects cognitive effort can support software engineers in designing and building more maintainable systems. However, little research exists measuring the impact of architectural styles on developers' cognitive processes. To the best of our knowledge, no empirical study on navigation and comprehension strategies compares a microservice-based and monolithic variant of a trading system, which is widely used for empirical research on information system evolution. To assess the cognitive processes, we conducted an eye-tracking study (n=42) of typical maintenance tasks. We randomly assigned participants to two groups performing a feature location and a code change task using the trading system's monolithic or microservices-based implementation. Efficacy is significantly higher in the monolith variant. We investigate the reasons and propose a cognitively-grounded method to analyse comprehension strategies and estimate maintenance effort. We measure differences in comprehension strategies (top-down and bottom-up comprehension) and conclude that 1) there is a significant difference in visual effort and time taken to identify a specific feature, and 2) bottom-up comprehension is more frequently applied in microservices than in the monolith variant. Finally, we discuss our findings and their implications for practitioners and the research community.
Original languageEnglish
Title of host publication2023 30th Asia-Pacific Software Engineering Conference (APSEC)
PublisherIEEE
Publication statusPublished - 2023
Event30th Asia-Pacific Software Engineering Conference - Seoul, Korea, Republic of
Duration: 4 Dec 2023 → 7 Dec 2023
https://conf.researchr.org/home/apsec-2023

Conference

Conference30th Asia-Pacific Software Engineering Conference
Abbreviated titleAPSEC 2023
Country/TerritoryKorea, Republic of
CitySeoul
Period4/12/23 → 7/12/23
Internet address

Austrian Fields of Science 2012

  • 102022 Software development

Fingerprint

Dive into the research topics of 'Developer's Cognitive Effort Maintaining Monoliths vs. Microservices - An Eye-Tracking Study'. Together they form a unique fingerprint.

Cite this