frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Postgres LISTEN/NOTIFY actually scales

https://www.dbos.dev/blog/postgres-listen-notify-scalability
47•KraftyOne•58m ago

Comments

dietr1ch•40m ago
I recall that in the first release that supported LISTEN/NOTIFY there was a performance issue around it (poor locking IIRC), which today the "bad post" mentioned in here corrects in a errata just after their first paragraph.

Since the correction apparently dates from May 8th, I think that a post from July 24th might want to acknowledge that the popular post asserting this feature doesn't (didn't?) scale was not made in bad faith or was even wrong about their claims at the time.

Latty•36m ago
One way it explicitly doesn't scale (unless something has changed since I last checked and my quick search failed me) is the hard limit on 8000 bytes of data in a notification. If your notification doesn't make sense to exist as a row (where you can just give an ID), then that makes it hard to use. I had a web game and the events were transient descriptions of changes in state that didn't make sense to store in the database, and could be bigger than that, so it didn't work for that use case.
dietr1ch•19m ago
As an implementer of a scalable notification system I'd be sure to cap the notification size.

- Keeps messages O(1) so I can focus on scaling in the amount of notifications

- Tells whoever runs into this that,

    - I didn't planned for arbitrarily large messages as they *might* otherwise grind performance to a halt.
    - They *might* be misusing my notification system
jerf•25m ago
"Scale" isn't a binary, it's a continuum. "Scales to 60K/s" can be 5 orders of magnitude more than one system needs and 5 orders of magnitude too small for another. Personally I'd knock the general "premature optimization" off the list of "most common developer errors" and put in its place "using techs with the wrong scaling factors". If you use something too small and you exceed its needs, the failure is obvious, but the other way around is a problem too. Bringing in the overhead and management issues of the super scalable techs, as well as their limitations they impose so that they can scale, to a system that would actually be better off with a richer model whose richness prevents it from scaling but would save a lot of effort is also a bad choice.

The ceiling of LISTEN/NOTIFY is small enough that you need to pay attention, and I personally like to have at least an order of magnitude of slack left over even after my most pessimistic load numbers are accounted for, but it's still plenty for a lot of projects, and the integration with the rest of the DB, its availability, its not being another service you have to devops, it's definitely not something that should be simply dismissed out of hand as an option. Even the original 2K/s number they cite is a lot of messages for some systems that are more properly measured in seconds per message.

zbentley•10m ago
> 5 orders of magnitude too small for another.

Nitpick on an otherwise good post, but I don’t think there are very many 6billion RPS systems out there, and those that do exist are almost certainly using bespoke, purpose-built tools

nzoschke•24m ago
I continue to love DBOS for how it just leverages Postgres (and now SQLite) properly. It's effortless to drop into an existing CRUD stack.

Once you start down the "durable workflows" path, you start seeing them everywhere.

My latest experiments are treating individual emails as durable workflows, where you, the people you're communicating with, agents and tools like GitHub or Attio all take turns in the flow.

https://housecat.com/blog/gmail-durable-workflows-sandbox-vm

Political text messages could get more effective and annoying. Blame AI

https://www.npr.org/2026/07/12/nx-s1-5867763/ai-artificial-intelligence-data-texts-bots-voters-ca...
1•gnabgib•1m ago•0 comments

Self-host your cloud drive

https://freecloud.wiki
1•Hilliard_Ohiooo•2m ago•0 comments

Balder v7 – 100% on SWE-bench Verified on a single RTX 3060

1•BalderForseti•5m ago•0 comments

Responding to the Answer Key Intrusion

https://predictionguard.com/hugging-face-ai-agent-intrusion
1•katiebowen•5m ago•0 comments

First look at Pan Am plane wreckage after 73 years

https://www.bbc.com/news/videos/cx25pp3r61xo
2•sizzle•6m ago•0 comments

How it were are You

1•sheerun•8m ago•0 comments

Rare documents signed by Lincoln removed from D.C. memorial after heat exposure

https://www.yahoo.com/news/us/articles/rare-documents-removed-lincoln-memorial-081240515.html
1•gnabgib•9m ago•0 comments

Politician reads AI prompt during assembly [video]

https://www.youtube.com/watch?v=wlYa8NV5k-U
2•lr0•10m ago•0 comments

Pixar lays off over 100 Bay Area workers using ElastiGirl letterhead

https://www.sfgate.com/tech/article/pixar-mrs-incredible-layoffs-22357876.php
4•toomanyrichies•10m ago•1 comments

Whose freedom is it anyway?

https://collectivefutures.blog/whose-freedom-is-it-anyway/
1•cdrnsf•10m ago•0 comments

Do I need to charge my toothbrush via my monitor?

https://beller-it.de/blog/20260724-charge-my-toothbrush-via-my-display.html
1•mads_quist•11m ago•0 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
1•opwizardx•12m ago•0 comments

Country went 100% electric vehicles overnight with a drastic approach

https://electrek.co/2026/07/22/laos-bans-gas-diesel-car-imports-ev/
5•sudenmorsian•12m ago•0 comments

Freenet – Services Without Servers [video]

https://www.youtube.com/watch?v=3RBNboYUlVI
1•ciefa•12m ago•0 comments

Chrome's Breaking and Entering

https://unsung.aresluna.org/chromes-breaking-and-entering/
1•ingve•12m ago•0 comments

New North Korean campaign uses fake coding interviews to steal dev credentials

https://www.elastic.co/security-labs/contagious-interview-malware-svg-steganography
4•bmorelli25•12m ago•0 comments

Light Flip Phone

https://www.thelightphone.com/lightflip
1•catchmeifyoucan•15m ago•1 comments

When is an apology not an apology? From an AI boss with a rogue chatbot

https://www.theguardian.com/commentisfree/2026/jul/24/apology-ai-boss-sam-altman-rogue-openai-sta...
1•shadow28•15m ago•0 comments

What syscall-layer tooling cannot see in P2P infrastructure

https://nullrabbit.ai/research/why-syscall-tooling-cannot-see-p2p-infrastructure
1•simonmorley•15m ago•0 comments

Elements of Style Skill (Strunk and White)

https://github.com/obra/the-elements-of-style
1•jrm-veris•18m ago•0 comments

Show HN:LoongForge - High-performance training system for embodied models

https://github.com/baidu-baige/LoongForge/tree/master/loongforge/embodied
1•mindzzz•19m ago•0 comments

Strategy Letter V: Commoditize Your Complements (2002)

https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/
1•louiereederson•19m ago•0 comments

Opus 5 is currently #1 on Artificial Analysis Intelligence Leaderboard

https://artificialanalysis.ai/models
3•aarondong•19m ago•2 comments

Work Is Just Other People

https://yusufaytas.com/work-is-just-other-people
8•yusufaytas•21m ago•0 comments

GitHub PR Creation Down

https://www.githubstatus.com/incidents/jxd617hfwfq8
11•xgvyxia•21m ago•3 comments

The Vision Air Announcement

https://jordan.roher.me/blog/2026/the-vision-air-announcement/
1•jordanroher•21m ago•0 comments

Claude Opus 4.8 can be 10x faster than OpenAI GPT-5

https://www.peterbe.com/plog/claude-opus-is-10x-faster-than-openai-gpt-5-at-non-streaming-complet...
1•peterbe•22m ago•0 comments

GitHub – makerspet/oomwoo: Open-source vacuum robot cleaner

https://github.com/makerspet/oomwoo
2•bilsbie•24m ago•0 comments

Grok 4.5 dropped cache price per 1M tokens from 0.50 to 0.30

https://twitter.com/TimoteiMolnar/status/2080738447418065374
1•timoteimolnar•25m ago•2 comments

Show HN: VinvAI – Ties runtime trace to code segment, prevents reward hacking

https://github.com/VinvAI/VinvAI
2•itsAnshul•25m ago•0 comments