chapter 7 Flashcards
what is Dependability of components.
A component C depends on C∗ if the correctness of C’s behavior depends on the correctness of C∗’s behavior.
what are reqs for dependability? list and describe them.
Availability - readiness to be used
Reliability - Continuity of service delivery
Safety - Very low probability of catastrophes
Maintainability - How easy can a failed system be repaired
what is Reliability R(t)?
probability that a component has been up and running continuously in the time interval [0,t)
what are the traditional metrics to measure realiability?
- Mean Time To Failure (MTTF): Average time until a component fails
- Mean Time To Repair(MTTR): Average time it takes to repair a failed component.
- Mean Time Between Failures(MTBF): MTTF + MTTR
what is Availability A(t)?
Average fraction of time that a component has been up and running in the interval [0,t)
how can we calculate Availability A(t)?
A = MTTF /MTBF = MTTF /(MTTF + MTTR )
describe faliure and give example
- May occur when a component is not living up to its specifications.
– A crashed program
describe error and give example
- Part of a component that may lead to a failure
– A programming bug
describe fault and give example
- The cause of an error
– A sloppy programmer
describe fault prevention and give example
- Prevent the occurrence of a fault
– Don’t hire sloppy programmers
describe fault tolerance and give example
- Build a component that can mask the occurrence of a fault
– Build each component by two independent programmers
describe fault removal and give example
- Reduce the presence, number, or seriousness of a fault
– Get rid of sloppy programmers
describe Fault forecasting and give example
- Estimate current presence, future incidence, and consequences of faults
– Estimate how a recruiter is doing when it comes to hiring sloppy programmers
what is a Crash failure?
Component halts, but behaves correctly before halting
what is an Omission failure?
- Failure in sending or receiving messages
– Receiving omissions: sent messages are not received
– Send omissions: messages are not sent that should have
what is a Timing failure?
- Output [ response ] is correct, but lies outside a specified interval.
– Performance failures: the component is too slow