SlideShare a Scribd company logo
Software Architecture
        Documentation
                     Paulo Gandra de Sousa
                           2010.08.03

pagsousa@gmail.com    http://twitter.com/pagsousa   http://linkedin.com/in/pagsousa
Goals
1.   Present common views and SAD
2.   Define stakeholders
3.   Identify stakeholders’s concerns
4.   Define what and how to document
Scope
            IN                      OUT

• Initial description of   • Detailed architecture
  architecture             • Data model
Introduction
The software architecture of a program or
   computing system is the structure or
 structures of the system, which comprise
     software elements, the externally
   visible properties of those elements,
    and the relationships among them.
                Bass, Clements, Kazman (2003)
[Software architecture is] The
 fundamental organization of a system
    embodied in its components, their
 relationships to each other, and to the
environment, and the principles guiding
        its design and evolution.
                     ANSI/IEEE 1471 (2000)
Architecture in the
software development process




                   Architecture Reconstruction
Context
          Problem description



                                                      Rationale

Quality attributes

                                                        Views

                        Software Architecture
                             Document

      Principles and Guidelines
                                                Structure
RUP’s SAD
1.  Introduction
      1. Purpose
      2. Scope
      3. Definitions, Acronyms, and Abbreviations
      4. References
      5. Overview
2. Architectural Representation
3. Architectural Goals and Constraints
4. Use-Case View
      1. Use-Case Realizations
5. Logical View
      1. Overview
      2. Architecturally Significant Design Packages
6. Process View
7. Deployment View
8. Implementation View
      1. Overview
      2. Layers
9. Data View (optional)
10. Size and Performance
11. Quality
SEI’s SAD
1.   Documentation Roadmap
                                                   1.5     Viewpoint Definitions
      1. …
                                                   1.5.1      <viewpoint> Viewpoint Definition
      2. Stakeholder Representation                1.5.1.1        Abstract
      3. Viewpoint Definitions                     1.5.1.2        Stakeholders and Their Concerns Addressed
      4. …                                         1.5.1.3        Elements, Relations, Properties and
                                                                  Constraints
2.   Architecture Background
                                                   1.5.1.4        Language(s) to Model/Represent Conforming
      1. Problem Background                                       Views
             1. System Overview                    1.5.1.5        Applicable Evaluation/Analysis Techniques
                                                                  and Consistency/Completeness Criteria
             2. Goals and Context
                                                   1.5.1.6        Viewpoint Source
             3. Significant Driving Requirements
      2. Solution Background
             1. Architectural Approaches           3.1     <view name> View
             2. Analysis Results                   3.1.1     View Description
                                                   3.1.2     View Packet Overview
             3. Requirements Coverage
                                                   3.1.3     Architecture Background
             4. Summary of Background Changes      3.1.4     Variability Mechanisms
                 Reflected in Current Version      3.1.5     View Packets
      3. Product Line Reuse Considerations         3.1.5.1       View packet #i
3.   Views                                         3.1.5.1.1          Primary Presentation
      1. <Insert view name> View                   3.1.5.1.2          Element Catalog
                                                   3.1.5.1.3          Context Diagram
4.   …
                                                   3.1.5.1.4          Variability Mechanisms
5.   Directory                                     3.1.5.1.5          Architecture Background
      1. Index                                     3.1.5.1.6          Related View Packets
      2. Glossary
      3. Acronym List
Less is More*

* SAD should have the minimum information necessary
    to understand the system but no more than that
Different kinds of views
           Structural




External                Behavioral
Different viewsets
• RUP 4+1
• Siemens
• Rozansky & Woods’ views and
  perspectives
• SEI’s views and beyond
• …
RUP 4+1
Siemens




Adapted from “Applied Software Architecture”, Hofmeister, C. et al. (2000).
Rozansky & Woods
SEI’s Views and Beyond
Module vs. C&C
Usefullness of views
Structure         Relations                           Useful for
Decomposition     Is a submodule of; shares secret    Resource allocation and project structuring and
                  with                                planning; information hiding, encapsulation;
                                                      configuration control
Uses              Requires the correct presence of    Engineering subsets; engineering extensions
Layered           Requires the correct presence of;   Incremental development; implementing systems on
                  uses the services of; provides      top of "virtual machines" portability
                  abstraction to
Class             Is an instance of; shares access    In OO design systems, producing rapid almost-alike
                  methods of                          implementations from a common template

Client-Server     Communicates with; depends on       Distributed operation; separation of concerns;
                                                      performance analysis; load balancing

Process           Runs concurrently with; may run     Scheduling analysis; performance analysis
                  concurrently with; excludes;
                  precedes; etc.
Concurrency       Runs on the same logical thread     Identifying locations where resource contention exists,
                                                      where threads may fork, join, be created or be killed

Shared Data       Produces data; consumes data        Performance; data integrity; modifiability
Deployment        Allocated to; migrates to           Performance, availability, security analysis
Implementation    Stored in                           Configuration control, integration, test activities
Work Assignment   Assigned to                         Project management, best use of expertise,
                                                      management of commonality
Sample Views

https://wiki.sei.cmu.edu/sad
Functionality
High level Module Uses view
Context Diagram
OPC Module Decomposition view
OPC Module Uses view
High level C&C view
OPC C&C view
Deployment view
High level Implementation view
Element catalog
Discussion
SAD
•   Intended audience (stakeholders)
•   Stakeholders’ concerns to address
•   Sections to include
•   Views to include
•   Depth of documentation
Stakeholders
• Sample stakeholders:
   – Project Manager
   – Member of Development
     Team
   – Testers and Integrators
   – Maintainers
   – Product Line Application
     Builder
   – Customer
   – End User
   – Analyst
   – Infrastructure Support
   – New Stakeholder
   – Current and Future
     Architect
stakeholders
Stakeholder Concerns to adddress
SEI example Stakeholders’
                     documentation needs
                                           Module                           C&C                  Allocation
Stakeholder             Decomposition       Uses      Class    Layer     Various       Deployment      Implem.
Project Manager                 s              s                  s                          d
Member of                       d              d        d         d           d              s                s
Development Team
Testers and                                    d        d                     s              s                s
Integrators
Maintainers                     d              d        d         d           d              s                s
Product Line                                   d         s        o           s              s                s
Application Builder
Customer                                                                      s              o
End User                                                                      s              s
Analyst                         d              d         s        d           s              d
Infrastructure                  s              s                  s                          s                d
Support
New Stakeholder                 x              x         x        x           x              x                x
Current and Future              d              d        d         d           d              d                s
Architect



                 d = detailed information, s = some details, o = overview information, x = anything
Stakeholders’
                  documentation needs
                                  Module Views            C&C Views         Allocation Views

Stakeholder       Decomposition    Uses   Class   Layer   Various     Deployment   Implementation




 d = detailed information, s = some details, o = overview information, x = anything
Context
RUP’s SAD
1.  Introduction
      1. Purpose
      2. Scope
      3. Definitions, Acronyms, and Abbreviations
      4. References
      5. Overview
2. Architectural Representation
3. Architectural Goals and Constraints
4. Use-Case View
      1. Use-Case Realizations
5. Logical View
      1. Overview
      2. Architecturally Significant Design Packages
6. Process View
7. Deployment View
8. Implementation View
      1. Overview
      2. Layers
9. Data View (optional)
10. Size and Performance
11. Quality
SEI’s SAD
1.   Documentation Roadmap
                                                   1.5     Viewpoint Definitions
      1. …
                                                   1.5.1      <viewpoint> Viewpoint Definition
      2. Stakeholder Representation                1.5.1.1        Abstract
      3. Viewpoint Definitions                     1.5.1.2        Stakeholders and Their Concerns Addressed
      4. …                                         1.5.1.3        Elements, Relations, Properties and
                                                                  Constraints
2.   Architecture Background
                                                   1.5.1.4        Language(s) to Model/Represent Conforming
      1. Problem Background                                       Views
             1. System Overview                    1.5.1.5        Applicable Evaluation/Analysis Techniques
                                                                  and Consistency/Completeness Criteria
             2. Goals and Context
                                                   1.5.1.6        Viewpoint Source
             3. Significant Driving Requirements
      2. Solution Background
             1. Architectural Approaches           3.1     <view name> View
             2. Analysis Results                   3.1.1     View Description
                                                   3.1.2     View Packet Overview
             3. Requirements Coverage
                                                   3.1.3     Architecture Background
             4. Summary of Background Changes      3.1.4     Variability Mechanisms
                 Reflected in Current Version      3.1.5     View Packets
      3. Product Line Reuse Considerations         3.1.5.1       View packet #i
3.   Views                                         3.1.5.1.1          Primary Presentation
      1. <Insert view name> View                   3.1.5.1.2          Element Catalog
                                                   3.1.5.1.3          Context Diagram
4.   …
                                                   3.1.5.1.4          Variability Mechanisms
5.   Directory                                     3.1.5.1.5          Architecture Background
      1. Index                                     3.1.5.1.6          Related View Packets
      2. Glossary
      3. Acronym List
Proposed general content
• Architecture background
  – Problem Background
    • System Overview
    • Goals and Context
    • Significant Driving Requirements
  – Solution Background
    • Architectural Approaches
    • Analysis Results
    • Requirements Coverage
Proposed views to include in a
                SAD
•   Functional view
•   High-level module uses view
•   High-level module decomposition view
•   High-level C&C view
•   Deployment view
Proposed content for each view
• View description
• Primary presentation
• Element catalog
  –   Elements
  –   Relations
  –   Interfaces
  –   Behavior
  –   Constraints
• Context diagram
• Variability mechanisms
• Architecture background
Non-functional view, a.k.a.,
          Quality attributes
•   Performance
•   Scalability
•   Availability
•   Security
•   Extensibility
•   Flexibility
•   Monitoring and management
•   Reliability
•   Interoperability
•   Legal and regulatory requirements
•   Internationalisation and localisation
•   Accessibility
•   …
Documenting Software Architectures
Thank you
Ad

More Related Content

What's hot (20)

Documenting software architecture
Documenting software architectureDocumenting software architecture
Documenting software architecture
Himanshu
 
Software architecture design ppt
Software architecture design pptSoftware architecture design ppt
Software architecture design ppt
farazimlak
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
Introduction to object-oriented analysis and design (OOA/D)
Introduction to object-oriented analysis and design (OOA/D)Introduction to object-oriented analysis and design (OOA/D)
Introduction to object-oriented analysis and design (OOA/D)
Ahmed Farag
 
Hld and lld
Hld and lldHld and lld
Hld and lld
SubhashiniSukumar
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
Preeti Mishra
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
UML
UMLUML
UML
iQra Rafaqat
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality Attributes
Hayim Makabee
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
An Introduction to Software Architecture
An Introduction to Software ArchitectureAn Introduction to Software Architecture
An Introduction to Software Architecture
RahimLotfi
 
Software Engineering - chp5- software architecture
Software Engineering - chp5- software architectureSoftware Engineering - chp5- software architecture
Software Engineering - chp5- software architecture
Lilia Sfaxi
 
Design Pattern in Software Engineering
Design Pattern in Software EngineeringDesign Pattern in Software Engineering
Design Pattern in Software Engineering
Manish Kumar
 
Software Prototyping
Software PrototypingSoftware Prototyping
Software Prototyping
drjms
 
Low level design template (1)
Low level design template (1)Low level design template (1)
Low level design template (1)
anosha jamshed
 
Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5
koolkampus
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
Ramakant Soni
 
Software Engineering Process Models
Software Engineering Process Models Software Engineering Process Models
Software Engineering Process Models
Satya P. Joshi
 
V model Over View (Software Engineering)
V model Over View (Software Engineering) V model Over View (Software Engineering)
V model Over View (Software Engineering)
Badar Rameez. CH.
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 
Documenting software architecture
Documenting software architectureDocumenting software architecture
Documenting software architecture
Himanshu
 
Software architecture design ppt
Software architecture design pptSoftware architecture design ppt
Software architecture design ppt
farazimlak
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
Introduction to object-oriented analysis and design (OOA/D)
Introduction to object-oriented analysis and design (OOA/D)Introduction to object-oriented analysis and design (OOA/D)
Introduction to object-oriented analysis and design (OOA/D)
Ahmed Farag
 
Software Quality Attributes
Software Quality AttributesSoftware Quality Attributes
Software Quality Attributes
Hayim Makabee
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
An Introduction to Software Architecture
An Introduction to Software ArchitectureAn Introduction to Software Architecture
An Introduction to Software Architecture
RahimLotfi
 
Software Engineering - chp5- software architecture
Software Engineering - chp5- software architectureSoftware Engineering - chp5- software architecture
Software Engineering - chp5- software architecture
Lilia Sfaxi
 
Design Pattern in Software Engineering
Design Pattern in Software EngineeringDesign Pattern in Software Engineering
Design Pattern in Software Engineering
Manish Kumar
 
Software Prototyping
Software PrototypingSoftware Prototyping
Software Prototyping
drjms
 
Low level design template (1)
Low level design template (1)Low level design template (1)
Low level design template (1)
anosha jamshed
 
Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5
koolkampus
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
Ramakant Soni
 
Software Engineering Process Models
Software Engineering Process Models Software Engineering Process Models
Software Engineering Process Models
Satya P. Joshi
 
V model Over View (Software Engineering)
V model Over View (Software Engineering) V model Over View (Software Engineering)
V model Over View (Software Engineering)
Badar Rameez. CH.
 
10 component diagram
10 component diagram10 component diagram
10 component diagram
Baskarkncet
 

Similar to Documenting Software Architectures (20)

Design Concepts software engineering.ppt
Design Concepts software engineering.pptDesign Concepts software engineering.ppt
Design Concepts software engineering.ppt
RohanMalik45
 
CHAPTER12.ppt
CHAPTER12.pptCHAPTER12.ppt
CHAPTER12.ppt
CharenReposposa
 
3 analysis and design overview
3 analysis and design overview3 analysis and design overview
3 analysis and design overview
Châu Thanh Chương
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptx
KarthigaiSelviS3
 
Software architecture simplified
Software architecture simplifiedSoftware architecture simplified
Software architecture simplified
Prasad Chitta
 
Function Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniquesFunction Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
 
[2015/2016] Introduction to software architecture
[2015/2016] Introduction to software architecture[2015/2016] Introduction to software architecture
[2015/2016] Introduction to software architecture
Ivano Malavolta
 
Architectural design
Architectural designArchitectural design
Architectural design
SHREEHARI WADAWADAGI
 
Chapter1
Chapter1Chapter1
Chapter1
Hoang Vu Dinh
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
Tot Bob
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
drewz lin
 
Software Architecture Standard IEEE 1471
Software Architecture Standard IEEE 1471Software Architecture Standard IEEE 1471
Software Architecture Standard IEEE 1471
vconovalov
 
Chen.tim
Chen.timChen.tim
Chen.tim
NASAPMC
 
design concepts in software engineering.pptx
design concepts in software engineering.pptxdesign concepts in software engineering.pptx
design concepts in software engineering.pptx
priyadharshini512852
 
Design Engineering is a topic of software engineering of second year fourth s...
Design Engineering is a topic of software engineering of second year fourth s...Design Engineering is a topic of software engineering of second year fourth s...
Design Engineering is a topic of software engineering of second year fourth s...
38aartidhage
 
Software archiecture lecture09
Software archiecture   lecture09Software archiecture   lecture09
Software archiecture lecture09
Luktalja
 
Arch06 1
Arch06 1Arch06 1
Arch06 1
nazn
 
Uml3
Uml3Uml3
Uml3
Majong DevJfu
 
Software design
Software designSoftware design
Software design
ambitlick
 
Sdd template
Sdd templateSdd template
Sdd template
Shakeel Ahmed, PhD
 
Design Concepts software engineering.ppt
Design Concepts software engineering.pptDesign Concepts software engineering.ppt
Design Concepts software engineering.ppt
RohanMalik45
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptx
KarthigaiSelviS3
 
Software architecture simplified
Software architecture simplifiedSoftware architecture simplified
Software architecture simplified
Prasad Chitta
 
Function Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniquesFunction Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
 
[2015/2016] Introduction to software architecture
[2015/2016] Introduction to software architecture[2015/2016] Introduction to software architecture
[2015/2016] Introduction to software architecture
Ivano Malavolta
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
Tot Bob
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
drewz lin
 
Software Architecture Standard IEEE 1471
Software Architecture Standard IEEE 1471Software Architecture Standard IEEE 1471
Software Architecture Standard IEEE 1471
vconovalov
 
Chen.tim
Chen.timChen.tim
Chen.tim
NASAPMC
 
design concepts in software engineering.pptx
design concepts in software engineering.pptxdesign concepts in software engineering.pptx
design concepts in software engineering.pptx
priyadharshini512852
 
Design Engineering is a topic of software engineering of second year fourth s...
Design Engineering is a topic of software engineering of second year fourth s...Design Engineering is a topic of software engineering of second year fourth s...
Design Engineering is a topic of software engineering of second year fourth s...
38aartidhage
 
Software archiecture lecture09
Software archiecture   lecture09Software archiecture   lecture09
Software archiecture lecture09
Luktalja
 
Arch06 1
Arch06 1Arch06 1
Arch06 1
nazn
 
Software design
Software designSoftware design
Software design
ambitlick
 
Ad

More from Paulo Gandra de Sousa (20)

Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
Paulo Gandra de Sousa
 
Minds-on DDD
Minds-on DDDMinds-on DDD
Minds-on DDD
Paulo Gandra de Sousa
 
Introduction to microservices
Introduction to microservicesIntroduction to microservices
Introduction to microservices
Paulo Gandra de Sousa
 
Benefits of Hypermedia API
Benefits of Hypermedia APIBenefits of Hypermedia API
Benefits of Hypermedia API
Paulo Gandra de Sousa
 
Design Patterns: From STUPID to SOLID code
Design Patterns: From STUPID to SOLID codeDesign Patterns: From STUPID to SOLID code
Design Patterns: From STUPID to SOLID code
Paulo Gandra de Sousa
 
Design Patterns: Back to Basics
Design Patterns: Back to BasicsDesign Patterns: Back to Basics
Design Patterns: Back to Basics
Paulo Gandra de Sousa
 
Hypermedia APIs
Hypermedia APIsHypermedia APIs
Hypermedia APIs
Paulo Gandra de Sousa
 
RESTful services Design Lab
RESTful services Design LabRESTful services Design Lab
RESTful services Design Lab
Paulo Gandra de Sousa
 
Principles of Service Orientation
Principles of Service OrientationPrinciples of Service Orientation
Principles of Service Orientation
Paulo Gandra de Sousa
 
OO design principles and patterns
OO design principles and patternsOO design principles and patterns
OO design principles and patterns
Paulo Gandra de Sousa
 
Modern web architectural patterns
Modern web architectural patternsModern web architectural patterns
Modern web architectural patterns
Paulo Gandra de Sousa
 
REST beyond CRUD
REST beyond CRUDREST beyond CRUD
REST beyond CRUD
Paulo Gandra de Sousa
 
Revision control with Mercurial
Revision control with MercurialRevision control with Mercurial
Revision control with Mercurial
Paulo Gandra de Sousa
 
Rest web services
Rest web servicesRest web services
Rest web services
Paulo Gandra de Sousa
 
Lição prova professor coordenador
Lição prova professor coordenadorLição prova professor coordenador
Lição prova professor coordenador
Paulo Gandra de Sousa
 
Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
Paulo Gandra de Sousa
 
Software Product Lines
Software Product LinesSoftware Product Lines
Software Product Lines
Paulo Gandra de Sousa
 
PoEAA by Example
PoEAA by ExamplePoEAA by Example
PoEAA by Example
Paulo Gandra de Sousa
 
Enterprise Integration Patterns
Enterprise Integration PatternsEnterprise Integration Patterns
Enterprise Integration Patterns
Paulo Gandra de Sousa
 
Patterns for distributed systems
Patterns for distributed systemsPatterns for distributed systems
Patterns for distributed systems
Paulo Gandra de Sousa
 
Design Patterns: From STUPID to SOLID code
Design Patterns: From STUPID to SOLID codeDesign Patterns: From STUPID to SOLID code
Design Patterns: From STUPID to SOLID code
Paulo Gandra de Sousa
 
Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
Paulo Gandra de Sousa
 
Ad

Recently uploaded (20)

AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 

Documenting Software Architectures

  • 1. Software Architecture Documentation Paulo Gandra de Sousa 2010.08.03 [email protected] http://twitter.com/pagsousa http://linkedin.com/in/pagsousa
  • 2. Goals 1. Present common views and SAD 2. Define stakeholders 3. Identify stakeholders’s concerns 4. Define what and how to document
  • 3. Scope IN OUT • Initial description of • Detailed architecture architecture • Data model
  • 5. The software architecture of a program or computing system is the structure or structures of the system, which comprise software elements, the externally visible properties of those elements, and the relationships among them. Bass, Clements, Kazman (2003)
  • 6. [Software architecture is] The fundamental organization of a system embodied in its components, their relationships to each other, and to the environment, and the principles guiding its design and evolution. ANSI/IEEE 1471 (2000)
  • 7. Architecture in the software development process Architecture Reconstruction
  • 8. Context Problem description Rationale Quality attributes Views Software Architecture Document Principles and Guidelines Structure
  • 9. RUP’s SAD 1. Introduction 1. Purpose 2. Scope 3. Definitions, Acronyms, and Abbreviations 4. References 5. Overview 2. Architectural Representation 3. Architectural Goals and Constraints 4. Use-Case View 1. Use-Case Realizations 5. Logical View 1. Overview 2. Architecturally Significant Design Packages 6. Process View 7. Deployment View 8. Implementation View 1. Overview 2. Layers 9. Data View (optional) 10. Size and Performance 11. Quality
  • 10. SEI’s SAD 1. Documentation Roadmap 1.5 Viewpoint Definitions 1. … 1.5.1 <viewpoint> Viewpoint Definition 2. Stakeholder Representation 1.5.1.1 Abstract 3. Viewpoint Definitions 1.5.1.2 Stakeholders and Their Concerns Addressed 4. … 1.5.1.3 Elements, Relations, Properties and Constraints 2. Architecture Background 1.5.1.4 Language(s) to Model/Represent Conforming 1. Problem Background Views 1. System Overview 1.5.1.5 Applicable Evaluation/Analysis Techniques and Consistency/Completeness Criteria 2. Goals and Context 1.5.1.6 Viewpoint Source 3. Significant Driving Requirements 2. Solution Background 1. Architectural Approaches 3.1 <view name> View 2. Analysis Results 3.1.1 View Description 3.1.2 View Packet Overview 3. Requirements Coverage 3.1.3 Architecture Background 4. Summary of Background Changes 3.1.4 Variability Mechanisms Reflected in Current Version 3.1.5 View Packets 3. Product Line Reuse Considerations 3.1.5.1 View packet #i 3. Views 3.1.5.1.1 Primary Presentation 1. <Insert view name> View 3.1.5.1.2 Element Catalog 3.1.5.1.3 Context Diagram 4. … 3.1.5.1.4 Variability Mechanisms 5. Directory 3.1.5.1.5 Architecture Background 1. Index 3.1.5.1.6 Related View Packets 2. Glossary 3. Acronym List
  • 11. Less is More* * SAD should have the minimum information necessary to understand the system but no more than that
  • 12. Different kinds of views Structural External Behavioral
  • 13. Different viewsets • RUP 4+1 • Siemens • Rozansky & Woods’ views and perspectives • SEI’s views and beyond • …
  • 15. Siemens Adapted from “Applied Software Architecture”, Hofmeister, C. et al. (2000).
  • 19. Usefullness of views Structure Relations Useful for Decomposition Is a submodule of; shares secret Resource allocation and project structuring and with planning; information hiding, encapsulation; configuration control Uses Requires the correct presence of Engineering subsets; engineering extensions Layered Requires the correct presence of; Incremental development; implementing systems on uses the services of; provides top of "virtual machines" portability abstraction to Class Is an instance of; shares access In OO design systems, producing rapid almost-alike methods of implementations from a common template Client-Server Communicates with; depends on Distributed operation; separation of concerns; performance analysis; load balancing Process Runs concurrently with; may run Scheduling analysis; performance analysis concurrently with; excludes; precedes; etc. Concurrency Runs on the same logical thread Identifying locations where resource contention exists, where threads may fork, join, be created or be killed Shared Data Produces data; consumes data Performance; data integrity; modifiability Deployment Allocated to; migrates to Performance, availability, security analysis Implementation Stored in Configuration control, integration, test activities Work Assignment Assigned to Project management, best use of expertise, management of commonality
  • 22. High level Module Uses view
  • 32. SAD • Intended audience (stakeholders) • Stakeholders’ concerns to address • Sections to include • Views to include • Depth of documentation
  • 33. Stakeholders • Sample stakeholders: – Project Manager – Member of Development Team – Testers and Integrators – Maintainers – Product Line Application Builder – Customer – End User – Analyst – Infrastructure Support – New Stakeholder – Current and Future Architect
  • 35. SEI example Stakeholders’ documentation needs Module C&C Allocation Stakeholder Decomposition Uses Class Layer Various Deployment Implem. Project Manager s s s d Member of d d d d d s s Development Team Testers and d d s s s Integrators Maintainers d d d d d s s Product Line d s o s s s Application Builder Customer s o End User s s Analyst d d s d s d Infrastructure s s s s d Support New Stakeholder x x x x x x x Current and Future d d d d d d s Architect d = detailed information, s = some details, o = overview information, x = anything
  • 36. Stakeholders’ documentation needs Module Views C&C Views Allocation Views Stakeholder Decomposition Uses Class Layer Various Deployment Implementation d = detailed information, s = some details, o = overview information, x = anything
  • 38. RUP’s SAD 1. Introduction 1. Purpose 2. Scope 3. Definitions, Acronyms, and Abbreviations 4. References 5. Overview 2. Architectural Representation 3. Architectural Goals and Constraints 4. Use-Case View 1. Use-Case Realizations 5. Logical View 1. Overview 2. Architecturally Significant Design Packages 6. Process View 7. Deployment View 8. Implementation View 1. Overview 2. Layers 9. Data View (optional) 10. Size and Performance 11. Quality
  • 39. SEI’s SAD 1. Documentation Roadmap 1.5 Viewpoint Definitions 1. … 1.5.1 <viewpoint> Viewpoint Definition 2. Stakeholder Representation 1.5.1.1 Abstract 3. Viewpoint Definitions 1.5.1.2 Stakeholders and Their Concerns Addressed 4. … 1.5.1.3 Elements, Relations, Properties and Constraints 2. Architecture Background 1.5.1.4 Language(s) to Model/Represent Conforming 1. Problem Background Views 1. System Overview 1.5.1.5 Applicable Evaluation/Analysis Techniques and Consistency/Completeness Criteria 2. Goals and Context 1.5.1.6 Viewpoint Source 3. Significant Driving Requirements 2. Solution Background 1. Architectural Approaches 3.1 <view name> View 2. Analysis Results 3.1.1 View Description 3.1.2 View Packet Overview 3. Requirements Coverage 3.1.3 Architecture Background 4. Summary of Background Changes 3.1.4 Variability Mechanisms Reflected in Current Version 3.1.5 View Packets 3. Product Line Reuse Considerations 3.1.5.1 View packet #i 3. Views 3.1.5.1.1 Primary Presentation 1. <Insert view name> View 3.1.5.1.2 Element Catalog 3.1.5.1.3 Context Diagram 4. … 3.1.5.1.4 Variability Mechanisms 5. Directory 3.1.5.1.5 Architecture Background 1. Index 3.1.5.1.6 Related View Packets 2. Glossary 3. Acronym List
  • 40. Proposed general content • Architecture background – Problem Background • System Overview • Goals and Context • Significant Driving Requirements – Solution Background • Architectural Approaches • Analysis Results • Requirements Coverage
  • 41. Proposed views to include in a SAD • Functional view • High-level module uses view • High-level module decomposition view • High-level C&C view • Deployment view
  • 42. Proposed content for each view • View description • Primary presentation • Element catalog – Elements – Relations – Interfaces – Behavior – Constraints • Context diagram • Variability mechanisms • Architecture background
  • 43. Non-functional view, a.k.a., Quality attributes • Performance • Scalability • Availability • Security • Extensibility • Flexibility • Monitoring and management • Reliability • Interoperability • Legal and regulatory requirements • Internationalisation and localisation • Accessibility • …