Description
The ability of a computer, machine, electronic system or network to maintain limited functionality even when a large portion of it has been destroyed or rendered inoperative.
Where to use
- High availability.
Real World Example
If the search index is down, show 'Recent Items' list instead of a 500 error.
Code Example
class GracefulDegradation:
def __init__(self):
pass
def execute(self):
print('Executing Graceful Degradation')
