MySQL master slave replication is pull, push or both? I encountered this question in the interview. Are there any authoritative references?
I looked it up on the Internet but didn't find the right answer. Thanks in advance.
MySQL master slave replication is pull, push or both? I encountered this question in the interview. Are there any authoritative references?
I looked it up on the Internet but didn't find the right answer. Thanks in advance.
The answer lies in how replication works for MySQL db …
The way it works is that all the DML operations (read insert update) will be done to master node (leader) and these changes are read (requested) by slave participants using bin log.
This concludes that MySQL replication is a push based mechanism.