Placement Group Strategies Flashcards

1
Q

Cluster Strategy

A
  • Same rack
  • Same AZ

Uses:

  • big data job that needs to complete fast
  • application that needs low latency and high network throughput
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cluster Strategy pros

A
  • Low latency
  • High performance
  • Good Network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cluster Strategy cons

A

High risk - if the rack fails, all instances fail at the same time

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

Spread Strategy

A
  • placed on distinct racks, with each rack having its own network and power source
  • located on different hardware
  • can span multiple AZs

Use case:

  • application that needs to maximise high availability
  • critical applications where each instance must be isolated from failure from each other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Spread Strategy pros

A
  • Instances located on different hardware
  • Minimise risk of failure
  • Can span across Availability zones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Spread Strategy cons

A

Con: max 7 instances per group, per AZ

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

Partition Strategy

A

each partition has its own set of racks. Each rack has its own network and power source

allows isolating the impact of hardware failure within your application

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

Partition Strategy pros

A
  • up to 7 partitions per AZ
  • each partition represents a rack - safe from a rack failure
  • Up to 100s of EC2 instances
  • A partition failure can affect many EC2s but not other partitions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Partition Strategy cons

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