Performance Orientated-Design Flashcards

1
Q

What are the three categories of performance principles?

A
  1. Performance control principles
  2. Independent principles
  3. Synergistic principles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are performance control principles?

A

Control performance by stating the required performance objectives to quantitively determine if software meets goals.

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

What are independent principles?

A

Can be applied independently do not conflict with eachother

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

What are synergistic principles?

A

Improve overall performance by allowing cooperation of processes fighting for computer resources

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

What is performance objective principle?

A

Type: Performance Control Principle

Define specific, quantitative, measurable performance objectives for performance scenarios

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

What is instrumenting principle?

A

Type: Instrumenting Principle

Inserting code probes at key points to enable measurement of important execution characteristics

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

What is centering principle?

A

Type: Independent Principle

Identify the dominant workload functions and minimize their processing

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

What is the fixing point principle?

A

Type: Independent Principle

For responsiveness, fixing should establish data connections as early as possible such that retaining the connection is cost-effective.

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

What is the locality principle?

A

Type: Independent Principle

Closeness of desired actions, functions, and results to the physical resources used to produce them.

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

What is the processing vs frequency principle?

A

Type: Independent Principle

Minimize the product of processing times frequency. Making a trade-off between how much times a service is called and how much work that service does on each call.

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

What is the shared resource principle?

A

Type: Synergistic Principle

Share resources when possible. When excluding access is required, minimize the sum of the holding time and scheduling time.

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

What is the parallel processing principle?

A

Type: Synergistic Principle

Processing time can be reduced by partitioning computation into multiple concurrent processes.

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

What is real concurrency?

A

Processes execute simultaneously on different processers.

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

What is apparent concurrency?

A

Processes are multiplexed on the same processors. Still need to fight for shared resources.

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

What is spread-the-load principle?

A

Type: Synergistic Principle

When possible process conflicting loads at different times or different places.

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

What is fixing

A
  • Fixing in the sense of anchoring

Fixing connects

  • the desired actions to the instructions used to complete action
  • The desired result to the data to produce it
17
Q

Examples of fixing point?

A

Banker needs summary data of multiple accounts

  1. Early fixing - Update the summary data as the account data arrives
  2. Late fixing - Update the summary data as the banker requests
18
Q

Examples of locality principle?

A
  • Multiple queries to remote database

- Regional offices vs central offices

19
Q

Examples of shared resource principle?

A

To minimize scheduling time, lock the database when being accessed (this maximizes holding time)

To minimize holding time, lock the individual records when accessing database (this maximizes scheduling time)

20
Q

Example of parallel processing principle?

A

Printing statements for large number of customers, can do this concurrently instead of sequentially.

21
Q

Example of performance objective principle?

A

ATM end-to-end interaction should take at most 1 second for the user.

22
Q

Should you be using the principles all the time?

A

False, only for critical components

23
Q

What are the performance control principles?

A
  1. Performance Objective principle

2. Instrumentation Principle

24
Q

What are the independent principles

A
  1. Centering Principle
  2. Locality principle
  3. Processing vs frequency principle
  4. Fixing point principle
25
Q

What are synergistic principles

A
  1. Shared resources principle
  2. Spread the load principle
  3. Parallel processing