Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> enslave "10.0.0.2"

I know it is functionally immaterial, but boy howdy do I ever wish we'd chosen a better convention for how to refer to the relationship between these system components.



I know it is functionally immaterial

There's nothing wrong with Master/slave. We also read man pages, shove male plugs into female ports, fork and kill children, and use dozens of other odd words to describe perfectly harmless things.


"man" is at least short for "manual".

There's nothing essential about master/slave so why not just switch to primary/replica?


Because there is no reason to screw with common terminology to begin with.

Neither Master nor Slave is a derogatory word. And using the concept of slavery to describe a relationship between inanimate objects in a technical context is not an endorsement of such practices between humans.


Because the master forces the slave to do it's bidding.


But ... so what? For one thing, the metaphor doesn't have to go that way. For another, "leader/follower" captures that too.


Not if the replica is pulling changes from the primary.



I try to use 'primary' and 'replica'; but depending on who I'm talking to I find myself slipping back to the Master/Slave terminology.

And to the OP, replication is a complex process fraught with security risks. Take about 10 minutes thinking about just roles and authentication in the context of your proposed syntax and what you would need to set up ahead of time to make it work.

The current method of starting with a pg_basebackup on the replica is nearly as simple. Even if it does require that you do some minor configuration on the master. It's not nearly open heart surgery.


what you would need to set up ahead of time to make it work

Nothing except a shared secret or keypair. Other databases (rethinkdb, redis, riak etc.) show how it's done.


Let's just agree to use better words starting now.

Primary/Replica?


My proposal: muse and scribe. It's evocative and if you know the old terminology the initials are the same.


> simon says 10.0.0.2


Heroku uses "follower", which is much less jarring.


I find it's a useful heuristic for knowing whether someone can think clearly and abstractly. Kind of like the "all green birds have two heads" test.


Could you expand on that? I get the reference, but what is your heuristic?


Someone who has a problem with master/slave terminology probably can't think abstractly (in the same sense as someone who fails the all green birds have two heads test).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: