frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Plastic water bottle left in a hot car? Think twice before sipping from it

https://www.foxnews.com/food-drink/plastic-water-bottle-left-hot-car-think-twice-sipping-from
1•Bluestein•29s ago•0 comments

About AI

https://priver.dev/blog/ai/about-ai/
1•emil_priver•3m ago•0 comments

Show HN: Kubernetes Operator for Neon Postgres

https://molnett.com/blog/25-08-05-neon-operator-self-host-serverless-postgres
3•bittermandel•4m ago•0 comments

UK Deputy Prime Minister asks China to explain blanked-out embassy plans

https://www.bbc.co.uk/news/articles/ce932995ny2o
2•iamben•6m ago•0 comments

China asks Israel to lift siege on Gaza, renews push for independent Palestinian

https://www.aa.com.tr/en/asia-pacific/china-asks-israel-to-lift-siege-on-gaza-renews-push-for-independent-palestinian-state/3646017
2•mhga•14m ago•0 comments

Faced with £40B budget hole, UK public sector commits £9B to Microsoft

https://www.theregister.com/2025/08/07/uk_microsoft_spending/
1•nickcw•14m ago•0 comments

How Upsun built stateless mesh networking for high-density containers

https://devcenter.upsun.com/posts/how-upsun-built-stateless-mesh-networking-for-high-density-containers/
1•tlar•17m ago•0 comments

Covariant, Gauge-Invariant Metric-Based Gravitational-Waves in Numer. Relativity

https://arxiv.org/abs/2508.03799
1•raattgift•17m ago•0 comments

Thinking in Rust: Ownership, Access, and Memory Safety

https://cocoindex.io/blogs/rust-ownership-access/
1•badmonster•18m ago•0 comments

BRS-XSS – Professional XSS Scanner

1•easyprotech•18m ago•0 comments

Feedback: SleepLive – ASMR custom audio and video requests platform

https://sleeplive.io/
1•Mattykry•18m ago•1 comments

The Pain of Perfectionism

https://www.newyorker.com/magazine/2025/08/11/the-pain-of-perfectionism
1•FinnLobsien•24m ago•0 comments

Ask HN: LLM Lazy Devs

1•norfnorf•26m ago•0 comments

What Kids Told Us About How to Get Them Off Their Phones

https://www.theatlantic.com/ideas/archive/2025/08/kids-smartphones-play-freedom/683742/
1•grech•26m ago•0 comments

OpenAI Harmony Prompt

https://www.synscribe.com/insight/openai-harmony-prompt-guide
1•whitefables•29m ago•2 comments

Bouncing on trampolines to run eBPF programs

https://bootlin.com/blog/bouncing-on-trampolines-to-run-ebpf-programs/
1•tanelpoder•31m ago•0 comments

Show HN: H‑codex update – Now supports Python and more file types

https://github.com/hpbyte/h-codex
1•hpbyte•33m ago•0 comments

I built a tiny CLI tool to split noisy debug logs into terminal tabs

2•dsheiko•38m ago•0 comments

'We didn't vote for ChatGPT': Swedish PM under fire for using AI in role

https://www.theguardian.com/technology/2025/aug/05/chat-gpt-swedish-pm-ulf-kristersson-under-fire-for-using-ai-in-role
1•saubeidl•39m ago•0 comments

Jujutsu Support in Reviewboard

https://reviews.reviewboard.org/r/14336/
2•Bogdanp•40m ago•0 comments

China Is a Nation of Savers. Many Are Drowning in Debt

https://www.nytimes.com/2025/08/06/business/china-consumer-debt.html
1•mhga•40m ago•0 comments

Show HN: Show HN: BeforeYouBuy – Your AI Companion for Shopping

https://beforeyoubuy.page/
1•yllberisha•40m ago•0 comments

Show HN: I gamified the way we learn

https://quida.app
1•benedictowusu•42m ago•0 comments

Flickering lights could help fight misinformation

https://www.engadget.com/cybersecurity/flickering-lights-could-help-fight-misinformation-155829489.html
2•rbanffy•45m ago•0 comments

New work achieves a pure quantum state without the need for cooling

https://phys.org/news/2025-08-pure-quantum-state-cooling.html
1•jnord•47m ago•0 comments

Beta-Relased: OWASP Operational Technology (OT) Top 10

https://ot.owasp.org/
1•kingsomething•47m ago•1 comments

Show HN: Memori – Dual-Mode Memory Layer for AI Agents

https://github.com/GibsonAI/memori
2•boburumurzokov•53m ago•0 comments

Rust Project Goals Update

https://blog.rust-lang.org/2025/08/05/july-project-goals-update/
2•AbuAssar•54m ago•0 comments

Automated Test Failures in CICD – what is true cost?

3•bfmurphy•57m ago•1 comments

Reflections on RailsConf 2025: Shan Cureton, Executive Director, Ruby Central

https://rubycentral.org/news/reflections-on-railsconf-2025-from-shan-cureton-executive-director-of-ruby-central/
2•amalinovic•57m ago•0 comments
Open in hackernews

Ask HN: How do/did you use PostgreSQL's LISTEN/NOTIFY in production?

2•JoelJacobson•2h ago
Recently there was an HN thread: "Postgres LISTEN/NOTIFY does not scale", https://news.ycombinator.com/item?id=44490510

We're now working on improving the scalability of LISTEN/NOTIFY in PostgreSQL, and to guide that work, I'd like to better understand how it's used (or was used) in real-world systems. What works well? What doesn't?

The current implementation has some known scalability bottlenecks:

1. Thundering Herd Problem: A NOTIFY wakes up all listening backends in the current database, even those not listening on the notified channel. This is inefficient when many listeners are each listening to their own channels (e.g. in job queues).

2. Commit Lock Contention: NOTIFY operations are serialized behind a heavyweight lock at transaction commit. This can become a bottleneck when many transactions send notifications in parallel.

If you've used LISTEN/NOTIFY in production, I'd love to hear:

- What is/was your use case?

- Does each client listen on its own channel, or do they share channels?

- How many listening backend processes?

- How many NOTIFYs in parallel?

- Are you sending payloads? If so, how large?

- What worked well for you? What didn't?

- Did you hit any scalability limits?

Feedback much appreciated, thanks!

/Joel

Comments

stop50•2h ago
I have ever seen listen/notify in example code and pulp3
JoelJacobson•1h ago
Thanks! I found a link to a GitHub Issue where they described their experienced problems: https://github.com/pulp/pulpcore/issues/6805
JoelJacobson•1h ago
I'll add comments to this thread with Github projects that I can find by searching for "postgres listen/notify" on Github.

https://github.com/graphile/worker

    // Line 535 in src/main.ts
    client.query('LISTEN "jobs:insert"; LISTEN "worker:migrate";')
Every worker pool seems to listen on the same shared channels: jobs:insert - all workers get notified when new jobs are added worker:migrate - all workers get notified about database migrations
BenjieGillam•49m ago
Yep; we have a dedicated listener client per pool (and normally something like 1-20 pools, each with 1-100 workers); the workers themselves don’t listen. We also notify on every job or batch job insert, though we would love to rate limit this so we notify at most once per 2 milliseconds.