Chapter 12 Flashcards

1
Q

Name 5 Architectural Patterns

A

Leader-Follower
Two-Tier Client-Server
Multi-Tier Client-Server
Distributed Components and SOA
Peer-to-Peer

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

Leader-Follower Pattern

A

Leader is the brain and handles computation. Followers are limbs and handle specific tasks.

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

When to use Two-Tier Client-Server

A

Used when the system needs to be more centralized for security reasons.

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

Two forms of two-tier client-server

A

Thin Client - More strain on the server side
Fat Client - More strain on the client side

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

Thin Client Pros and Cons

A

Pro: Clients easier to manage
Cons: Places a heavy processing load on the server and the network

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

Reason to use Multi-Tier over TwoTier

A

More scalability. Different layers can operate on different processors. Can operate with hundreds or thousands of clients.

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

How to organize Layered Pattern

A

Design system as a set of services without trying to allocate the services to the layers

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

How are Distributed Components accessed?

A

Through middleware that uses remote procedures or method calls.

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

Benefits of the Distributed Components Pattern

A

Flexibility, Openness, Scalability, Reconfiguration Easiness.

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

Example of A Distributed Component Pattern

A

Data-Mining

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

Disadvantages of the Distributed Component Pattern

A

More complex to design than client-server - More costly
No universal standard for distributed components or middleware. Different vendors have incompatible middleware

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

Reason to use Service-Oriented-Architecture over Distributed Component Pattern

A

SOA is message-based (asynchronous). Does not rely on middleware, less issues with compatibility.

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

Reason to use Distributed Component Pattern over Service-Oriented-Architecture

A

Remote Procedure Calls are faster than messaging so Distributed Component is better for high throughput systems than SOA.

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

How is Peer-To-Peer (P2P Different than Client-Server

A

P2P is similar to Client-Server but without the distinctions.

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

Advantages of P2P

A

No central server.
Highly redundant

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

Disadvantages of P2P

A

Messages can be redundantly sent
There are variants