non functional properties
play

Non-Functional Properties Mei Nagappan How the analyst designed it - PowerPoint PPT Presentation

Home Gallery Create Shop About Title Drag-and drop cells to Description rearrange the cells. Click on the captions to Home Gallery Create Shop About edit them. Save Cancel To remove a cell, just Title leave the caption empty.


  1. Home Gallery Create Shop About Title Drag-‑and drop cells to Description rearrange the cells. Click on the captions to Home Gallery Create Shop About edit them. Save Cancel To remove a cell, just Title leave the caption empty. Drag-‑and drop cells to Description Type the text rearrange the cells. Privacy & Terms Click on the captions to edit them. Save Cancel To remove a cell, just leave the caption empty. Type the text Privacy & Terms Material and some slide content from: - Software Architecture: Foundations, Theory, and Practice - Elisa Baniassad - Reid Holmes How the customer explained How the project leader How the programmer wrote it understood it it How the customer explained How the project leader How the programmer wrote it understood it it Intro graphic: How the analyst designed it How the business consultant What the customer really [http://projectcartoon.com] described it needed Non-Functional Properties Mei Nagappan How the analyst designed it How the business consultant What the customer really described it needed

  2. System Stakeholders ‣ Architectural documents are used by a variety of system stakeholders: ‣ Developers ‣ Managers ‣ Sales ‣ Testers ‣ Support ‣ Maintenance ‣ DevOps ‣ Customers MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  3. Stakeholder Questions ‣ Management: are we on schedule? ‣ Developers: who is responsible for what? ‣ Sales: can we claim it can do this task? ‣ QA: what teams do we talk to about defects? ‣ DevOps: where should this component be deployed? ‣ Support: which QA team signed o ff on this? ‣ Maintenance: how can we add this feature? MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  4. Stakeholder Conflicts ‣ System requirements fall into two broad categories: ‣ Functional Properties: what the system is supposed to do (‘the system shall do X’). ‣ Non-Functional Properties: what the system is supposed to be (‘the system shall be Y’). ‣ Each stakeholder will have their own opinion about what NFPs matter most: ‣ e.g., the development team will care about maintainability more than the customer ‣ e.g., QA will be more interested in the testability of the application than sales MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  5. Tradeoffs Client (Customer, Sponsor) ! End User ! Functionality ! Low cost ! User-friendliness ! Increased Productivity ! Runtime ! Ease of Use ! Backward-Compatibility ! Efficiency ! Ease of learning ! Traceability of requirements ! Fault tolerant ! Rapid development ! Reliability ! Robustness ! Flexibility ! Portability ! Good Documentation ! Developer/ ! Maintainer ! Minimum # of errors ! Modifiability, Readability ! Reusability, Adaptability ! Well-defined interfaces ! MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  6. Typical tradeoffs ‣ functionality vs. usability ‣ cost vs. robustness ‣ e ffi ciency vs. portability ‣ dev velocity vs. functionality ‣ cost vs. reusability ‣ backward compatibility vs. readability MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  7. [TAILOR ET AL.] NFPs ‣ NFPs are constraints on the manner in which the system implements and delivers its functionality. ‣ E.g., ‣ E ffi ciency ‣ Complexity ‣ Scalability ‣ Heterogeneity ‣ Adaptability ‣ Dependability ‣ Security and usability MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  8. [TAILOR ET AL.] FP vs NFP ‣ Products are sold based on their FPs. ‣ e.g., Cell phone, Car, Tent. ‣ However, NFPs play a critical role in perception. ‣ “This program keeps crashing” ‣ “It doesn’t work with my [...]” ‣ “It’s too slow” MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  9. [TAILOR ET AL.] Design guidelines for NFPs ‣ Provide guidelines that support various NFPs. ‣ Focus on architectural level: ‣ Components ‣ Connectors ‣ Topologies MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  10. Evaluating NFPs ‣ It is tempting to treat NFPs abstractly ‣ Thinking about NFPs concretely means thinking about how they might be measured ‣ If you do not do this, it is hard to validate whether a design / arch decision supports or inhibits an NFP MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  11. [TAILOR ET AL.] NFP: Efficiency ‣ E ffi ciency is a quality that reflects a system’s ability to meet its performance requirements. ‣ Components: ‣ Keep them “small”. ‣ Simple and compact interfaces. ‣ Allow multiple interfaces to the same functionality. ‣ Separate data from processing components. ‣ Separate data from meta data. ‣ Connectors: ‣ Carefully select connectors. ‣ Be careful of broadcast connectors. ‣ Encourage asynchronous interaction. ‣ Be wary of location/distribution transparency. ‣ Topology: ‣ Keep frequent collaborators “close”. ‣ Consider the e ffi ciency impact of selected styles. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  12. [TAILOR ET AL.] NFP: Complexity ‣ Complexity is a property that is proportional to the size of a system, its volume of constituent elements, their internal structure, and their interdependencies. ‣ Components: ‣ Separate concerns. ‣ Isolate functionality from interaction. ‣ Ensure cohesiveness. ‣ Insulate processing from data format changes. ‣ Connectors: ‣ Isolate interaction from functionality. ‣ Restrict interactions provided by each connector. ‣ Topology: ‣ Eliminate unnecessary dependencies. ‣ Use hierarchical (de)composition. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  13. [TAILOR ET AL.] NFP: Scalability / Heterogeneity ‣ Scalability: The capability of a system to be adapted to meet new size / scope requirements. ‣ Heterogeneity: A system’s ability to be composed of, or execute within, disparate parts. ‣ Portability: The ability of a system to execute on multiple platforms while retaining their functional and non-functional properties. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  14. [TAILOR ET AL.] NFP: Scalability / Heterogeneity ‣ Components: ‣ Keep components focused ‣ Simplify interfaces ‣ Avoid unnecessary heterogeneity ‣ Distribute data sources ‣ Replicate data ‣ Connectors: ‣ Use explicit connectors ‣ Choose the simplest connectors ‣ Direct vs. indirect connectors ‣ Topology: ‣ Avoid bottlenecks ‣ Place data close to consumer ‣ Location transparency MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  15. [TAILOR ET AL.] NFP: Evolvability ‣ Evolvability: The ability to change to satisfy new requirements and environments. ‣ Components: ‣ Same as for complexity. ‣ Goal is to reduce risks by isolating modifications. ‣ Connectors: ‣ Clearly define responsibilities. ‣ Make connectors flexible. ‣ Topology: ‣ Avoid implicit connectors. ‣ Encourage location transparency. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  16. [TAILOR ET AL.] NFP: Dependability ‣ Reliability: The probability a system will perform within its design limits without failure over time. ‣ Availability: The probability the system is available at a particular instant in time. ‣ Robustness: The ability of a system to respond adequately to unanticipated runtime conditions. ‣ Fault-tolerance: The ability of a system to respond gracefully to failures at runtime. ‣ Faults arise from: environment, components, connectors, component-connector mismatches. ‣ Survivability: The ability to resist, recover, and adapt to threats. ‣ Sources: attacks, failures, and accidents. ‣ Steps: resist, recognize, recover, adapt. ‣ Safety: The ability to avoid failures that will cause loss of life, injury, or loss to property. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

  17. [TAILOR ET AL.] NFP: Dependability ‣ Components: ‣ Control external component dependencies. ‣ Support reflection. ‣ Support exception handling. ‣ Connectors: ‣ Use explicit connectors. ‣ Provide interaction guarantees. ‣ Topology: ‣ Avoid single points of failure. ‣ Enable back-ups. ‣ Support system health monitoring. ‣ Support dynamic adaptation. MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE MEI NAGAPPAN - SE2: SOFTWARE DESIGN & ARCHITECTURE

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend