Leader-follower replication (or primary-secondary replication) is a data consistency strategy where a single designated leader node handles all write operations and synchronously or asynchronously propagates data changes to one or more follower nodes. This architecture centralizes write authority to maintain a single source of truth, simplifying conflict resolution. Followers serve read requests, providing horizontal scalability and fault tolerance, as a follower can be promoted if the leader fails.
