Software Architecture

Similar documents
Basic Concepts. Software Architecture Lecture 3. Copyright Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved.

Software Architecture. Schahram Dustdar Distributed Systems Group TU Wien

Software design (Cont.)

Applying 4+1 View Architecture with UML 2. White Paper

Web Application Architectures

Software Engineering

The Role of the Software Architect

Introduction to software architecture

Vragen. Architecture presentations in practice. Some terms (from IEEE standard)

Web Services Software Architecture

Aerospace Software Engineering

A Classification and Comparison Framework for Software Architecture Description Languages

Chap 1. Introduction to Software Architecture

Service Oriented Architecture and the DBA Kathy Komer Aetna Inc. New England DB2 Users Group. Tuesday June 12 1:00-2:15

A Framework for Software Product Line Engineering

Software Architecture. New wine in old bottles? (i.e., software architecture global design?, architect designer)

IT Architecture Review. ISACA Conference Fall 2003

Tutorial on Client-Server Architecture

Requirements for Software Deployment Languages and Schema

Service Oriented Architecture

What is Automotive Software Engineering? What is Automotive Software Engineering? What is Automotive Software Engineering?

Stock Trader System. Architecture Description

Real Time Programming: Concepts

Sistemi ICT per il Business Networking

What Is the Java TM 2 Platform, Enterprise Edition?

Software Architecture Action Guide. Why do we care about Software Architecture?

COMP5426 Parallel and Distributed Computing. Distributed Systems: Client/Server and Clusters

NASCIO EA Development Tool-Kit Solution Architecture. Version 3.0

PORTFOLIO, PROGRAMME & PROJECT MANAGEMENT MATURITY MODEL (P3M3)

NETWORK DESIGN & ANALYSIS PTIIK

Introduction to Service Oriented Architectures (SOA)

Material and some slide content from: - Software Architecture: Foundations, Theory, and Practice NFPs Reid Holmes Lecture 5 - Tuesday, Sept

Time Monitoring Tool Software Development Plan. Version <1.1>

Software Architecture Document

Multi-Datacenter Replication

Business-Driven Software Engineering Lecture 3 Foundations of Processes

Advanced Analysis and Design

Architecture. Reda Bendraou

ARMMS - Architecture Reference Model for Multilingual Software

Developing SOA solutions using IBM SOA Foundation

ENTERPRISE ARCHITECTUE OFFICE

An Approach to Software Architecture Description Using UML

SOA REFERENCE ARCHITECTURE: WEB TIER

The Perusal and Review of Different Aspects of the Architecture of Information Security

WHAT IS SOFTWARE PERFORMANCE ENGINEERING? By Michael Foster

SECURITY METRICS: MEASUREMENTS TO SUPPORT THE CONTINUED DEVELOPMENT OF INFORMATION SECURITY TECHNOLOGY

CHAPTER 2 MODELLING FOR DISTRIBUTED NETWORK SYSTEMS: THE CLIENT- SERVER MODEL

Component-based Development Process and Component Lifecycle Ivica Crnkovic 1, Stig Larsson 2, Michel Chaudron 3

Introduction to software architecture

Data Modeling Basics

Platform Autonomous Custom Scalable Service using Service Oriented Cloud Computing Architecture

Software Architecture Document

Software Service Engineering Architect s Dream or Developer s Nightmare?

Best Practices: Extending Enterprise Applications to Mobile Devices

Enterprise Architecture Review

Managing Variability in Software Architectures 1 Felix Bachmann*

Service-Oriented Architecture and Software Engineering

KWIC Implemented with Pipe Filter Architectural Style

Architecture for Adaptive Mobile Applications

Comparison of Request Admission Based Performance Isolation Approaches in Multi-tenant SaaS Applications

Intel Ethernet Switch Load Balancing System Design Using Advanced Features in Intel Ethernet Switch Family

Cisco Application Networking for IBM WebSphere

How To Develop A Multi Agent System (Mma)

Principles and characteristics of distributed systems and environments

ebay : How is it a hit

Copyright 1

How Router Technology Shapes Inter-Cloud Computing Service Architecture for The Future Internet

A Case Study in the Design of a Restaurant Management System

MANAGING USER DATA IN A DIGITAL WORLD

Goal-Driven Adaptable Software Architecture for UAVs

Peer-to-peer framework of Distributed Environment for Cooperative and Collaborative Work Service Composition

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

CS 5150 So(ware Engineering System Architecture

< IMPACT > START ACCELERATE IMPACT

LOAD BALANCING TECHNIQUES FOR RELEASE 11i AND RELEASE 12 E-BUSINESS ENVIRONMENTS

Tomáš Müller IT Architekt 21/04/2010 ČVUT FEL: SOA & Enterprise Service Bus IBM Corporation

Programmabilty. Programmability in Microsoft Dynamics AX Microsoft Dynamics AX White Paper

Software Development in the Large!

A Process View on Architecture-Based Software Development

What is a life cycle model?

Questions? Assignment. Techniques for Gathering Requirements. Gathering and Analysing Requirements

Balancing the Outsourcing Equation

Service-Oriented Architectures

Literature Review Service Frameworks and Architectural Design Patterns in Web Development

Disaster Recovery for Oracle Database

Distributed Systems LEEC (2005/06 2º Sem.)

Transcription:

Software Architecture Lecture 2 Basic Concepts Rob Pettit George Mason University

What is Software Architecture?! Definition:! A software system s architecture is the set of principal design decisions about the system! Software architecture is the blueprint for a software system s construction and evolution! Design decisions encompass every facet of the system under development! Structure! Behavior! Interaction! Non-functional properties SWE 443 Software Architecture Basic Concepts 2

What is Principal?! Principal implies a degree of importance that grants a design decision architectural status! It implies that not all design decisions are architectural! That is, they do not necessarily impact a system s architecture! How one defines principal will depend on what the stakeholders define as the system goals SWE 443 Software Architecture Basic Concepts 3

Other Definitions of Software Architecture! Perry and Wolf! Software Architecture = { Elements, Form, Rationale } what how why! Shaw and Garlan! Software architecture [is a level of design that] involves! the description of elements from which systems are built,! interactions among those elements,! patterns that guide their composition, and! constraints on these patterns.! Kruchten! Software architecture deals with the design and implementation of the high-level structure of software.! Architecture deals with abstraction, decomposition, composition, style, and aesthetics. SWE 443 Software Architecture Basic Concepts 4

Temporal Aspect! Design decisions are made and unmade over a system s lifetime à Architecture has a temporal aspect! At any given point in time the system has only one architecture! A system s architecture will change over time SWE 443 Software Architecture Basic Concepts 5

Prescriptive vs. Descriptive Architecture! A system s prescriptive architecture captures the design decisions made prior to the system s construction! It is the as-conceived or as-intended architecture! A system s descriptive architecture describes how the system has been built! It is the as-built architecture SWE 443 Software Architecture Basic Concepts 6

As-Designed vs. As- Implemented Architecture SWE 443 Software Architecture Basic Concepts 7

As-Designed vs. As- Implemented Architecture SWE 443 Software Architecture Basic Concepts 8

As-Designed vs. As- Implemented Architecture Which architecture is correct? Are the two architectures consistent with one another? What criteria are used to establish the consistency between the two architectures? On what information is the answer to the preceding questions based? SWE 443 Software Architecture Basic Concepts 9

Architectural Evolution! When a system evolves, ideally its prescriptive architecture is modified first! In practice, the system and thus its descriptive architecture is often directly modified! This happens because of! Developer sloppiness! Perception of short deadlines which prevent thinking through and documenting! Lack of documented prescriptive architecture! Need or desire for code optimizations! Inadequate techniques or tool support SWE 443 Software Architecture Basic Concepts 10

Architectural Degradation! Two related concepts! Architectural drift! Architectural erosion! Architectural drift is introduction of principal design decisions into a system s descriptive architecture that! are not included in, encompassed by, or implied by the prescriptive architecture! but which do not violate any of the prescriptive architecture s design decisions! Architectural erosion is the introduction of architectural design decisions into a system s descriptive architecture that violate its prescriptive architecture SWE 443 Software Architecture Basic Concepts 11

Architectural Recovery! If architectural degradation is allowed to occur, one will be forced to recover the system s architecture sooner or later! Architectural recovery is the process of determining a software system s architecture from its implementation-level artifacts! Implementation-level artifacts can be! Source code! Executable files! Java.class files SWE 443 Software Architecture Basic Concepts 12

Implementation-Level View of an Application SWE 443 Software Architecture Basic Concepts 13

Implementation-Level View of an Application Complex and virtually incomprehensible! SWE 443 Software Architecture Basic Concepts 14

Deployment! A software system cannot fulfill its purpose until it is deployed! Executable modules are physically placed on the hardware devices on which they are supposed to run! The deployment view of an architecture can be critical in assessing whether the system will be able to satisfy its requirements! Possible assessment dimensions! Available memory! Power consumption! Required network bandwidth SWE 443 Software Architecture Basic Concepts 15

A System s Deployment Architectural Perspective C_Display Manager Asymmetric C_Data Repository Commander C_Troops Manager Asymmetric C_App Manager Distr ibuted Sy mm etr ic Distributed S ym metric S_Display Manager Soldier Asymmetric S_Troops Manager Distributed Asymmetric Distributed Asymmetric Distributed Asymmetric Display Manager Offensive Strategy Asymmetric Decision Module Defensive Strategy Strategy Analyzer Symmetric Asymmetric Deployment Advisor Simulation Agent Asymmetric Asymmetric Deployment Strategies Repository Data Repository Headquarters SWE 443 Software Architecture Basic Concepts 16

Software Architecture s Elements! A software system s architecture typically is not (and should not be) a uniform monolith! A software system s architecture should be a composition and interplay of different elements! Processing, Data, Interaction! Different views allow for different perspectives! Structural, behavioral, code, deployment, use cases SWE 443 Software Architecture Basic Concepts 17

Components! Elements that encapsulate processing and data in a system s architecture are referred to as software components! Definition! A software component is an architectural entity that! encapsulates a subset of the system s functionality and/or data! restricts access to that subset via an explicitly defined interface! has explicitly defined dependencies on its required execution context! Components typically provide application-specific services SWE 443 Software Architecture Basic Concepts 18

Connectors! In complex systems interaction may become more important and challenging than the functionality of the individual components! Definition! A software connector is an architectural building block tasked with effecting and regulating interactions among components! In many software systems connectors are usually simple procedure calls or shared data accesses! Much more sophisticated and complex connectors are possible!! Connectors typically provide applicationindependent interaction facilities SWE 443 Software Architecture Basic Concepts 19

Examples of Connectors! Can be generally grouped in terms of! Synchronous communication! Asynchronous communication! Procedure call connectors! Shared memory connectors! Message passing connectors! Streaming connectors! Distribution connectors! Wrapper/adaptor connectors SWE 443 Software Architecture Basic Concepts 20

Configurations! Components and connectors are composed in a specific way in a given system s architecture to accomplish that system s objective! Definition! An architectural configuration, or topology, is a set of specific associations between the components and connectors of a software system s architecture SWE 443 Software Architecture Basic Concepts 21

An Example Configuration C_Display Manager Asymmetric C_Troops Manager Asymmetric Symmetric S_Display Manager Asymmetric S_Troops Manager Display Manager C_ Data Repository C_App Manager Offensive Strategy Asymmetric Decision Module Defensive Strategy Strategy Analyzer Symmetric Asymmetric Deployment Advisor Simulation Agent Asymmetric Asymmetric Deployment Strategies Repository Data Repository SWE 443 Software Architecture Basic Concepts 22

Architectural Styles! Certain design choices regularly result in solutions with superior properties! Compared to other possible alternatives, solutions such as this are more elegant, effective, efficient, dependable, evolvable, scalable, and so on VS. SWE 443 Software Architecture Basic Concepts 23

Architectural Styles! Certain design choices regularly result in solutions with superior properties! Compared to other possible alternatives, solutions such as this are more elegant, effective, efficient, dependable, evolvable, scalable, and so on! Definition! An architectural style is a named collection of architectural design decisions that! are applicable in a given development context! constrain architectural design decisions that are specific to a particular system within that context! elicit beneficial qualities in each resulting system SWE 443 Software Architecture Basic Concepts 24

Example styles: Client-Server vs. Layered Client-Server Layered SWE 443 Software Architecture Basic Concepts 25

Architectural Patterns! Definition! An architectural pattern is a set of architectural design decisions that are applicable to a recurring design problem and parameterized to account for different software development contexts in which that problem appears! A widely used pattern in modern distributed systems is the three-tiered system pattern! Science! Banking! E-commerce! Reservation systems SWE 443 Software Architecture Basic Concepts 26

Three-Tiered Pattern! Front Tier! Contains the user interface functionality to access the system s services! Middle Tier! Contains the application s major functionality! Back Tier! Contains the application s data access and storage functionality SWE 443 Software Architecture 27

Architectural Models, Views, and Visualizations! Architecture Model! An artifact documenting some or all of the architectural design decisions about a system! Architecture Visualization! A way of depicting some or all of the architectural design decisions about a system to a stakeholder! Architecture View! A subset of related architectural design decisions SWE 443 Software Architecture Basic Concepts 28

Architectural Processes! Architectural design! Architecture modeling and visualization! Architecture-driven system analysis! Architecture-driven system implementation! Architecture-driven system deployment, runtime redeployment, and mobility! Architecture-based design for non-functional properties, including security and trust! Architectural adaptation SWE 443 Software Architecture Basic Concepts 29