Recall.ai Blog
recall.ai · Company blog · on HN since 2023
Recall.ai's engineers write about scaling problems from running a meeting-recording API, including Postgres, Linux, WebSockets, and Chromium.
What HN saysHN commenters cite its Postgres LISTEN/NOTIFY scaling post, which got fixed in Postgres core, and discuss the Postgres performance cliffs it describes.
15HN people shared it
10linked it in comments
16stories submitted
1.1Kstory points
3 months agolast shared
2023people per year2026
Most-shared posts
- 1Postgres LISTEN/NOTIFY does not scale9 people · 574 points · first shared 2025 · 321 comments on HN
- 2Reducing latency with esoteric Linux process flags3 people · 39 points · first shared 2025 · 7 comments on HN
- 3WebSockets cost us $1M on our AWS bill2 people · 370 points · first shared 2024 · 231 comments on HN
- 4Postgres Postmaster does not scale2 people · 4 points · first shared 2026 · discussion on HN
- 5Homepage2 people · first shared 2024
- 6Debugging audio artifacts caused by... a serial port?1 people · 56 points · first shared 2024 · 29 comments on HN
- 7Pdeathsig is almost never what you want1 people · 27 points · first shared 2025 · 7 comments on HN
- 8Forking Chromium to Bolt on a High-Throughput Shared Memory Ringbuffer1 people · 7 points · first shared 2024 · discussion on HN
- 9Encountering Hyrum's Law in the Wild1 people · 6 points · first shared 2024 · discussion on HN
- 10Postgres locks do not scale1 people · 4 points · first shared 2026 · discussion on HN
- 11The fix for a segfault that never shipped1 people · 4 points · first shared 2026 · discussion on HN
- 12Debugging a 1 in 36M segfault in our audio encoder1 people · 2 points · first shared 2023 · 1 comments on HN
- 13Pdeathsig is almost never what you want1 people · 1 points · first shared 2025 · discussion on HN
- 14Zoom RTMP live streaming API pros and cons1 people · 1 points · first shared 2023 · discussion on HN
What HN people wrote when they linked it
toomuchtodo · 2025-01-02
I want an app that uses the accessibility API to plug into Meta, Snap, etc and gives you full control over your socials ala Recall using LLMs. I feel like Gen AI is the countermeasure to closed social ecosystems trying to treat you as the product. Ingest everything my social users have access to, and let me control the experience (Recall meets Buffer?).
Scraping is old and busted, consuming the firehose available to you and controlling consumption of it on your own terms is the new hotness.
https://www.recall.ai/
https://learn.microsoft.com/en-us/windows/ai/apis/recall
davidgu · 2024-05-03
If you're looking to build an AI notetaker for medical use-cases (or others), https://www.recall.ai is a HIPAA compliant API to capture conversations from video conferences.
P.S. I'm the founder, so obviously biased :)
JoelJacobson · 2026-07-25
It did fix the original "Postgres LISTEN/NOTIFY does not scale" [1] post's problem though, which was mentioned in an update of that article:
Update: Fixed in Postgres core
This commit has eliminated the bottleneck in the postgres core.
Credit to Joel Jacobson and the core postgres contributors for resolving this.
[1] https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
timetoogo · 2026-06-25
Running a high-scale postgres in production is fraught. We have a really demanding workload and have hit a lot of undocumented performance cliffs. Most of these stem from fundamental design flaws in postgres [0][1].
I'm glad to see projects like this trying to using new tools to improve upon these deeply rooted issues that was just not practical even 12-18 months ago. This is really ambitious and I'm excited to see where this goes!
[0] https://www.recall.ai/blog/postgres-postmaster-does-not-scale
[1] https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
ivanr · 2026-05-28
russellthehippo · 2026-04-24
link for all others - this commenter fixed a bug in core Postgres that fixed a scaling issue in actual listen/notify https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
cedws · 2026-02-27
People say you don’t need Redis, you can just use Postgres LISTEN/NOTIFY. I read a blog post about it locking the entire database and causing problems[0]. Apparently it’s fixed now but this only just being discovered in 2025 doesn’t give me confidence it’s battle tested for prod.
At some point shoving everything into Postgres is an anti pattern too.
[0]: https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
bgentry · 2026-01-14
This is largely because LISTEN/NOTIFY has an implementation which uses a global lock. At high volume this obviously breaks down: https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
None of that means Oban or similar queues don't/can't scale—it just means a high volume of NOTIFY doesn't scale, hence the alternative notifiers and the fact that most of its job processing doesn't depend on notifications at all.
parthdesai · 2025-11-27
Feels tidier till it becomes a bottleneck:
https://www.recall.ai/blog/postgres-listen-notify-does-not-scale
diarrhea · 2025-08-02
Your version makes sense. I understood the OP's approach as being different.
Two (very, if indexed properly) short transactions at start and end are a good solution. One caveat is that the worker can die after t1, but before t2 - hence jobs need a timeout concept and should be idempotent for safe retrying.
This gets you "at least once" processing.
> this obviously has the drawback of knowing how long to sleep for; and tasks not getting "instantly" picked up, but eh, tradeoffs.
Right. I've had success with exponential backoff sleep. In a busy system, means sleeps remain either 0 or very short.
Another solution is Postgres LISTEN/NOTIFY: workers listen for events and PG wakes them up. On the happy path, this gets instant job pickup. This should be allowed to fail open and understood as a happy path optimization.
As delivery can fail, this gets you "at most once" processing (which is why this approach by itself it not enough to drive a persistent job queue).
A caveat with LISTEN/NOTIFY is that it doesn't scale due to locking [1].
[1]: https://www.recall.ai/blog/postgres-listen-notify-does-not-scale