Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Listen/notify is poised to become much better in PG 18 and 19
 help



Why’s that?

In pg19 https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit... will land, which significantly improves NOTIFY performance. Right now LISTEN/NOTIFY doesn't scale to very busy instances because a `NOTIFY` within a transaction takes a global lock.


Well another POV is, AWS sells RDS instances capable of global lock NOTIFY. Clearly people have been using it despite it being really slow.

It's a terrible architecture but does it matter? This article should really say "AWS is a useful but expensive way to run your apps," which isn't say much of anything at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: