by kickopotomus · 6y ago · 0 comments
Master/slave are pretty commonly used terms whenever we talk about things like distributed systems and communication buses. Essentially everywhere that one process, controller, computer, etc. is meant to have authority or control over some other entity or entities, this is often described as a master-slave relationship.
However I have always felt that the word “slave” (as the counterpart to master) was/is a mistake. It seems to be a relic of the past where people weren’t really thinking through the terminology they chose.
More modern approaches typically use other word pairs, like master/minion, sever/client, active/backup, master/agent, etc. Different pairs are chosen that better describe the relationships, and I suspect those choices were made, at least in some way, to avoid using the term “slave”.
But in this case, there's not even a slave branch.
I suppose this is something I don't understand. How do terms become trivial when used in separate contexts? They are simply descriptive terms. Furthermore, from an etymological standpoint, the term "master" has been used to signify preeminence since the 13th century. E.g. master's degree, master-key, master copy, etc. This is the meaning that seems more applicable to a version control system.
But I'll try to provide some insight into the argument specifically regarding master and slave used together.
> How do terms become trivial when used in separate contexts? They are simply descriptive terms.
This is where I think you are incorrect. Master and slave are not simply descriptive terms. Pretty obviously, they are an analogy, just like, for example, male and female plugs. The point of analogies is that they use existing relationships to describe new relationships, so that understanding the new relationships is easier.
So I think the issue for some people is that in master/slave architectures, the master node neither brutally beats the slave nodes nor justifies its power through a theory of racial superiority. Maybe a more accurate analogy would be that one node is the leader and the others are the followers. Maybe we should only use the master/slave in situations which are actually comparable to the historic instances of chattel slavery. Plus, an updated analogy can better serve the purpose of describing relationships. In the context of databases, for example, primary/replica or master/replica are IMO both much better analogies than master/slave.
Sure you can argue they are simply descriptive terms. But if that's the case, why did engineers choose existing terms in the first place?