Non-functional System Characteristics Flashcards
Name all the non-functional requirements
- Availability
- Reliability
- Scalability
- Maintainability
- Fault tolerance
Define availability
% of time a service or infrastructure is accessible to clients and operating under normal conditions
Availability equation
A = (total time - downtime) / total time
Does availability include planned down time?
No
Describe amount of downtime for 1-9, 2-9, 3-9, 7-9s
36.5 days, 3.65 days, 9h, 3s
Define reliability
Describes how a service performs until varying conditions. Probability that a service will perform its functions for specified time.
What are the two reliability metrics and their equations?
- MTBF - mean time between failures
- (total elapsed time - downtime) / # failures
- higher is better - MTTR - mean time to repair
- total maintenance time/# repairs
- lower is better
What constitutes SLA/ SLO?
Availability (time lost)
Reliability (freq and impact of failures)
Is reliability a function if availability?
No
Is availability a function of reliability?
Yes
Describe the two ways of scaling in scalability.
- Vertical scaling or scaling up
- add extra capabilities to existing device for single huge server - Horizontal scaling or scaling out
- increase number of machines in the network in a distributed manner
- system now works with many nodes
What are the three requirements of maintainability?
- Operability - ease with which we can ensure smooth ops under normal conditions and normal ops during failures
- Lucidity - simplicity of code
- Modifiability - ability to integrate modified or new features
Define maintainability and it’s metrics
Probability system will restore functions within a specified time of fault occurrence. Use MTTR, as low as possible
What’s the difference between maintainability and reliability?
Reliability = MTTR + MTBF
Maintainability = MTTR only
Define fault tolerance
Systems ability to execute persistently even if one or more components (HW/SW) fails. Need to avoid single point of failures by ensuring data safety and avoiding expensive recalculations.