Master-Slave Architecture
Updated 2026-08-10
Summary
An architecture in which one master node coordinates and decides while slave nodes execute, balancing unified command against distributed execution.
Definition
A system topology in which a master node handles coordination and decision making while one or more slave nodes carry out the work assigned to them. Its core proposition is that concentrating control in one place buys consistency and simplicity across a distributed system that needs coordination, at the price of a single point of failure and a potential bottleneck at the master. The qualifier is that the master role must be recoverable, so election or failover belongs in the design.
Introduction
How to use
- Role split: designate one master node for scheduling and coordination of the whole system. - Obedient execution: let slave nodes carry out assigned work without negotiating the plan. - Failover design: prepare an election or switchover path for when the master fails.
Mechanism
Distributed work needs a shared decision about order and assignment, and letting every node negotiate that locally produces inconsistency and overhead. A single coordinating node makes those decisions once and broadcasts them, so execution stays consistent and simple, while the same concentration means the master's failure halts coordination and can split the system.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Database master-slave replication sends writes to the master and reads to the replicas.
- Hypothetical: A traditional client-server system routes every request through one coordinating server.
Common pitfalls
- Letting the master become a bottleneck or a single point of failure for the whole system.
- Leaving slave nodes unable to take over, or ignoring the risk of a split brain during failover.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E5%AE%A2%E6%88%B7%E7%AB%AF-%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%9E%B6%E6%9E%84verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS