Postgres LISTEN/NOTIFY Actually Scales
Deep dive 5 min +50 XP
Postgres NOTIFY takes a global exclusive lock from commit start through fsync so notifications enqueue in commit order, which serializes every notifying transaction and blocks group commit.