Master–slave (technology): Difference between revisions
Line 24: | Line 24: | ||
==Terminology concerns== |
==Terminology concerns== |
||
In 2003, the [[County of Los Angeles]] in [[California]] asked that manufacturers, suppliers and contractors stop using "master" and "slave" terminology on products; the county made this request "based on the cultural diversity and sensitivity of Los Angeles County".<ref name="CNN">{{cite web |date= November 26, 2003 |title= 'Master' and 'slave' computer labels unacceptable, officials say |publisher= [[CNN]] |url= http://edition.cnn.com/2003/TECH/ptech/11/26/master.term.reut/}}</ref><ref>{{Citation |title= Master/Slave |publisher= [[Snopes]] |url= http://www.snopes.com/inboxer/outrage/master.asp}}</ref> Following outcries about the request, the County of Los Angeles issued a statement saying that the decision was "nothing more than a request".<ref name=CNN /> |
In 2003, the [[County of Los Angeles]] in [[California]] asked that manufacturers, suppliers and contractors stop using "master" and "slave" terminology on products; the county made this request "based on the cultural diversity and sensitivity of Los Angeles County".<ref name="CNN">{{cite web |date= November 26, 2003 |title= 'Master' and 'slave' computer labels unacceptable, officials say |publisher= [[CNN]] |url= http://edition.cnn.com/2003/TECH/ptech/11/26/master.term.reut/}}</ref><ref>{{Citation |title= Master/Slave |publisher= [[Snopes]] |url= http://www.snopes.com/inboxer/outrage/master.asp}}</ref> Following outcries about the request, the County of Los Angeles issued a statement saying that the decision was "nothing more than a request".<ref name=CNN /> In response to the County of Los Angeles' request, [[Global Language Monitor]] found the term "master/slave" to be the most egregious example of [[political correctness|political incorrectness]] in 2004, and named it the most politically incorrect term of that year, stating: "[t]his is but one more example of the insertion of politics into every facet of modern life, down to the level of the control processes of computer technology."<ref>{{Citation |date= December 2, 2004 |title = 'Master/slave' named most politically incorrect term |publisher= Seattle PI |url= http://www.seattlepi.com/national/article/Master-slave-named-most-politically-incorrect-1161133.php |quote= The computer term "master/slave," which was banned as racially offensive by a Los Angeles County purchasing department.}}</ref> In 2018, [[Python (programming language)|Python]] replaced the term, after a heated debate. Many developers in the discussion on whether to make the replacement agreed that the term "slave" should be replaced while "master" was not offensive, while others argued that changing "slave" was also unnecessary. There was similarly contentious debate among developers when [[Django (web framework)|Django]] and [[Drupal]] (in 2014) and [[Redis]] (in 2017) replaced the term.<ref name="vice.com">{{Cite web|title='Master/Slave' Terminology Was Removed from Python Programming Language|date=September 13, 2018|url=https://www.vice.com/en_us/article/8x7akv/masterslave-terminology-was-removed-from-python-programming-language|access-date=2020-07-14|website=[[Vice.com]]|language=en}}</ref> The [[Black Lives Matter#2020|Black Lives Matter]] movement sparked that discussion again in 2020. Some have argued that the change is superficial and that companies should make real change to support the black community.<ref>{{Cite web|last=Shankland|first=Stephen|date=2020-06-10|title=Tech terms face scrutiny amid anti-racism efforts|url=https://www.cnet.com/news/master-and-slave-tech-terms-face-scrutiny-amid-anti-racism-efforts/|access-date=2020-07-06|website=CNET|language=en}}</ref><ref name="Wired">{{Cite news|title=Tech Confronts Its Use of the Labels 'Master' and 'Slave'|language=en-us|work=Wired|url=https://www.wired.com/story/tech-confronts-use-labels-master-slave/|access-date=2020-07-14|issn=1059-1028}}</ref> See also similar concerns regarding the technology term [[Blacklist_(computing)|"Blacklist"]]. |
||
In 2020, the Open Compute Project published ''Terminology Guidelines for Inclusion and Openness'' which recommends general terminology and commonly used pinout and signal names which to deprecate and suggested replacement terminology.<ref>https://www.opencompute.org/documents/ocp-terminology-guidelines-for-inclusion-and-openness</ref> |
In 2020, the Open Compute Project published ''Terminology Guidelines for Inclusion and Openness'' which recommends general terminology and commonly used pinout and signal names which to deprecate and suggested replacement terminology.<ref>https://www.opencompute.org/documents/ocp-terminology-guidelines-for-inclusion-and-openness</ref> |
Revision as of 00:50, 29 September 2021
This article may be unbalanced toward certain viewpoints. (July 2020) |
Master/slave is a model of asymmetric communication or control where one device or process (the "master") controls one or more other devices or processes (the "slaves") and serves as their communication hub. In some systems, a master is selected from a group of eligible devices, with the other devices acting in the role of slaves.[1][2][3] Historically, the master/slave terminology was first used in 1904[4], although not until the 21st century has it become a subject of controversy due to its association with slavery, and organizations and products began replacing them with alternative terms.[5][6][7]
Examples
- In electronics, master/slave relationships are used to describe some of the following scenarios:
- In parallel ATA hard drive arrangements, the terms master and slave are used to describe drives on the same cable, but neither drive has control or priority over the other.
- A master clock that provides time signals used to synchronize one or more slave clocks as part of a clock network.
- In AXI, master and slave have differing roles, with master initiating transactions and the slave responding to those transactions.
- Edge-triggered flip-flops can be created by arranging two latches (master latch and slave latch) in a master-slave configuration. It is named because the master latch controls the slave latch's value and forces the slave latch to hold its value, as the slave latch always copies its new value from the master latch.
- In database replication, the master database is regarded as the authoritative source, and the slave (also called replica) databases are synchronized to it.
- In photography, secondary or slave flash units may be synchronized to the master unit to provide light from additional directions.
- Duplication is often done with several cassette tapes or compact disc recorders linked together. Operating the controls on the master triggers the same commands on the slaves so that recording is done in parallel.
- Railway locomotives operating in multiple (for example: to pull loads too heavy for a single locomotive) can be referred to as a master/slave configuration with the operation of all locomotives in the train slaved to the controls of the first locomotive. See Multiple-unit train control.
- In automotive engineering, the master cylinder is a control device that converts force into hydraulic pressure in the brake system. This device controls slave cylinders located at the other end of the hydraulic system.
Early usages
The master/slave terminology was used in 1997 for RFC 2136, related to the domain name system. According to Paul Vixie:
"I introduced the master/slave terminology in RFC 2136, because I needed names for the roles in an AXFR/IXFR transaction, and the zone transfer hierarchy could be more than one layer deep, such that a server might initiate some AXFR/IXFR's to the "primary master" but then respond to AXFR/IXFR's from other servers. In retrospect I should have chosen the terms, "transfer initiator" and "transfer responder". However, the hydraulic brake and clutch systems in my car had "master cylinders" and "slave cylinders", and so I did not think I was either inventing a new use for the words "master" and "slave", or that my use of them for this purpose would be controversial."[8]
Said hydraulic brakes for the automotive industry were patented in 1917 by Malcolm Loughead.[9] The term "slave cylinder" was used in other patent applications including one by Robert Esnault-Pelterie, published in 1919.[10]
Terminology concerns
In 2003, the County of Los Angeles in California asked that manufacturers, suppliers and contractors stop using "master" and "slave" terminology on products; the county made this request "based on the cultural diversity and sensitivity of Los Angeles County".[11][12] Following outcries about the request, the County of Los Angeles issued a statement saying that the decision was "nothing more than a request".[11] In response to the County of Los Angeles' request, Global Language Monitor found the term "master/slave" to be the most egregious example of political incorrectness in 2004, and named it the most politically incorrect term of that year, stating: "[t]his is but one more example of the insertion of politics into every facet of modern life, down to the level of the control processes of computer technology."[13] In 2018, Python replaced the term, after a heated debate. Many developers in the discussion on whether to make the replacement agreed that the term "slave" should be replaced while "master" was not offensive, while others argued that changing "slave" was also unnecessary. There was similarly contentious debate among developers when Django and Drupal (in 2014) and Redis (in 2017) replaced the term.[14] The Black Lives Matter movement sparked that discussion again in 2020. Some have argued that the change is superficial and that companies should make real change to support the black community.[15][6] See also similar concerns regarding the technology term "Blacklist".
In 2020, the Open Compute Project published Terminology Guidelines for Inclusion and Openness which recommends general terminology and commonly used pinout and signal names which to deprecate and suggested replacement terminology.[16]
Possible replacement conventions
Different phrases have been adopted to replace existing usage of the phrase but there is little consensus. Some examples include:
- Controller/Agent
- Jenkins software project has phased out the words "master/slave" and replaced them with "controller" / "agent".[17]
- Primary/Secondary
- In December 2017, the Internet Systems Consortium decided to allow the words "primary" and "secondary" as a substitute for master/slave terminology in their DNS server software BIND.[18]
- Primary/Replica
- In May 2014, Django replaced "master/slave" with "leader/follower" in its documentation,[19] and then within two days replaced that with "primary/replica".[20][21][6] In June 2014, Drupal replaced "master/slave" with "primary/replica", drawing inspiration from Django.[22] This has also been adopted by Microsoft and Amazon Web Services/Amazon Relational Database Service.[23][24]
- Master/Replica
- The master/replica terminology was adopted by Engine Yard and Redis.[25][26]
- Source/Replica
- In July 2020, MySQL announced that it would replace "master/slave" with "source/replica" in future releases.[27] The change was made in October 2020.[28]
- Master/Standby
- The master/standby terminology was adopted by PostgreSQL.[29]
- Master/Puppet
- The master/puppet terminology was adopted by Godot Engine.[32]
- Controller/Peripheral
- In June 2020, the Open Source Hardware Association resolved to discontinue terms such as MOSI/MISO used for the SPI bus, instead opting for the acronyms COPI/CIPO, though this group is not the owner of the SPI bus specification.[33]
- Initiator/Follower
- The HDMI specification is using "Initiator" and "Follower" for the CEC communication protocol.[34]
- Main
- GitHub renamed the default branch from "master" to "main" in October 2020.[35][36] Git continues to use "master" as the default branch name for
git init
for backwards compatibility and is considering to change it in the future.[37] Some people find this replacement questionable, as "master" refers to its meaning of master copy or original rather than master/slave.[38][39][40]
- Client/Server
- The Modbus Organization replaced "Master-Slave" with "Client-Server" in July 2020.[41]
- Source/Mix
- In 2021, Adobe updated the terminology included in their Creative Cloud suite of apps, replacing "master" with "source" or "mix", or in some cases outright removing the term, even though "master" refers to the meaning of "master copy" (original) or global settings, instead of master/slave. They also replaced the term "blacklist" with "blocklist".[42]
- Main-Parent-Server/Worker-Child-Helper
- In 2018, Python replaced uses of the term "master" variously with "main", "parent", and "server"; and "slave" with "worker", "child", and "helper", depending on the context.[14][43] The Linux kernel has adopted a similar policy to use more specific terms in new code or documentation.[44]
- Master/Satellite
- AUTOSAR organization is using the terms master and satellite for inter partition communication.[45]
See also
- Advanced Technology Attachment (ATA), uses the terms master/slave for paired independent peer devices
- Communication endpoint
- Flexible single master operation
- Bus mastering
- Master clock
- Multi-master replication
- SPMD
- SCSI initiator and target
References
- ^ "Master-slave terminology alternatives you can use right now". TheServerSide.com.
- ^ Description of the Microsoft Computer Browser Service from Microsoft KnowledgeBase
- ^ "Microsoft Support". support.microsoft.com.
- ^ https://www.researchgate.net/publication/236752849_Broken_Metaphor_The_Master-Slave_Analogy_in_Technical_Literature
- ^ Ellis, Leonard (2020-06-18). "It's Time for IEEE to Retire 'Master / Slave'". EE Times. Retrieved 2020-09-26.
- ^ a b c "Tech Confronts Its Use of the Labels 'Master' and 'Slave'". Wired. ISSN 1059-1028. Retrieved 2020-07-14.
- ^ https://www.vice.com/en/article/8x7akv/masterslave-terminology-was-removed-from-python-programming-language
- ^ Re: DNSOP Question regarding RFC 8499
- ^ Loughhead, Malcolm, "Braking apparatus," U.S. Patent no. 1,249,143 (filed: 1917 January 22 ; issued: 1917 December 4).
- ^ https://patents.google.com/patent/CH94537A
- ^ a b "'Master' and 'slave' computer labels unacceptable, officials say". CNN. November 26, 2003.
- ^ Master/Slave, Snopes
- ^ 'Master/slave' named most politically incorrect term, Seattle PI, December 2, 2004,
The computer term "master/slave," which was banned as racially offensive by a Los Angeles County purchasing department.
- ^ a b "'Master/Slave' Terminology Was Removed from Python Programming Language". Vice.com. September 13, 2018. Retrieved 2020-07-14.
- ^ Shankland, Stephen (2020-06-10). "Tech terms face scrutiny amid anti-racism efforts". CNET. Retrieved 2020-07-06.
- ^ https://www.opencompute.org/documents/ocp-terminology-guidelines-for-inclusion-and-openness
- ^ "Jenkins Terminology Changes".
- ^ "ISC explanation via Twitter".
- ^ "#22667 replaced occurrences of master/slave terminology with leader/follower by fcurella · Pull Request #2692 · django/django". GitHub. Retrieved 2020-07-14.
- ^ "Fixes #22667. Replaced leader/follower terminology with primary/replica by fcurella · Pull Request #2694 · django/django". GitHub.
- ^ "Multiple databases". Django Project. Retrieved 2018-05-08.
- ^ "Replace "master/slave" terminology with "primary/replica"". Drupal.org. 2014-05-28. Retrieved 2018-04-17.
- ^ "Working with Read Replicas of MariaDB, MySQL, and PostgreSQL DB Instances – Amazon Relational Database Service". docs.aws.amazon.com. Retrieved 2018-05-08.
- ^ "Configure Database Replicas for Management Points". technet.microsoft.com. Retrieved 2018-05-08.
- ^ "Replication – Redis". redis.io. Retrieved 2020-07-13.
- ^ "Set Up Database Replication". Engine Yard Developer Center. Retrieved 2018-05-08.
- ^ Gryp, Kenny (2020-07-01). "MySQL Terminology Updates". MySQL High Availability. Retrieved 2020-07-02.
- ^ "MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.22 (2020-10-19, General Availability)". dev.mysql.com. Retrieved 2021-06-12.
- ^ "PostgreSQL: Documentation: 8.2: High Availability and Load Balancing". www.postgresql.org. Retrieved 2020-07-14.
- ^ "Configuring the Salt Minion". SaltStack Inc. Retrieved 2019-04-19.
- ^ "Update wording to remove slave and master terms, consolidate on provider/consumer". Retrieved 2020-08-12.
- ^ "Godot Engine MultiplayerAPI documentation". Retrieved 2020-10-17.
- ^ "A Resolution to Redefine SPI Signal Names". Open Source Hardware Association. 2020-06-29. Retrieved 2020-10-28.
- ^ "HDMI specification 1.4b". 2020-11-13. Retrieved 2020-11-13.
- ^ "GitHub abandons 'master' term to avoid slavery row". June 15, 2020 – via www.bbc.com.
- ^ "GitHub to replace master with main starting in October: What developers need to do now". TechRepublic.
- ^ "Regarding Git and Branch Naming". Software Freedom Conservancy. Retrieved 2020-12-04.
- ^ https://www.hanselman.com/blog/easily-rename-your-git-default-branch-from-master-to-main
- ^ https://git.github.io/rev_news/2020/07/29/edition-65/
- ^ https://mail.gnome.org/archives/desktop-devel-list/2020-June/msg00023.html
- ^ "Modbus Organization Replaces Master-Slave with Client-Server" (PDF). July 9, 2020 – via www.modbus.org.
- ^ "List of terms changed in Adobe Premiere Pro, Adobe After Effects, and Adobe Audition". helpx.adobe.com. Retrieved 2021-03-26.
- ^ "Issue 34605: Avoid master/slave terminology - Python tracker". bugs.python.org. Retrieved 2020-07-13.
- ^ Cimpanu, Catalin. "Linux team approves new terminology, bans terms like 'blacklist' and 'slave'". ZDNet.
- ^ "Guide to Multi-Core Systems" (PDF) – via www.autosar.org.