chapter 3 Flashcards

1
Q

what is an arch style?

A

is a description of component and connector types and the pattern of their run time

  • constrain arch design decisions
  • applicable in a dev’t context
  • benefit a system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

______________ is a named collection of arch design decisions?

A

arch styles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are properties of arch styles?

A

PAS == V Standard Settings
- vocabulary of design elements
—— filter, server, pipe, object
- set of config rules
—– comp can connect only to 2 other comp
- semantic interpretations
—— design elements have well defined meanings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are common arch styles?

A

Common I’LL SDP
- implicit invocation
- layered
- language based
- shared state
- data flow
- peer to peer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

describe a language based AS with an example

A
  • influenced by the language that implements it
  • low level and flexible
    example :
  • major programs and subroutines
  • OO style
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

describe OO style [ comp-conn ]

A

components - objects
connectors - method invocations
feature - object abstracts local data
Adv / disadv - abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe a layered AS with examples?

A
  • is a hierarchical organization of system
  • each layer acts as:
    server : for UL
    client : for LL
  • connectors are protocols
    Example:
  • OSI, dbs …
  • client server arch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

describe a client-server ( CS ) arch [ comp-conn ]

A

components - clients and servers
connectors - RPC protocols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are layers of a CS arch?

A

presentation
application
data management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

list types of CS arch styles

A
  • 2 tier
    — fat client model & thin client model
  • 3 tier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

which CS arch type places heavy load on server and network? how?

A

thin client model,
- server executes data management and application processing
- client only handles presentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

which 2 tier CS arch types are suitable for legacy and new CS systems respectively?

A

thin and fat client model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is a 3 tier CS arch?

A
  • each CS layer has its own tier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

describe a data flow AS with examples?

A
  • computations are determined by the availability of data
  • pattern of data flow is explicit
    Examples:
  • Batch / sequential
  • pipe and filter [ non seq ]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

describe a pipe and filter [ comp-conn ]

A

component - filter [ input data stream to output ds]
connector - pipe
- filters are independent [ no shared states ]
- filter has no knowledge of up or down stream
Examples:
- distributes sys
- parallel programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

describe a shared state AS with examples?

A
  • describes a shared data store that is accessed and modified by various components
  • central data store is explicitly defined
  • aka repository style
    Examples:
  • Blackboard
  • rule-based
17
Q

describe a blackboard [ comp-conn ]

A
  • has 2 type of comp
    —— central ds - blackboard
    —— components on the blackboard
  • system is controlled by the blackboard
    Example : compiler
18
Q

describe an implicit invocation AS with examples?

A
  • event announcements instead of method invocation
  • listeners will implicitly invoke methods
  • component - interface and methods
  • connector - 2 types [ imp or exp methods invoked by the listener ]
    Example:
  • publish-subscribe
19
Q

what are the comp, connectors, topology and data elements in a publish-subscribe arch?

A

component - publisher, subscriber, proxy
connector - a network protocol [ client - server ]
data elements - subscriptions, notifications, info
topology - subscriber connects to publisher directly or indirectly through intermediary protocols

20
Q

describe a peer to peer AS with examples?

A
  • state and behavior is distributed among peers
  • peer can be client or server
  • robust in terms of failure
  • scalable in terms of access to resources
21
Q

what are the comp, connectors, topology and data elements in a peer to peer AS?

A

comp - peers
conn - network protocols
data elements - network messages
topology :
- may be arbitrary or dynamic
- may have redundant connections b/n peers