Skip to main content

Source/Replica Architecture

Learn Source/Replica Architecture (Replication, MySQL) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Introduction In MySQL replication a source (formerly master) accepts writes and records them in its binary log; one or more replicas copy that log into a relay log and apply it, keeping their data in step. Two replica threads do the work: the I/O thread fetches, the SQL (applier) thread executes.

More lessons in Replication