Redis为什么使用6379作为默认端口

/ 0评 / 0

Redis作者Antirez在他的文章附录中做了解释,文章链接:http://oldblog.antirez.com/post/redis-as-LRU-cache.html

这里我稍微翻译一下:

今天我在Twitter上看到了一条有效记住Redis端口技巧的推文,Redis端口号6379,在手机键盘上输入是MERZ。 

这听起来不是巧合吗?实际上不是,因为MERZ我才选择了6379,而不是反过来。

一切都始于意大利秀女郎Alessia Merz查看一下这些照片(工作不宜))。 

我和朋友们习惯自己造梗,20年或25年前就一直这样。我们从10年前开始一直用“merz”这个形容词,但是这个词的意思在这时间中发生了很大改变。

最开始使用这个词是因为:秀女郎(Alessia Merz)在意大利TV上陈述的愚蠢观点让我们十分开心。所以当有些东西表现的愚蠢的时候我们开始用“MERZ”,“嘿,那是merz!” 等等。但过了段时间,它的意思变为愚蠢的毫无意义的事情,但非常显技术水平,或具有让人佩服的技能和耗费大量时间耐心的工作,但仍然......愚蠢。

例如:通为了绘制家乡的3D地图,拿着GPS和一辆破车整晚上的进行数据采样;或者分析了大量的彩票数据来寻找偏差,但是我们完全知道自己永远不会花费一分钱。“merz”的基本意思是…黑客价值,但它不仅仅指事物也包括人,人通过一种有趣的方式去干一件事情只是为了黑客价值,或是为了好玩。

因此,当我必须为Redis选择一个端口号时我没有任何纠结,无论MERZ在手机上的号码是多少,都是Redis的端口号。

原文:

Appendix: how to remember the Redis port number

Today on Twitter I saw a tweet related to the ability to remember the Redis port number. There is a trick, the Redis port number, 6379, is MERZ at the phone keyboard. 

Is it a coincidence that it sounds not random enough? Actually not 😉 I selected 6379 because of MERZ, and not the other way around. 

Everything started with Alessia Merz, an Italian Showgirl (make sure to check some (not safe for work) photo as well). 

I and my friends are make sure tomake sure tomake sure to create our own slang, that is evolving since... 20 or 25 years. Well one adjective that we use consistently since 10 years is "merz", but the meaning of the word changed so much in the course of the time. 

Initially it started because we were really delighted by the stupidity of the sentences that the showgirl was able to state in the italian TV. So we started using "MERZ" when something was... stupid. "Hey, that's merz!". And so forth. But then with some time the meaning shifted in something stupid as pointless, but with very technical value, or with an impressive amount of skills and patience and work involved, but still... stupid. 

For instance creating a 3D map of your hometown by sampling the points with a GPS and a broken car going around for the whole night, or analyzing tons of lottery data searching for biases, perfectly knowing that we'll never spend a single penny in a lottery ticket anyway, and so forth. "Merz" basically means... hack value, but is also referred to people not just things, people that act in a funny way just for hack value, or to be fun, and so forth. 

So when I had to pick a port number for Redis I had no troubles, whatever number MERZ was at the phone, it was the Redis port number.

评论已关闭。