Software Architecture in Practice: Challenges and Opportunities

Zhiyuan Wan, Yun Zhang, Xin Xia, Yi Jiang, David Lo · DOI

Abstract

Software architecture has been an active research field for nearly four decades, in which previous studies make significant progress such as creating methods and techniques and building tools to support software architecture practice. Despite past efforts, we have little understanding of how practitioners perform software architecture related activities, and what challenges they face. Through interviews with 32 practitioners from 21 organizations across three continents, we identified challenges that practitioners face in software architecture practice during software development and maintenance. We reported on common software architecture activities at software requirements, design, construction and testing, and maintenance stages, as well as corresponding challenges. Our study uncovers that most of these challenges center around management, documentation, tooling and process, and collects recommendations to address these challenges.

Introduction

Despite nearly forty years of academic research into sophisticated architectural methods, a significant "theory-practice gap" remains. While textbooks offer formal Architecture Description Languages and rigorous evaluation frameworks, industry systems frequently suffer from architecture erosion—a phenomenon where the actual implementation drifts so far from the intended design that the system eventually becomes a "big ball of mud." This study investigates the specific activities and hurdles practitioners face across the software lifecycle to understand why existing research solutions often fail to take root in the wild.

Methodology

The researchers employed a qualitative research strategy based on Straussian Grounded Theory. The study was structured into four rigorous phases:

  1. Scoping: An initial review of 28 papers to establish a comprehensive interview guide.
  2. Interviews: Semi-structured sessions with 32 participants from 21 diverse organizations, ranging from small startups to global tech giants across three continents. The cohort included 17 architects, 13 developers, 11 project managers, and 2 testers.
  3. Triangulation: Findings were cross-referenced with a broader literature review of 65 relevant papers to ensure the observations aligned with or expanded upon known research.
  4. Validation: The researchers conducted member checking, returning to participants with draft findings to confirm that the results accurately reflected their professional experiences.

Key Challenges Across the Lifecycle

The study categorized architectural challenges into four distinct stages of development, revealing that the most significant hurdles are often organizational rather than purely technical.

1. Requirements and Design

The primary challenge during the requirements phase is unpredictable evolution, which frequently breaks original design assumptions. In the design phase, practitioners struggle with a lack of traceability tools. There is rarely a clear link between a specific line of code and the architectural decision that necessitated it, making it difficult for new developers to understand the rationale behind the system's structure.

2. Construction and Testing

Automated conformance checking—ensuring the code actually follows the architectural plan—is extremely rare in practice. Most teams rely on manual, periodic inspections. Without automated "architectural smell" detection, technical debt remains invisible until it causes system-wide performance degradation or stability issues.

3. Maintenance and Evolution

Refactoring is frequently undervalued by management because its Return on Investment (ROI) is difficult to quantify. This leads to a cycle where "eroded" architectures make adding simple features exponentially more expensive over time, yet the resources to fix the underlying issues are rarely allocated.

The Core Issues: Knowledge and Documentation

The research highlighted several systemic themes that contribute to architectural decay:

  • Knowledge Vaporization: Architecture is not just a diagram; it is a collection of design decisions. When team members leave or skip documentation, the rationale behind those decisions vanishes. This leads to "weird dependencies" that haunt future developers who are afraid to modify code they don't fully understand.
  • The Documentation Roadblock: In fast-paced Agile environments, traditional modeling (such as UML) is often viewed as a hindrance. Consequently, documentation becomes obsolete almost immediately, leading to a dangerous inconsistency between the documentation and the actual code.
  • The Experience Trap: Most architectural reviews still rely on "expert vibes." While quantitative metrics exist, practitioners often find them too superficial or lacking the theoretical basis necessary to address complex business logic.

Quantitative Findings

The study noted a disparity in how challenges are perceived based on professional roles. Architects identified more challenges (a median of 10) than non-architects (a median of 7). This suggests that those responsible for the "big picture" feel the friction of poor tooling and fragmented processes more acutely than those focused on localized implementation.

Conclusion and Future Directions

The findings suggest that the research community should shift toward developing "lightweight" traceability tools and unified engineering platforms that manage architectural knowledge without slowing down development. Furthermore, there is a clear need for cultural shifts within organizations to prioritize architectural health alongside feature delivery. Future work will involve large-scale quantitative surveys to correlate these challenges with company size and product types, as well as exploring how to foster architecture-centric cultures in industry.

Summary updated

BibTeX
@inproceedings{wan2023software,
  author = {Zhiyuan Wan and Yun Zhang and Xin Xia and Yi Jiang and David Lo},
  title = {{Software Architecture in Practice: Challenges and Opportunities}},
  booktitle = {ESEC/SIGSOFT FSE},
  year = {2023},
  doi = {10.1145/3611643.3616367},
}
Figure