SlideShare a Scribd company logo
1 of 13
Patterns For
Fault Tolerant Software

4.1 Units of Mitigation
์ž‘์„ฑ์ž | ๊ณ ์ƒ์› | 2013.06
Question
How can you keep the whole system from being
unavailable when an error occurs?

2
Architectural Patterns
Units of Mitigation
Decide what the units of fault tolerance will be during the architecture phase.

3
Four Phases of Fault Tolerance
- Error Detection
- Error Recovery
- Error Mitigation
- Fault Treatment

4
This pattern is..
- Design level activity
- Identify the units of error detection and error processing

5
How to..
โ€ข Divide the system into parts that will contain both any
errors and the error recovery.
โ€ข Choose the divisions that make sense for your system.
โ€ข Design the rest of system around these parts that
represent the basic units of error mitigation

6
Four Phases of Fault Tolerance
- Error Detection
- Error Recovery
- Error Mitigation
- Fault Treatment

7
The Units of Mitigation are...
์ž˜ ์ •์˜๋œ ๋ช…ํ™•ํ•œ ์ธํ„ฐํŽ˜์ด์Šค
Atomic actions ์„ ํฌํ•จ
์‹œ์Šคํ…œ์˜ ๊ฐ ๋ถ€๋ถ„์€ ์„œ๋กœ ๋ช…ํ™•ํ•˜๊ฒŒ ๊ตฌ๋ถ„ ๊ฐ€๋Šฅ
ํ•œ ๊ฐ€์ง€ Design Problem
Runtime entities

8
The Units of Mitigation are...
๋Œ€์นญ๊ตฌ์กฐ์ด๊ฑฐ๋‚˜ ์ด์ƒ์ ์ธ ํฌ๊ธฐ๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์Œ
๊ธฐ๋Šฅ์ ์œผ๋กœ ๊ตฌ๋ถ„๋œ ์‹œ์Šคํ…œ์˜ ๋ถ€๋ถ„ = Good units of mitigation
์œ ์‚ฌํ•œ ๊ธฐ๋Šฅ์˜ ๋ฌถ์Œ = Good units of mitigation
One Processor and Clear boundaries of memory
์‹œ์Šคํ…œ์„ ๋ถ„ํ• ํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์Œ

9
The Units of Mitigation are...
๊ฐ์ง€๋Š” ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ, ์ฒ˜๋ฆฌ๊ฐ€ ์•ˆ๋˜๋ฉด ๋„ˆ๋ฌด ์ž‘๋‹จ ์†Œ๋ฆฌ
์™ธ๋ถ€์—์„œ ๋„˜์–ด์˜ค๋Š” ์—๋Ÿฌ๋Š” ๋ง‰๊ณ , ๋‚ด๋ถ€์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ๋Š” ์žฌ๋นจ๋ฆฌ ๊ฐ์ง€
์ธ์ง€ ๊ฐ€๋Šฅํ•œ ์‹œ์Šคํ…œ์˜ ์š”์†Œ(์ด๋ฆ„๋„ ์ง€์–ด์ฃผ์ž)

10
Common Approach
Whole System

Smaller units of mitigation
than the entire system

Breakdown
The basic unit

11
Architectural Pattern Language Map

12
Thank you.

13

More Related Content

Similar to Unit of Mitigation

Component configurator
Component configuratorComponent configurator
Component configurator
scor7910
ย 

Similar to Unit of Mitigation (7)

Component configurator
Component configuratorComponent configurator
Component configurator
ย 
์†Œํ”„ํŠธ์›จ์–ด ์•„ํ‚คํ…์ฒ˜
์†Œํ”„ํŠธ์›จ์–ด ์•„ํ‚คํ…์ฒ˜์†Œํ”„ํŠธ์›จ์–ด ์•„ํ‚คํ…์ฒ˜
์†Œํ”„ํŠธ์›จ์–ด ์•„ํ‚คํ…์ฒ˜
ย 
์ž๋™ํ™”๋œ Test Case์˜ ํšจ๊ณผ
์ž๋™ํ™”๋œ Test Case์˜ ํšจ๊ณผ์ž๋™ํ™”๋œ Test Case์˜ ํšจ๊ณผ
์ž๋™ํ™”๋œ Test Case์˜ ํšจ๊ณผ
ย 
Fault Tolerance ์†Œํ”„ํŠธ์›จ์–ด ํŒจํ„ด
Fault Tolerance ์†Œํ”„ํŠธ์›จ์–ด ํŒจํ„ดFault Tolerance ์†Œํ”„ํŠธ์›จ์–ด ํŒจํ„ด
Fault Tolerance ์†Œํ”„ํŠธ์›จ์–ด ํŒจํ„ด
ย 
Fault Tolerance ํŒจํ„ด
Fault Tolerance ํŒจํ„ด Fault Tolerance ํŒจํ„ด
Fault Tolerance ํŒจํ„ด
ย 
์žฅ์•  ๊ด€๋ฆฌ ๋ฐฉ์•ˆ
์žฅ์•  ๊ด€๋ฆฌ ๋ฐฉ์•ˆ์žฅ์•  ๊ด€๋ฆฌ ๋ฐฉ์•ˆ
์žฅ์•  ๊ด€๋ฆฌ ๋ฐฉ์•ˆ
ย 
[EVA] 4.9 Escalation - Patterns for Fault Tolerant Software
[EVA] 4.9 Escalation - Patterns for Fault Tolerant Software[EVA] 4.9 Escalation - Patterns for Fault Tolerant Software
[EVA] 4.9 Escalation - Patterns for Fault Tolerant Software
ย 

Unit of Mitigation

  • 1. Patterns For Fault Tolerant Software 4.1 Units of Mitigation ์ž‘์„ฑ์ž | ๊ณ ์ƒ์› | 2013.06
  • 2. Question How can you keep the whole system from being unavailable when an error occurs? 2
  • 3. Architectural Patterns Units of Mitigation Decide what the units of fault tolerance will be during the architecture phase. 3
  • 4. Four Phases of Fault Tolerance - Error Detection - Error Recovery - Error Mitigation - Fault Treatment 4
  • 5. This pattern is.. - Design level activity - Identify the units of error detection and error processing 5
  • 6. How to.. โ€ข Divide the system into parts that will contain both any errors and the error recovery. โ€ข Choose the divisions that make sense for your system. โ€ข Design the rest of system around these parts that represent the basic units of error mitigation 6
  • 7. Four Phases of Fault Tolerance - Error Detection - Error Recovery - Error Mitigation - Fault Treatment 7
  • 8. The Units of Mitigation are... ์ž˜ ์ •์˜๋œ ๋ช…ํ™•ํ•œ ์ธํ„ฐํŽ˜์ด์Šค Atomic actions ์„ ํฌํ•จ ์‹œ์Šคํ…œ์˜ ๊ฐ ๋ถ€๋ถ„์€ ์„œ๋กœ ๋ช…ํ™•ํ•˜๊ฒŒ ๊ตฌ๋ถ„ ๊ฐ€๋Šฅ ํ•œ ๊ฐ€์ง€ Design Problem Runtime entities 8
  • 9. The Units of Mitigation are... ๋Œ€์นญ๊ตฌ์กฐ์ด๊ฑฐ๋‚˜ ์ด์ƒ์ ์ธ ํฌ๊ธฐ๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์Œ ๊ธฐ๋Šฅ์ ์œผ๋กœ ๊ตฌ๋ถ„๋œ ์‹œ์Šคํ…œ์˜ ๋ถ€๋ถ„ = Good units of mitigation ์œ ์‚ฌํ•œ ๊ธฐ๋Šฅ์˜ ๋ฌถ์Œ = Good units of mitigation One Processor and Clear boundaries of memory ์‹œ์Šคํ…œ์„ ๋ถ„ํ• ํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์Œ 9
  • 10. The Units of Mitigation are... ๊ฐ์ง€๋Š” ํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ, ์ฒ˜๋ฆฌ๊ฐ€ ์•ˆ๋˜๋ฉด ๋„ˆ๋ฌด ์ž‘๋‹จ ์†Œ๋ฆฌ ์™ธ๋ถ€์—์„œ ๋„˜์–ด์˜ค๋Š” ์—๋Ÿฌ๋Š” ๋ง‰๊ณ , ๋‚ด๋ถ€์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ๋Š” ์žฌ๋นจ๋ฆฌ ๊ฐ์ง€ ์ธ์ง€ ๊ฐ€๋Šฅํ•œ ์‹œ์Šคํ…œ์˜ ์š”์†Œ(์ด๋ฆ„๋„ ์ง€์–ด์ฃผ์ž) 10
  • 11. Common Approach Whole System Smaller units of mitigation than the entire system Breakdown The basic unit 11