Scaling

Active–Passive

Description

One node is active, others are on standby waiting for a failure to take over.

Where to use

  • Disaster Recovery.

Real World Example

Primary server runs. Secondary server is off/idle until Primary fails.

Code Example

class Active–Passive:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing Active–Passive')