9 ms·
> Naming your clusters? Naming them after the service that runs on them is great, till the point you start running something else on them too. We ended up namin
by teddyh 7y ago
> Naming your clusters? Naming them after the service that runs on them is great, till the point you start running something else on them too. We ended up naming them with our team name.
This is covered by RFC 1178¹, Choosing a Name for Your Computer (from 1990):
Don't choose a name after a project unique to that machine.
A manufacturing project had named a machine "shop" since it was going
to be used to control a number of machines on a shop floor. A while
later, a new machine was acquired to help with some of the processing.
Needless to say, it couldn't be called "shop" as well. Indeed, both
machines ended up performing more specific tasks, allowing more
precision in naming. A year later, five new machines were installed
and the original one was moved to an unrelated project. It is simply
impossible to choose generic names that remain appropriate for very
long.
Of course, they could have called the second one "shop2" and so on.
But then one is really only distinguishing machines by their number.
You might as well just call them "1", "2", and "3". The only time
this kind of naming scheme is appropriate is when you have a lot of
machines and there are no reasons for any human to distinguish between
them. For example, a master computer might be controlling an array of
one hundred computers. In this case, it makes sense to refer to them
with the array indices.
While computers aren't quite analogous to people, their names are.
Nobody expects to learn much about a person by their name. Just
because a person is named "Don" doesn't mean he is the ruler of the
world (despite what the "Choosing a Name for your Baby" books say).
In reality, names are just arbitrary tags. You cannot tell what a
person does for a living, what their hobbies are, and so on.
1. https://tools.ietf.org/html/rfc1178#page-2 https://tools.ietf.org/html/rfc1178#page-2
- grogenaut 7y agoI find that team names change more frequently than responsibility in a large org. Also using a team name makes people assume ownership of decisions with that team. That's why I prefer service name. However I haven't thought much about shared use clusters.
- neilkakkar 7y agoWe've had the same name for the past 7 years, so going by the future estimates with no extra useful information, I expect us to have the same team name for 7 more years :P
- grogenaut 7y agoMakes things easy for you then. My company, every manager hire decides to change team names. Had a vp who used to be marketing that changed the org name like 4 times in 2 years. Cause name changes fix everything. Essentially we have a few teams / orgs with name of the week.
- neilkakkar 7y agoHaha, I had no idea. Thank you!
- stefs 7y agoin my home network i name my computers after animals, whereby the power/size of the computer roughly resembles the size of the animal. my beefy desktop may be the whale, the nas is the rhino, the notebooks are roughly dogs, the raspberry pis are small animals like mice, the chromecast is e coli. plus good: i'm never going to run out of animal names.
- teddyh 7y agoYes, this is more or less what RFC 1178 recommends: https://tools.ietf.org/html/rfc1178#page-6 https://tools.ietf.org/html/rfc1178#page-6
- zrail 7y agoI use Simpson’s bit characters. Never gonna run out of those.
- jquery 7y agoI use One Piece characters for the same reason. My most beefy PC is Monkey D. Luffy and so on. Like you, I like the whimsy in using names from a fictional world, and some worlds have more names to choose from than others.
- dillonmckay 7y agoMy first job, I named each web server off of a different Simpson’s character, all attached to a big KVM, so I customized each desktop to the character, so I could easily tell what server I was in.
- AstroJetson 7y agoSome people thought it was annoying, but the desktop picture had the character in the upper right corner. Away from the Icons, but you could glance ad see who it was and go right to it. Also have used Simpson's for test data. There is some built in structures that can be used Abe-> Homer == Marge > Bart, Maggie, Lisa. Lots of people mostly remember them.
- 7y ago
- paulsutter 7y agoLike the inevitable branch names. Main, Borg, Borgmain, etc... Or the purposes of the standard unix directories (lib, usr, opt, etc, ...)
- Spooky23 7y agoNaming standards are the ultimate bikeshedding event. Everyone has an opinion and camps develop for various schemes. The last time this happened, I happened to be in a position of influence for the final decision for naming standards. We took an approach designed to piss off everyone... license plates. We used sequential numbers prepended by a pronounceable string, and random words, selected by a system, for internal services. Overall, everyone is pretty happy with it. YMMV.
- phnofive 7y agoI have been on both the receiving and producing end of a similar decision making process whereby all stakeholders are consulted, and then a solution is provided which has as its only real design consideration - beyond being effective - that no-one gets exactly what they requested. Is there a name for this kind of anti-consensus decision making?
- Spooky23 7y agoGreat question! I wish I knew! It’s a weird scenario as people are very emotional about their chosen position during the discussion, but literally nobody gives a hoot once a decision was made. In our case, multiple organizations were merged, so the perception one camp “winning” was important to avoid.
- landhar 7y agoNot sure if there’s a name for this, but my favourite example is settling on UTC as the acronym for Coordinated Universal Time: https://en.m.wikipedia.org/wiki/Coordinated_Universal_Time#Etymology https://en.m.wikipedia.org/wiki/Coordinated_Universal_Time#E...
- yen223 7y agoISO stands for the International Organization for Standardization, for largely the same reasons.
- 7y ago
- philwelch 7y agoIf you designate your servers with numbers or meaningless identifiers instead of names, you also won't ever feel guilty about killing and replacing them. I believe this is (somewhat gruesomely) called the "pets vs. livestock" approach.
- taneq 7y agoIf you believe people can't get a little attached to "prodsys3" or whatever, then you underestimate the sentimentality of some of us. ;) Of course, the other thing you can do is name server roles rather than specific hardware, so all of your servers are immortal, Ship-of-Theseus style.
- xmprt 7y agoA farmer gets attached to his cattle but when the time comes for one of them to go (either old age, to sell the meat, or there's a newer faster cattle that management has enforced a mandatory deadline of Q3 to migrate to), it's understood that it's time to say goodbye.
- cortesoft 7y agoYeah, I work for a CDN with tens of thousands of machines, and I still miss wac052.mad when we decommmed that POP 5 years ago.
- sergiosgc 7y agoprodsys3 pales in comparison to when I had to decommission gandalf and galadriel. Now when name them by physical position in the rack/bladecenter.
- Spoom 7y agoAt least the memes write themselves.
- D-Coder 7y agoAt one job, the servers were named after characters on Gilligan's Island. Problems with Ginger were being discussed at one stand-up, and an engineer who didn't care about that quietly said, "Blah blah blah Ginger, blah blah blah Ginger." I almost fell over laughing. (https://desertdemocrat.files.wordpress.com/2015/03/gary-larson-far-side-cartoon-what-we-say-to-dogs-blah-blah-ginger.jpeg https://desertdemocrat.files.wordpress.com/2015/03/gary-lars...)
- rileymat2 7y agoI am not understanding why the machine name could not be changed when it's purpose changed? Is an immutable name unique to that environment?
- tolien 7y agoBecause you'd probably also change the SMB or DNS name for the machine when you rename it, and that opens a can of worms where you try to work out what's using that reference and change everything that matters. Now renaming the machine is a multi-day thing involving configuration changes (and that assumes it's not hard coded anywhere) to a whole bunch of software; inevitably you'll miss some and it'll break. Easier not to bother.
- cortesoft 7y agoIf something else is still referencing the old machine, it means you aren't changing its purpose but only adding to it. I would imagine a change of purpose would normally be a reprov.
- jolmg 7y agoChanges can be gradual. I know a server that was named after a single service the machine was set-up for. Then later across a span of time, more services needed to be added. They're unrelated services, but circumstances necessitated them being installed on this server. Then even later, the original service ceased to be used and was shut-down. Changing the name might imply changing references in other services that make reference to this server for the current services that are still running. It might also imply changing bookmarks in the machines of the users of the services still running on this server. The bookmarks are a concern because many users don't know how to do anything with bookmarks other than clicking on them, so you can't depend on them understanding how to edit the URLs of these bookmarks. Yes, that's depressing.
- deleted 7y ago[deleted]
- 7y ago
- rootusrootus 7y agoAt the last place I worked at (a smaller ISP) we were a little spastic with our naming schemes. Sometimes boring -- web-1, web-2, web-3, web-4, ... and sometimes more entertaining -- we named a cluster of content filtering servers after porn stars (sindee, etc). Now everything is a VM so I'm back to naming "servers" by their function because I don't really need to worry about them being multifunction or evolving.
- lonelappde 7y agoIt's sad to see in the current century that a group of erstwhile professionals jump to "porn stars".
- pbourke 7y agoWhy is this being downvoted? It is highly inappropriate to do this in a work context.
- Joof 7y agoMaybe. But they were doing web filtering, so I get it.
- arpa 7y agoSome people work in porn hub, and some in the mormon church. Of course the culture will differ. I, personally, would rather work for the pornhub than the mormons purely due to ethical reasons.
- pbourke 7y agoThe example that cited upthread (a smaller ISP) had nothing to do with either of those examples, which are both extremes in terms of corporate culture. Naming your servers after porn stars is the digital equivalent of having pin ups in your auto shop. Can you not see how this creates a hostile work environment for some employees? It’s inappropriate, unprofessional and unnecessary. I shouldn’t even need to footnote this by saying that I don’t care whether someone enjoys porn in their personal life. If the business is not about porn, porn shouldn’t be a topic in the business.
- one-punch 7y agoThere is a cute name for, er, the two ways of naming systems: pets naming vs cattle naming [1]. I think naming after services is like pet naming, while naming them by numbers is like cattle naming. Pets Service Model In the pets service model, each pet server is given a loving names like zeus, ares, hades, poseidon, and athena. They are “unique, lovingly hand-raised, and cared for, and when they get sick, you nurse them back to health”. You scale these up by making them bigger, and when they are unavailable, everyone notices. Examples of pet servers include mainframes, solitary servers, load balancers and firewalls, database systems, and so on. Cattle Service Model In the cattle service model, the servers are given identification numbers like web-01, web-02, web-03, web-04, and web-05, much the same way cattle are given numbers tagged to their ear. Each server is “almost identical to each other” and “when one gets sick, you replace it with another one”. You scale these by creating more of them, and when one is unavailable, no one notices. Examples of cattle servers include web server arrays, no-sql clusters, queuing cluster, search cluster, caching reverse proxy cluster, multi-master datastores like Cassandra, big-data cluster solutions, and so on. [1] https://medium.com/@Joachim8675309/devops-concepts-pets-vs-cattle-2380b5aab313 https://medium.com/@Joachim8675309/devops-concepts-pets-vs-c...
- galaxyLogic 7y agoIsn't Cloud-Computing something that should make it unnecessary to name individual computers?
- pmiller2 7y agoHow do you make a service call or ssh into a machine without a name?
- scarface74 7y agoIP Address. We have “servers” that get created and destroyed nightly based on how many items are in the queue. All of our web servers are behind autoscaling groups. Even the ones where we have a min/max of 2. If it doesn’t respond to a health check it gets killed and another one is brought up. Ideally, none of our servers are special.
- Ao7bei3s 7y agoYou don't. Stop thinking in machines. Your code doesn't directly call a service, you'd use a service discovery framework (eg AWS Cloud Map) to lookup a location that can handle a particular type of request. It doesn't even matter to the caller whether the request is handled by an instance (eg EC2), a container (eg Fargate), or a function (eg Lambda). End user requests are handled by an application loadbalancer (eg ELB) that accepts the requests and routes them to an available location, which again doesn't need to be any particular machine (and it can also spawn/destroy instances as needed) or type. With serverless computing (eg AWS Lambda), there's not even machine for you to SSH into, the cloud takes care of executing functions "somewhere" to handle your work. Work could mean serving an HTTP request - however there doesn't even need to be a client making a call; the lambda could e.g. run in response to an event on an S3 bucket. Of course AWS can also handle your pets; ie you can name your EC2 instances (and either manage DNS outside, or use Route 53 to let AWS handle it). But that's not what AWS is about; there are way cheaper options for vServers. And of course there are real computers below this, and DNS is being used in the middle of this (with auto-generated names that you don't care about). But you don't deal with that.
- 7y ago
- shagie 7y agoThe thing I found when naming things was to have as much information packed in the first syllable in a way that was reinforced by all the remaining syllables (that becomes more important when there are a variety of accents in the workplace). One set of systems I worked on, a team had names based on islands. Two of the test machines were Trinidad and Tobago. Upon hearing the first syllable, it was clear that these were the test machines. Every additional bit beyond tri or tƏ was distinct and reinforcing that the first bit was heard correctly. They also had boring names like dc2f1a3r1s4 and foo-test1 (depending on who was interested in the machine). The problem that I've found with names like asfcap1234 is that one has to listen to every piece of information and remember it to properly identify the machine. With every character being important and distinct, there isn't any reinforcement or mnemonic checksum to make sure you've got it right. I will note that this is from the era of servers (and even before VMs started being the thing). It is very true that once humans no longer reference the machines by name, the ability to name them becomes less important. As a counterpoint to RFC 1178, consider RFC 2100 - The Naming of Hosts https://tools.ietf.org/html/rfc2100 https://tools.ietf.org/html/rfc2100
- bluedino 7y agoThe only machine we have that's not named poorly, is named DP2950. It was originally a Dell PowerEdge 2950, and we probably had more than one back then, so maybe it wasn't a great name. Everything else is named based on it's purpose. www, webapps, data, acccounting, mail, things like that. But, mail is actually named mailV3 (it's the third hardware the mail server has been on). Why it wasn't just named mail, and if the old one was kept around, it could be mail-old, I don't know. Then we have our development servers. devel, develv2, www-devel, that kind of stuff. I'd personally prefer devel-whatever the name of the production version is called. Instead we have to thing 'develv2 is actually the development version of dp2950....'
- inimino 7y ago> Why it wasn't just named mail, and if the old one was kept around, it could be mail-old, I don't know. Probably because mail system hostnames end up hardcoded in configuration files all over the place, and it's easier to add one and mirror onto it than to migrate the hardware while keeping the name.
- kristopolous 7y agoNames are an opportunity for fun. Call that old server PersistentSnail, or some old fashioned name like Myrtle. Make naming a reason to smile.
- pure-awesome 7y ago> It is especially tempting to name your first computer after yourself, but think about it. Do you name any of your other possessions after yourself? No. Your dog has its own name, as do your children. If you are one of those who feel so inclined to name your car and other objects, you certainly don't reuse your own name. Otherwise you would have a great deal of trouble distinguishing between them in speech. a) I am, in fact, named after my father. b) This does, indeed, cause trouble for other people trying to differentiate us.
- teddyh 7y ago“We named the dog ‘Indiana’!”
- jaggederest 7y agoFor some reason nobody liked my norse pantheon names. Teaching people to spell yggdrasil correctly in order to get a database connection is fun. For some values of fun.
- pure-awesome 7y agoDwarf Fortress values of Fun.
- dotancohen 7y ago> Nobody expects to learn much about a person by their name. This is wrong. If I tell you that I just hired a mathematician, a farmhand, and a nurse, you could probably guess which person was which when I introduce you to Vladimir, Jebbediah, and Sofia. Names are a reflection of culture, and certain cultures tend towards certain professions. No politically-correct dreams will change that unless we instill a universal monoculture throughout the world. I'm sure that Disney and Coca Cola would love that, but most people would probably prefer to protect their heritage and culture.
- teddyh 7y ago> Names are a reflection of culture, and certain cultures tend towards certain professions. They key word there is “tend”. Since it’s not an absolute, it would be unfair and ultimately disadvantageous of anyone to pre-judge individual people based on their name, since it is not a guarantee.
- username90 7y agoBranch prediction is a very good optimization though, you'd lose quite a lot if you forbade people from using it.
- teddyh 7y ago> you'd lose quite a lot if you forbade people from using it. We do forbid it, though: https://en.wikipedia.org/wiki/List_of_anti-discrimination_acts https://en.wikipedia.org/wiki/List_of_anti-discrimination_ac... It seems that we have decided as a society that we gain more from the cumulative effect of all people gaining a equal and fair chance, than we would save by allowing people to use whatever branch predictors they like. It looks like branch predictors in general tend to have unforeseen problems; see also https://en.wikipedia.org/wiki/Spectre_(security_vulnerability) https://en.wikipedia.org/wiki/Spectre_(security_vulnerabilit...
- m90 7y agoI think your example rather exemplifies what kind of cliches "Disney and Coca Cola" have established. This kind of role models is the universal monoculture, not a nurse called Vladimir.