Redis端口为什么是6379?

news/2025/2/7 20:06:20/

先介绍下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技术圈的事,反而会被广大程序员知道了。


http://www.ppmy.cn/news/412452.html

相关文章

php crontab 用户,如何以用户www-data的身份运行crontab?

问题描述 我的LAMP被设置为user:www-data,并且所有文件和文件夹都具有该权限。 我已经将crontab设置为user ubuntu。 所以我做crontab -e并使用此命令: */5 * * * * php /var/www/public/voto_m/artisan top >/dev/null 2>&1 基本上&#xff…

RGBT 对比算法 实验设置

2021-TIP-MIDDbackbone is VGG16(效果好) and ResNet50 VT821-VT1000-VT5000训练集:VT5000-TR的训练集2500做训练集 测试集:VT5000-TE,VT821,VT1000 MTMR(RGBT)(t传统方法) M3S-NIR(RGBT)(t) SGDL(RGBT)(t) ADF(RGBT) MIDD(RGBT) DMRA(RGBD) S2MA(RGBD) PFA(RGB-早期融合) R3Ne…

CTF-数据分析(七)

声明:以下CTF题均来自网上收集,在这里主要是给新手们涨涨见识,仅供参考而已。需要题目数据包的请私信或在下方留言。 13.数据包分析- SSL Sniff (来源:hack-dat-kiwi-ctf-2015) 1.关卡描述 我们收到了MIT…

Emoji.voto,Linkerd 服务网格(service mesh)的示例应用程序

一个微服务应用程序,允许用户为他们最喜欢的表情符号(emoji)投票,并跟踪排行榜上收到的投票。愿最好的 emoji 获胜。 该应用程序由以下 3 个服务组成: emojivoto-web:Web 前端和 REST APIemojivoto-emoji-svc:用于查找…

VOTO X2(16GB) root教程_方法

VOTO X2(16GB)的root教程在这里整理了一下,之前有机友说自己的手机想删除系统自带的一些无用软件,可是怎么也删除不了,所以需要先进行root才可以删除,不然的话是删除不了的,这个方法也是大家在r…

维修mats显存测试_显存检测软件Mats

显存检测软件Mats是一款非常简单好用的电脑系统硬件检测工具,它的主要作用是帮助用户进行非常快速的显卡显存相关的信息的收录抓取,让用户可以快速了解硬件配置信息,更好地掌握个人电脑! 应用简介: 显存检测软件Mats只…

GPU显存爆炸如何解决?

问题:在使用GPU训练网络时,出现RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 11.17 GiB total capacity; 134.77 MiB already allocated; 8.56 MiB free; 3.23 MiB cached),自己明明11G的显存,为啥还给…

Linux--无进程却显示占用显存,GPU显存释放方法

文章目录 一、用nvidia-smi查看对应的进程pid二、用nvidia-smi查不到对应的进程pid 参考链接: Linux–无进程却显示占用显存,GPU显存释放方法 程序结束掉,但GPU显存没有释放。 一、用nvidia-smi查看对应的进程pid nvidia-smi查看显存占用情…