logo

Design or Architecture Pattern?

11 Pages991 Words46 Views
   

Added on  2022-09-08

Design or Architecture Pattern?

   Added on 2022-09-08

ShareRelated Documents
ARCHITECTURAL PATTERN
An architectural pattern is a general, reusable solution to a commonly occurring
problem in software architecture within a given context. Architectural patterns are
similar to software design pattern but have a broader scope
Some of the most common architectural patterns are:
1. Layered pattern
This pattern can be used to structure programs that can be decomposed into groups of
subtasks, each of which is at a particular level of abstraction. Each layer provides services
to the next higher layer.
The most commonly found 4 layers of a general information
system are as follows.
Presentation layer (also known as UI layer)
Application layer (also known as service layer)
Business logic layer (also known as domain layer)
Data access layer (also known as persistence layer)
Usage
General desktop applications.
E commerce web applications.
Layer Pattern
Design or Architecture Pattern?_1
2. Client-server pattern
This pattern consists of two parties; a server and multiple clients. The server component
will provide services to multiple client components. Clients request services from the
server and the server provides relevant services to those clients. Furthermore, the server
continues to listen to client requests.
Usage
Online applications such as email, document sharing and banking.
Client-server pattern
Design or Architecture Pattern?_2
3. Master-slave pattern
This pattern consists of two parties; master and slaves. The master component
distributes the work among identical slave components, and computes a final result from
the results which the slaves return.
Usage
In database replication, the master database is regarded as the authoritative
source, and the slave databases are synchronized to it.
Peripherals connected to a bus in a computer system (master and slave drives).
Master-salve pattern
Design or Architecture Pattern?_3
4. Pipe-filter pattern
This pattern can be used to structure systems which produce and process a stream of
data. Each processing step is enclosed within a filter component. Data to be processed is
passed through pipes. These pipes can be used for buffering or for synchronization
purposes.
Usage
Compilers. The consecutive filters perform lexical analysis, parsing, semantic
analysis, and code generation.
Workflows in bioinformatics.
Pipe-filter pattern
Design or Architecture Pattern?_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
DISTRIBUTED SYSTEMS 2 DISTRIBUTED SYSTEMS Name of the Student Name
|43
|9700
|236

Software Engineering Distributed Models Doc
|4
|626
|238

Networking and Security: Application Layer - Desklib
|4
|690
|129

COMMUNICATION BETWEEN CLIENT SERVER.
|3
|348
|465

Client-Server Architectural Pattern
|4
|561
|464

Client/Server Application Components
|23
|5991
|87