The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Tricks & Tutorial

GSAS Talk: Pragmatic Approach to Architecture Metrics – Part 2

admin by admin
August 24, 2023
in Tricks & Tutorial


Continuing from Part 1, this article delves deeper into the insights of the talk “Pragmatic Approach to Architecture Metrics” presented by Sonya Natanzon and Vlad Khononov at the Global Software Architecture Summit last year. This second part of architecture metrics focuses on the concepts of integration strength within software development and modularity.

Integration Strength

Integration strength refers to the degree of interconnectedness and interdependence among various components, modules, or systems.

Implementation Coupling

• How the parts of the system are implemented

• Private interfaces

• Not intended for inter-component integration

Functional Coupling

• Knowledge of what the system has to do

• Business logic

• Use cases

• Rules, invariants, and constraints

Model Coupling

  • Models of the business domain
  • Data structures
  • Software system-related aspects of the business domain
  • Understanding of the functional requirements

Contract Coupling

  • Components’ integration contracts
  • Integration-specific models, APIs
  • The minimal data needed for components to work together
Low strength High strength
Low distance Local Complexity High cohesion
High distance Loose coupling Global complexity

Loose coupling

• High cost of cascading changes

• Low shared knowledge

• Minimizes cascading changes

High cohesion

• High shared knowledge

• Frequent cascading changes

• Low cost of cascading changes

Local complexity

Low cost of cascading changes

• Low shared knowledge

• Co-located unrelated modules

Global complexity

• High cost of cascading changes

• High shared knowledge

• Frequent cascading changes

Modularity = strength XOR distance

When designing software systems, achieving modularity can have an impact on the system’s strength or distance between modules. By breaking down the system into modular components, developers can enhance the strength of each module by focusing on its specific functionality and ensuring its reliability. However, at the same time, there may be a trade-off in terms of the distance between modules, meaning that there might be increased communication or coordination overhead between modules.

It emphasizes the importance of finding the right balance between modularity, strength, and distance in software development. It highlights the need for careful design decisions to optimize the system’s robustness and maintainability while considering the interdependencies and communication requirements between modules.

Applying M=S^D

1. Minimize integration strength as much as possible

2. Balance integration strength and distance

• Both are high? — Reduce distance

• Both are low? — Increase distance

Pragmatic Approach to Architecture Metrics in a Nutshell

1. Business need to evolve and scale should be supported by software architecture’s ability to change on two vectors: frequency and effectiveness

2. Four metrics that can be used to evaluate the frequency and effectiveness of change: change lead time, deployment frequency, change failure rate, and mean time to recovery

3. Cost of change is the total of four metrics and is directly correlated to change complexity

4. Any two connected components share knowledge: implementation, function, model, or contract. The more knowledge is shared between two components, the stronger they are integrated

5. Modularity = Strength XOR Distance

Some books recommended during the talk Pragmatic Approach to Architecture Metrics were:

Conclusion

Undoubtedly, the “Pragmatic Approach to Architecture Metrics” talk delivered valuable insights that warrant close attention, emphasizing the significance of pragmatism in software development, a factor often overlooked. Sonya and Vlad provided the audience with essential considerations for evaluating software and its potential transformations, encouraging a thoughtful and practical approach to architectural decision-making. It is imperative to grasp these key points, as they contribute to the overall success and sustainability of software projects.

  • Oriol Saludes

    Experienced Full Stack Engineer with a demonstrated history of working in the information technology and services industry. Skilled in PHP, Spring Boot, Java, Kotlin, Domain-Driven Design (DDD), TDD and Front-end Development. Strong engineering professional with a Engineer’s degree focused in Computer Engineering from Universitat Oberta de Catalunya (UOC).

    View all posts



Source link

Previous Post

A Guide to Migrating from Webpack to Vite — SitePoint

Next Post

Essential WordPress Block Theme Features for Web Designers

Next Post

Essential WordPress Block Theme Features for Web Designers

Recommended

25 Best Free Resume Templates for Figma in 2023

4 months ago

Sentry announces new monitoring capabilities for developers

1 year ago

MongoDB announces new database capabilities to improve developer experience

5 days ago

The truth about CSS selector performance | CSS-Tricks

8 months ago

How developers can confidently secure applications

6 months ago

Svelte 4 released with major performance improvements

3 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.