社区编辑申请
注册/登录
Redis 的默认端口为啥是 6379 ?
存储 存储软件 Redis
今天来聊一个有意思的话题: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, 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.

文章地址:

http://oldblog.antirez.com/post/redis-as-LRU-cache.html

用一张图片来翻译一下,6379 就是这个意思:

而Merz全名Alessia Merz,是意大利的一位广告女郎,就是下面这位:

在Antirez看来,这个名字是愚蠢的代名词,所以就选了这个6379。我觉得还是有点侮辱人啊。不过这位姑娘应该也不会关心IT技术圈的事,反而会被广大程序员知道了。

责任编辑:武晓燕 来源: Python运维圈
相关推荐

2022-05-31 08:04:03

Redis高可用集群

2022-05-31 09:01:44

RedisRDBAOF

2022-04-29 15:24:53

Redis存储慢查询

2022-05-16 07:35:21

Windows远程桌面远程服务器

2022-06-14 14:18:46

架构秒杀高并发

2022-06-28 08:37:07

分布式服务器WebSocket

2022-06-28 12:35:21

DockerPython

2022-06-23 09:22:57

Vue技巧前端

2022-06-28 12:14:02

DockerLinux

2022-06-18 09:26:00

Flink SQLJoin 操作

2022-06-30 06:53:32

QQ泄露密码

2022-06-13 14:58:19

系统案例

2022-06-12 15:15:32

Linux交换机

2022-06-21 09:26:21

Shell脚本JavaScript

2022-06-07 14:31:09

K8S网络模型容器网络

2022-05-30 15:21:27

Hi3861TCP通信

2022-05-30 07:36:54

vmstoragevmselect

2022-06-14 11:01:48

SpringBootTomcatUndertow

2022-06-05 08:12:56

LinuxLinux Lite浏览器

2020-01-10 15:42:13

SpringBootRedis数据库

编辑推荐

这些主流分布式存储系统,你都知道吗?关于分布式存储,这是你应该知道的(图文详解)再谈Raid 5和Raid 6的写性能差异ECC内存和普通内存有什么区别,有必要买ECC内存吗云存储技术的原理是什么?百度网盘技术原理分析
我收藏的内容
点赞
收藏

51CTO技术栈公众号