Architectural Styles (2) : David Garlan and Mary Shaw Have Compiled A (Shaw 95)

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Architectural Styles (2)

ƒ David Garlan and Mary Shaw have compiled a catalog


of architectural styles [Shaw 95].

ƒ There is no complete list.

ƒ There is no unique, non-overlapping list.

ƒ Styles overlap.

ƒ Systems exhibit multiple styles at once.

SE, Software Architecture, FAST-NU, ©2009 31


Classifications
Independent
components

Communicating Event systems


processes
Implicit Explicit
Client-Server Peer 2 Peer invocation invocation
Process-Control publish-subscribe

Data flow Data-centered

Batch Pipes Repository Blackboard


sequential and filters Hypertext systems
Virtual machine Call/return

Interpreter Rule-based Main program Object- Layered


system and subroutine oriented

Heterogeneous styles 5 Styles


• different styles mixed at different levels 20 Sub-Styles
SE, Software Architecture, FAST-NU, ©2009 32
Independent components

(a) Communicating processes


• client-server is a prominent case
Quality Attributes:
• Scalability

(b) Event systems


• publish-subscribe systems
• message/channel based systems
Quality Attributes:
• Modifiability (decouple sender and receiver)
• Send Data but donot control each other

SE, Software Architecture, FAST-NU, ©2009 33


Independent components/Communicating processes

Peer-to-peer

QA: Resource utilization, robustness


Issues: Complex control and algorithms

SE, Software Architecture, FAST-NU, ©2009 34


Independent components/Communicating processes

Client/Server
Client/Server [n-tier]

QA: Efficient use of


resources, generalizes

Issues: Explicit identity


binding

Some Features
• Client-server ? master-slave
• polling or interrupt driven
• no communication between clients
• not appropriate for distributed systems
• File server, web server, network server, ftp server,
e-mail server, NC▪
SE, Software Architecture, FAST-NU, ©2009 35
Independent components/Communicating processes

Middleware

client server

stub stub
Object Request Broker

CORBA
DCOM
RMI
SE, Software Architecture, FAST-NU, ©2009 36
Independent components/Communicating processes

Multi -master-slave

SE, Software Architecture, FAST-NU, ©2009 37

You might also like