Overview - Active-passive vs active-active
What is it?
Active-passive and active-active are two ways to set up systems for high availability and fault tolerance. In active-passive, one system is active and handles all work while the other waits silently to take over if the active one fails. In active-active, multiple systems run simultaneously, sharing the workload and providing backup for each other. These setups help keep services running smoothly even if parts fail.
Why it matters
Without these setups, if a system fails, services can stop working, causing downtime and unhappy users. Active-passive ensures a backup is ready but can waste resources waiting. Active-active uses resources efficiently and improves performance but is more complex. Choosing the right setup affects reliability, cost, and user experience.
Where it fits
Learners should understand basic distributed systems and fault tolerance concepts before this. After this, they can explore specific Kafka configurations for replication and failover, and advanced topics like multi-region Kafka clusters and disaster recovery.