您现在的位置是:亿华云 > 人工智能
Redis 的默认端口为啥是 6379 ?
亿华云2025-10-08 19:11:25【人工智能】0人已围观
简介今天来聊一个有意思的话题:Redis 的默认端口为什么是 6379 呢?我之前也没有想过为什么Redis的默认端口是6379,估计是随便选的吧。然而今天偶然看到一篇帖子,原来不是随便选的,是有含义的。
今天来聊一个有意思的的端口话题:Redis 的默认端口为什么是 6379 呢?
我之前也没有想过为什么Redis的默认端口是6379,估计是为啥随便选的吧。然而今天偶然看到一篇帖子,的端口原来不是为啥随便选的,是的端口有含义的。
先介绍下redis的为啥作者Salvatore Sanfilippo(Antirez),亿华云计算意大利人,的端口就是为啥下图这位。
Antirez现在已经40多岁了,的端口依然奋斗在代码一线,为啥为开源社区做贡献。的端口Antirez出生在非英语系国家,为啥所以英语一直是的端口他的短板。他曾经写过一篇博文,为啥《英语伤痛 15 年》,的端口以自己的实际经历鼓励非英语系国家的程序员突破英语障碍。服务器托管或说回来,在他的另一篇博文《Redis as an LRU cache 》中,写到了为什么选用6379端口:
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 used 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, thats 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.
文章地址:
http://oldblog.antirez.com/post/redis-as-LRU-cache.html
用一张图片来翻译一下,6379 就是这个意思:
而Merz全名Alessia Merz,是意大利的一位广告女郎,就是下面这位:
在Antirez看来,这个名字是愚蠢的代名词,所以就选了这个6379。我觉得还是有点侮辱人啊。不过这位姑娘应该也不会关心IT技术圈的事,反而会被广大程序员知道了。香港云服务器
很赞哦!(5853)
相关文章
- 公司在注册域名时还需要确保邮箱的安全性。如果邮箱不安全,它只会受到攻击。攻击者可以直接在邮箱中重置密码并攻击用户。因此,有必要注意邮箱的安全性。
- Java多线程专题之线程与进程概述
- Python 办公自动化之 PDF 的详细操作
- 使用 Nocalhost 开发 Rainbond 上的微服务应用
- 用户邮箱的静态密码可能已被钓鱼和同一密码泄露。在没有收到安全警报的情况下,用户在适当的时间内不能更改密码。在此期间,攻击者可以随意输入帐户。启用辅助身份验证后,如果攻击者无法获取移动电话动态密码,他将无法进行身份验证。这样,除非用户的电子邮件密码和手机同时被盗,否则攻击者很难破解用户的邮箱。
- Python也许很友好,但它也容易弄得一团槽
- Spring Boot 引起的“堆外内存泄漏”排查及经验总结
- Python或R:哪种编程语言更适合数据科学?
- 公司和个人选域名方法一样吗?有什么不同?
- 程序员都知道的vuex的冷门小技巧,超好用