tailieunhanh - Lecture Software design and architecture – Chapter 10

Lecture 11 provides knowledge of shared data software architecture. An architecture style (also known as an “architecture pattern”) abstracts the common properties of a family of similar designs. Define a family of systems in terms of a pattern of its structural organization. | SOFTWARE DESIGN AND ARCHITECTURE LECTURE 10 Review Distributed Architectures Service Oriented Architecture Outline Data Flow Architectures Batch Sequential Pipe and Filter Data flow Software Architecture Data Flow Architectures The data flow software architecture style views the entire software system as a series of transformations on successive sets of data, where data and operations on it are independent of each other. The software system is decomposed into data processing elements where data directs and controls the order of data computation processing. Data Flow Architectures Each component in this architecture transforms its input data into corresponding output data. The connection between the subsystem components may be implemented as I/O streams, I/O files, buffers, piped streams, or other types of connections. Data Flow Architectures Regardless of the type of topology, the data moves from one subsystem to another. In general, there is no interaction between the modules except for the output and the input data connections between subsystems. Data Flow Architectures One subsystem can be substituted by another without affecting the rest of the system Since each subsystem does not need to know the identity of any other subsystem, modifiability and reusability are important property attributes of the data flow architecture. Batch sequential Batch – Sequential In batch sequential architecture, each data transformation subsystem or module cannot start its process until its previous subsystem completes its computation. Data flow carries a batch of data as a whole from one subsystem to another. First subsystem validates the transaction requests (insert, delete, and update) in their totality. Next, the second subsystem sorts all transaction records in an ascending order on the primary key of data records The transaction update module updates the master file with the sorted transaction requests, and then the report module generates a new list. The architecture is in | SOFTWARE DESIGN AND ARCHITECTURE LECTURE 10 Review Distributed Architectures Service Oriented Architecture Outline Data Flow Architectures Batch Sequential Pipe and Filter Data flow Software Architecture Data Flow Architectures The data flow software architecture style views the entire software system as a series of transformations on successive sets of data, where data and operations on it are independent of each other. The software system is decomposed into data processing elements where data directs and controls the order of data computation processing. Data Flow Architectures Each component in this architecture transforms its input data into corresponding output data. The connection between the subsystem components may be implemented as I/O streams, I/O files, buffers, piped streams, or other types of connections. Data Flow Architectures Regardless of the type of topology, the data moves from one subsystem to another. In general, there is no interaction between the modules except