HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    系统与基础设施interdb.jp编辑精选

    PostgreSQL 内部原理

    The internals of PostgreSQL

    5次上首页
    8年跨度
    1,742累计得分
    176条评论

    2017 — 2025,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    《The Internals of PostgreSQL》是一本免费在线书籍,系统讲解 PostgreSQL 的内部实现,包括查询处理、并发控制、WAL、缓冲区管理等核心机制。它多年来反复登上 Hacker News 首页,被广泛视为学习数据库内部原理的优质资料。

    为什么经久不衰:PostgreSQL 应用广泛但内部文档稀缺,这本持续更新的开源书籍填补了空白,无论何时想深入理解数据库实现都值得一读。

    关键词 PostgreSQL数据库内部原理开源书籍并发控制

    HN 评论精选

    推荐补充阅读 POSTGRES 早期设计论文

    Stonebraker 等人写的论文《The Design of POSTGRES》非常值得一读。虽然其中提到的 POSTQUEL 等内容已过时,但读到可扩展 ADT 系统等开创性特性的早期设计,在那个年代还是创新之举,至今仍很有意思。

    elvinyung查看英文原文

    A really cool paper to read is The Design of POSTGRES [1] by Stonebraker et al. It's dated by its mentions of things like POSTQUEL, but it's still really interesting to read about the early design of seminal features like the extensible ADT system, from a time when it was still innovative. 1: http://db.cs.berkeley.edu/papers/ERL-M85-95.pdf

    对比 MySQL 查询缓存的缺陷,称赞 PostgreSQL 设计合理

    从我能看出的部分来说,PostgreSQL 的结构很合理,至少看起来比 MySQL 好。我听说过的 MySQL 最糟糕的一点是:如果运行完全相同的 SQL 文本,它会直接从缓存取结果;哪怕只改了措辞,即使返回完全相同的数据也会绕过缓存。而 PostgreSQL 是让行数据直接变成内存页,查询结果已在内存就从内存取,否则从磁盘取,不用操心第二次查询时多打了个空格之类的问题。

    combatentropy查看英文原文

    I would like to read through this when I'm not so tired. Thank you! From what I can tell, PostgreSQL is sensibly structured. At least, it seems better than MySQL. The hackiest thing I have heard so far about MySQL is that if you run the exact same SQL text more than once, it will fetch the result from cache. If you run a differently worded query, it will skip the cache, even if the query were to bring back the exact same data. This is different than what I remember about PostgreSQL (correct me if I'm wrong). I remember reading in some book that PostgreSQL just let its rows become memory pages, and if a query resulted in data already in memory, then it got it from memory, otherwise it got it from disk. No need to make sure you didn't insert a space or something into your query the second time.

    PostgreSQL 透明开放,不像 Oracle 充满黑盒

    这正是我喜欢 PostgreSQL 的地方:关于这个数据库的一切你都能查到。Oracle 就很离谱——它有上千个隐藏参数,对其 CBO 做查询调优近乎玄学,而且可能在版本更新之间就发生变化。PostgreSQL 则完全没有这些限制。

    chris_wot查看英文原文

    This is the thing I love about PostgreSQL, you can find out everything about the database. Oracle is ridiculous - they have something of the range of over a thousand hidden parameters, query tuning their CBO is somewhat of a black art and can change between point releases, and leads to articles like the following: http://www.dba-oracle.com/art_so_undoc_parms_p2.htm PostgreSQL, however, has none of these limitations.

    推荐 Christophe Pettus 的 Postgres 入门演讲

    这让我想起一句话:'Postgres 易于安装、管理、维护和使用……只需要一点点入门指引。这就是那份指引。'——Christophe Pettus 在 PyCon 2014 的演讲《PostgreSQL Proficiency for Python People》。

    vordoo查看英文原文

    Reminded me that "Postgres is easy to install, administer, maintain, and use... with just a little bit of orientation. This is that orientation." Christophe Pettus: PostgreSQL Proficiency for Python People - PyCon 2014. https://www.youtube.com/watch?v=0uCxLCmzaG4

    历次讨论

    同类还值得读

    1. TTY 揭秘(2008)

      The TTY demystified (2008)

      经典文章深入剖析了 Unix/Linux 中 TTY 子系统的工作原理,包括线路规程、终端驱动、信号与控制字符等机制。

      系统与基础设施上首页 11 次 · 2009–2025linusakesson.net编辑精选
    2. 为什么 GNU grep 这么快

      Why GNU grep is Fast

      FreeBSD 邮件列表上一篇广为流传的帖子,解释 GNU grep 为什么快:核心在于 Boyer-Moore 字符串搜索算法配合精心优化的内部循环和 I/O,让程序在搜索时“…

      系统与基础设施上首页 9 次 · 2010–2022lists.freebsd.org
    3. Xplain:为普通人讲解 X11

      Xplain – Explaining X11 for the rest of us

      《Xplain》是作者(HN 用户 Jasper_)写的一系列 X11 长文,用他在浏览器中重建的 X11 绘图模型做交互演示,讲解 X11 的绘图模型与窗口系统设计。

      系统与基础设施上首页 6 次 · 2013–2020magcius.github.io编辑精选
    4. 旋风教程:为 Linux 创建极小 ELF 可执行文件(1999)

      A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux (1999)

      breadbox 写于 1999 年的经典教程,主题是如何为 Linux 手工构造并裁剪出体积极小的 ELF 可执行文件。

      系统与基础设施上首页 6 次 · 2007–2025muppetlabs.com
    5. 给分布式系统新人的笔记(2013)

      Notes on Distributed Systems for Young Bloods (2013)

      一篇面向分布式系统新手的经验笔记,作者以格言式的短条总结了多年实战中踩过的坑,涵盖一致性、延迟、背压、监控、CAP 定理等主题。

      系统与基础设施上首页 5 次 · 2013–2024somethingsimilar.com编辑精选

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。