



Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




design of software architectures. The overall process consists of five views. Problem Architecture is the result of an analysis focused on the significant aspects of data, activities and information flows from a user perspective. Logical Architecture groups activities into logical components, by taking into account the relevant dimensions of the problem. Concrete Architecture specializes logical components and information flows in terms of concrete components and interactions styles. Implementation Architecture defines platform-dependent implementations of concrete components and their interactions. Finally, Deployment Architecture assigns the concrete components to computing nodes. The discussion is carried on via a reference example. Pros and cons of different solutions are discussed and additional examples are sketched.
1 Introduction "In conclusion, we offer the following conjecture: perhaps the reason for such slow progress in the development and evolution of software systems is that we have trained carpenters and contractors, but no architects." (Dewayne E. Perry and Alexander L. Wolf, 1992)
The aim of this report is to provide a designer with some insights allowing the complexity of large IT systems to be managed. Managing the complexity implies to be both abstract and concrete. Abstract, because a complex problem cannot be faced without abstraction. Concrete, because cost-effective systems cannot be effectively built without a proper mapping of abstraction concepts into implementation elements. This requires to carefully consider how the fulfilment of domain constraints and non-functional requirements like performance, cost, scalability, availability, configuration and administration depend on design, implementation and technological issues. In the presented approach the software architecture of a given system can be designed in several phases, corresponding to more or less abstract views (if you prefer, abstractions levels, though the abuse of the term "level" might be confusing): Problem Architecture, Logical Architecture, Concrete Architecture, Implementation Architecture and Deployment Architecture. This organization borrows some central ideas from the Model Driven Architecture (MDA) approach [1]. In particular the views above roughly correspond to the typical phases of a MDA-like approach. The Problem Architecture view is the result of an analysis focused on the significant aspects of data, activities and information flows from a user perspective. The Logical Architecture view groups activities into logical components. A logical component is a cluster of activities. The activities are classified in several conceptual dimensions and are grouped to ensure a high degree of compactness and insulation in each dimension. The goal is to keep logical components as independent as possible and to minimize their interactions. The Concrete Architecture view specializes logical components and information flows in terms of concrete, but platform-neutral, components and interactions styles. The Implementation Architecture view defines concrete platform-dependent implementations of the concrete components and of their interactions. The Deployment Architecture assigns concrete components to computing nodes. Finally, the UML2 notation is used here as a communication tool and as a guideline.
“ As the size and complexity of software systems increases, the design problem goes beyond the algorithms and data structures of the computation: designing and specifying the overall system structure emerges as a new kind of problem. Structural issues include gross organization and global control structure; protocols for communication, synchronization, and data access; assignment of functionality to design elements; physical distribution; composition of design elements; scaling and performance; and selection among design alternatives. This is the software architecture level of design. ” [2]
architecture can be described by various models, everyone focused on a particular perspective. For example, following [7] we can identify:
Figure 1 ”Maturation of the software architecture field”, from [20]
The example below will be used as reference in the following. A shop chain has several shops and one central warehouse. Each shop has a local warehouse. The goal is to manage the demand chain. Sold items are recognized at each Point of Sale (POS) via RFID (or, possibly, via code bar or keyboard). The stocks are managed at three levels: shelf (to notify an operator about the need for replenishment), local shop inventory (to require the delivery of goods from central warehouse to local warehouse), global inventory (to plan purchases or production). Shelf operators fill up shelves as soon as the level of a product in a shelf becomes low. When a product level on a shelf becomes low, the need for replenishment must be recognized within a few minutes. Shop managers drive the transfer of products from the central warehouse to the local ones. Products are delivered daily from central to local warehouses. A purchase manager is in charge of planning purchases and generates orders according to central strategies. The purchase manager is in charge of deciding when a specific good must be purchased.