titty_wizard@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agoHashtag noob lifelemmy.worldvideomessage-square17fedilinkarrow-up1133arrow-down115
arrow-up1118arrow-down1videoHashtag noob lifelemmy.worldtitty_wizard@lemmy.world to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square17fedilink
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up2·10 months agoThe naming isn’t great still… I usually use ReadWrite instance and replica. I really wish we had some more concise replacement terms.
minus-squareKogasa@programming.devlinkfedilinkarrow-up7·10 months agoMain is the replacement for master for git branches, not the general master-slave pattern. Wikipedia suggests: Other replacement names include controller, default, director, host, initiator, leader, manager, primary, principal, root; and for slave: agent, client, device, performer, peripheral, replica, responder, satellite, secondary, subordinate, and worker. I usually use controller / worker if it’s a local process or controller / remote if the subordinates are on different hosts.
minus-square_edge@discuss.tchncs.delinkfedilinkarrow-up2·10 months agoI know I’m old, but never found that calling a dumb machine a slave to be problemtic. The thing is supposed to obey my orders. It’s in the code and code is law. I’m also not American and never owned slaves.
The naming isn’t great still… I usually use ReadWrite instance and replica. I really wish we had some more concise replacement terms.
Main is the replacement for master for git branches, not the general master-slave pattern. Wikipedia suggests:
I usually use controller / worker if it’s a local process or controller / remote if the subordinates are on different hosts.
I know I’m old, but never found that calling a dumb machine a slave to be problemtic. The thing is supposed to obey my orders. It’s in the code and code is law.
I’m also not American and never owned slaves.