Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mamcx
· 4mo ago · 0 comments
Is the optimization only possible using dbos? is not clear to me if this mean a way to tune normal PG
Comments
[–]
KraftyOne
4mo ago
The core optimization is to buffer notifications in-memory and send them in a batch instead of sending them as part of every transaction. So that's a general-purpose optimization for Postgres apps using LISTEN/NOTIFY.
[–]
mamcx
OP
4mo ago
So this is not inside a trigger but on the app connected to pg?
[–]
gordonhart
4mo ago
Yes, per the article they “scaled” Postgres to meet their requirements by altering their usage pattern to avoid hitting the bottleneck.