← 返回技术雷达
Hacker News tech

Postgres LISTEN/NOTIFY actually scales

Hacker News 热议:Postgres LISTEN/NOTIFY actually scales(119 赞 / 18 评论,来源 dbos.dev)

原文开头节选

Mike Stonebraker & Cockroach Labs: Agents on ACID? Pricing Customers Resources Docs Blog Explore … Sign in Get started July 24: DBOS User Group Meeting Customers Pricing Blog Docs Resources Start your project Login Login Start your project Back to posts Postgres LISTEN/NOTIFY Actually Scales Peter Kraft July 24, 2026 How To Add to Google Share this post Postgres LISTEN/NOTIFY has a bad reputation thanks in part to a popular blog post asserting it does not scale . If that were true, it would be a shame, because LISTEN/NOTIFY is a powerful tool, allowing you to use your Postgres database for low-latency durable notifications, streams, and pub/sub. The accusations aren’t wrong: NOTIFY has unintuitive and undocumented performance characteristics arising from its use of a global lock. But “unintuitive behavior” is not the same as “not scalable.” In this blog post, we’ll show how we optimized LISTEN/NOTIFY-backed streams at scale, achieving 60K writes per second on a single Postgres server with millisecond-scale latency.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(119 赞 / 18 评论,来源 dbos.dev)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务