3 ms·
This is probably out of left field, but what is the benefit of having a naming scheme for nodes without any delimiters? Reading at a glance and not knowing the
by usrme 2y ago
This is probably out of left field, but what is the benefit of having a naming scheme for nodes without any delimiters? Reading at a glance and not knowing the region name convention of a given provider (i.e. Hetzner), I'm at a loss to quickly decipher the "<region><zone><environment><role><number>" to "euc1pmgr1". I feel like I'm missing something because having delimiters would make all sorts of automated parsing much easier.
- BillFranklin 2y agoQuicker to type and scan! Though I admit this is preference, delimiters would work fine too. Parsing works the same but is based on a simple regex rather than splitting on a hyphen. euc=eu central; 1=zone/dc; p=production; wkr=worker; 1=node id
- usrme 2y agoThanks for getting back to me! Now that you've written it out, it's plainly obvious, but for me the readability and flexibility of delimiters beats the speed of typing and scanning. Many a times I've been grateful that I added delimiters because then I was no longer be hamstrung by any potential changes to the length of any particular segment within the name.
- adastra22 2y agoYou can more easily double-click-select the full hostname when there are no delimiters.
- stackskipton 2y agoYea, not putting in delimiter and then us having to change our format has bitten me so many times. Delimiter or bust.
- o11c 2y agoYou can treat the numeric parts as self-delimiting ... that leaves only the assumption that "environment" is a single letter.