←back to thread

570 points davidgu | 1 comments | | HN request time: 0.206s | source
Show context
andrewstuart ◴[] No.44525490[source]
There’s lots of ways to invoke NOTIFY without doing it from with the transaction doing the work.

The post author is too focused on using NOTIFY in only one way.

This post fails to explain WHY they are sending a NOTIFY. Not much use telling us what doesn’t work without telling us the actual business goal.

It’s crazy to send a notify for every transaction, they should be debounced/grouped.

The point of a NOTIFY is to let some other system know something has changed. Don’t do it every transaction.

replies(3): >>44525723 #>>44525784 #>>44526191 #
1. tomrod ◴[] No.44525784[source]
Assuming you skip select transaction, or require logging on it because your regulated industry had bad auditors, then every transaction changes something.