SlideShare a Scribd company logo
1 of 32
Download to read offline
From Fragile to Agile Software
Architecture
Presented by Ahmed Khairat
Agenda
Change will never be as slow again as it is today
Agile & Architecture Opposites Attract!
The Three Pillars of Architecture
Practices Increasing Architectural Agility
Tips & Recommendations
Organizations need to become more adaptive!
Change will never be as slow again as it is today
Agenda
Change will never be as slow again as it is today
Agile & Architecture Opposites Attract!
The Three Pillars of Architecture
Practices Increasing Architectural Agility
Tips & Recommendations
Agile Values
What is Architecture?
The Goal of Architecture Is Cost-Effective Evolution
“The architecture of a system is the naming of the most significant design decisions that shape a
system, where we measure significant by cost of change.”
"Handbook of Software Architecture," Grady Booch
Traditional Approaches to Architecture Practice Are
Flawed BAUF (Big Architecture Up Front) Cannot Work
The Ivory Tower Is Real
The Lifeblood of Agile Is Frequent and Accurate
Feedback Double-Loop Learning
• Key success factor for agile processes is reflecting
on your way of working
• The Retrospective meeting is meant for that
• The development process itself should also be
flexible and adaptive
• This also applies to architecture!
Agenda
Change will never be as slow again as it is today
Agile & Architecture Opposites Attract!
The Three Pillars of Architecture
Practices Increasing Architectural Agility
Tips & Recommendations
The Three Pillars of Architecture
The Social Pillar: Collaboration is Key
Waterfall (BAUF) Agile
The Process Pillar: Continuous Architecture Across the
Life Cycle
The Structural Pillar: Modularity is key
Modular Monolith Using Componentized
Architecture
Microservice Architecture
Structural Architectural Agility
Agenda
Change will never be as slow again as it is today
Agile & Architecture Opposites Attract!
The Three Pillars of Architecture
Practices Increasing Architectural Agility
Tips & Recommendations
Prove It With Code
Architect All the Way Down
Architect All the Way Down
Views of a System — Class, Package and Module
Architecture All the Way Down Helps Bring
Down the Ivory Tower
Generate Documentation
• Generating documentation is a critical form of feedback
• Automate the creation of documentation
• Static code analysers
• Automated test scripts
• Visualizations are a valuable artifact
• Structure101
• JarAnalyzer
• SonarQube
• Code map
• Layer Dependency Validation
Generate Documentation
Generated Architectural Diagrams
Validate and Enforce the Architecture
• Proving your initial architectural vision with code and ensuring that the vision survives change are
separate issues.
• validate performance.
• validate portability.
• validate transactional correctness.
• validate layering.
• Architectural tests will help validate that the implementation is working and aligned with the
architectural vision, and the team can automate these tests as part of their continuous integration
strategy
Refactor Mercilessly
• Refactoring is the process of improving your existing code without changing its behavior
• Refactoring improves the nonfunctional attributes of your codebase
• Refactoring helps you manage the technical debt that increases maintenance cost and hinders your
ability to understand the software system
• Architectural refactoring emphasizes continuous improvement of the architecture as the system needs
to
Practices Increasing Architectural Agility:
Keep It as Simple as Possible
"Making something easy to change makes the overall system a little more complex, and making
everything easy to change makes the entire system very complex. Complexity is what makes
software hard to change.“
"Who Needs an Architect?" Ralph Johnson
Complexity: Enemy of System Agility
▪Complexity: many relations between the elements of a system, ‘everything’ is related to ‘everything’
▪Complex systems are not agile, because:
▪ you need to understand the complexity before making a change
▪ changes themselves are a lot of work
▪ local changes may have many unforeseen side-effects, sometimes in unexpected places
▪ lots of testing is needed
▪25% more functionality doubles the complexity of a system
(analysis by Cynthia Rettig, MIT Sloan Management Review)
▪ Developers spend 50% of their time simply understanding the software system
▪ 90% of software cost is maintenance and evolution
▪ Software doubles in size approximately every seven years
("Software Maintenance Costs," University of Eastern Finland)
Growth of Software Over Time
Agenda
Change will never be as slow again as it is today
Agile & Architecture Opposites Attract!
The Three Pillars of Architecture
Practices Increasing Architectural Agility
Tips & Recommendations
Tips: Use Smart Business Infrastructure
▪Stuff that hardly changes can be fixed and serve as infrastructure for the changing stuff
▪ Probably you don’t need to have very flexible electric wiring in your house
▪ But you want to be able to plug in all kinds of devices
▪Examples:
▪ Business process management and workflow management systems
▪ Business rule engines
▪ API Management
▪ Event-Driven Messaging infrastructure
▪ Code Templates, Reusable Components
Recommendations
• Improve All Three Pillars Simultaneously
• Establish Your Architectural Vision, Avoid BAUF and Adapt Architecture
• If Building a Monolith, Use a Componentized Architecture
• Find Ways to Garner Accurate Feedback on Architecture
• ‘Architecture Owner’ role in agile teams
▪ Convey the architecture vision to the rest of the team
▪ Give guidance on solution architecture
▪ Provide ‘architecture stories’ (enablers) next to user stories
• Refactor the Moment Architectural Deficiencies Are Discovered
Conclusion
The environment changes ever faster; not adapting is not an option, agility is key
Agility is not just about software development processes, but an enterprise-wide issue
Architecture is indispensable for sustained agility
Implementing new methods is itself an agile learning process
Key responsibility of architects: collaboration & coherence, between people and
between systems

More Related Content

Recently uploaded

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 

Recently uploaded (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

From Fragile to Agile Software Architecture (By Ahmed Khairat)

  • 1. From Fragile to Agile Software Architecture Presented by Ahmed Khairat
  • 2. Agenda Change will never be as slow again as it is today Agile & Architecture Opposites Attract! The Three Pillars of Architecture Practices Increasing Architectural Agility Tips & Recommendations
  • 3.
  • 4. Organizations need to become more adaptive! Change will never be as slow again as it is today
  • 5. Agenda Change will never be as slow again as it is today Agile & Architecture Opposites Attract! The Three Pillars of Architecture Practices Increasing Architectural Agility Tips & Recommendations
  • 8. The Goal of Architecture Is Cost-Effective Evolution “The architecture of a system is the naming of the most significant design decisions that shape a system, where we measure significant by cost of change.” "Handbook of Software Architecture," Grady Booch
  • 9. Traditional Approaches to Architecture Practice Are Flawed BAUF (Big Architecture Up Front) Cannot Work
  • 10. The Ivory Tower Is Real
  • 11. The Lifeblood of Agile Is Frequent and Accurate Feedback Double-Loop Learning • Key success factor for agile processes is reflecting on your way of working • The Retrospective meeting is meant for that • The development process itself should also be flexible and adaptive • This also applies to architecture!
  • 12. Agenda Change will never be as slow again as it is today Agile & Architecture Opposites Attract! The Three Pillars of Architecture Practices Increasing Architectural Agility Tips & Recommendations
  • 13. The Three Pillars of Architecture
  • 14. The Social Pillar: Collaboration is Key Waterfall (BAUF) Agile
  • 15. The Process Pillar: Continuous Architecture Across the Life Cycle
  • 16. The Structural Pillar: Modularity is key Modular Monolith Using Componentized Architecture Microservice Architecture Structural Architectural Agility
  • 17. Agenda Change will never be as slow again as it is today Agile & Architecture Opposites Attract! The Three Pillars of Architecture Practices Increasing Architectural Agility Tips & Recommendations
  • 19. Architect All the Way Down
  • 20. Architect All the Way Down Views of a System — Class, Package and Module
  • 21. Architecture All the Way Down Helps Bring Down the Ivory Tower
  • 22. Generate Documentation • Generating documentation is a critical form of feedback • Automate the creation of documentation • Static code analysers • Automated test scripts • Visualizations are a valuable artifact • Structure101 • JarAnalyzer • SonarQube • Code map • Layer Dependency Validation
  • 24. Validate and Enforce the Architecture • Proving your initial architectural vision with code and ensuring that the vision survives change are separate issues. • validate performance. • validate portability. • validate transactional correctness. • validate layering. • Architectural tests will help validate that the implementation is working and aligned with the architectural vision, and the team can automate these tests as part of their continuous integration strategy
  • 25. Refactor Mercilessly • Refactoring is the process of improving your existing code without changing its behavior • Refactoring improves the nonfunctional attributes of your codebase • Refactoring helps you manage the technical debt that increases maintenance cost and hinders your ability to understand the software system • Architectural refactoring emphasizes continuous improvement of the architecture as the system needs to
  • 26. Practices Increasing Architectural Agility: Keep It as Simple as Possible "Making something easy to change makes the overall system a little more complex, and making everything easy to change makes the entire system very complex. Complexity is what makes software hard to change.“ "Who Needs an Architect?" Ralph Johnson
  • 27. Complexity: Enemy of System Agility ▪Complexity: many relations between the elements of a system, ‘everything’ is related to ‘everything’ ▪Complex systems are not agile, because: ▪ you need to understand the complexity before making a change ▪ changes themselves are a lot of work ▪ local changes may have many unforeseen side-effects, sometimes in unexpected places ▪ lots of testing is needed ▪25% more functionality doubles the complexity of a system (analysis by Cynthia Rettig, MIT Sloan Management Review) ▪ Developers spend 50% of their time simply understanding the software system ▪ 90% of software cost is maintenance and evolution ▪ Software doubles in size approximately every seven years ("Software Maintenance Costs," University of Eastern Finland)
  • 28. Growth of Software Over Time
  • 29. Agenda Change will never be as slow again as it is today Agile & Architecture Opposites Attract! The Three Pillars of Architecture Practices Increasing Architectural Agility Tips & Recommendations
  • 30. Tips: Use Smart Business Infrastructure ▪Stuff that hardly changes can be fixed and serve as infrastructure for the changing stuff ▪ Probably you don’t need to have very flexible electric wiring in your house ▪ But you want to be able to plug in all kinds of devices ▪Examples: ▪ Business process management and workflow management systems ▪ Business rule engines ▪ API Management ▪ Event-Driven Messaging infrastructure ▪ Code Templates, Reusable Components
  • 31. Recommendations • Improve All Three Pillars Simultaneously • Establish Your Architectural Vision, Avoid BAUF and Adapt Architecture • If Building a Monolith, Use a Componentized Architecture • Find Ways to Garner Accurate Feedback on Architecture • ‘Architecture Owner’ role in agile teams ▪ Convey the architecture vision to the rest of the team ▪ Give guidance on solution architecture ▪ Provide ‘architecture stories’ (enablers) next to user stories • Refactor the Moment Architectural Deficiencies Are Discovered
  • 32. Conclusion The environment changes ever faster; not adapting is not an option, agility is key Agility is not just about software development processes, but an enterprise-wide issue Architecture is indispensable for sustained agility Implementing new methods is itself an agile learning process Key responsibility of architects: collaboration & coherence, between people and between systems