top | item 46799644

(no title)

owaislone | 1 month ago

Interesting. Any docs that explain what/how they do this?

discuss

order

TkTech|1 month ago

A combination of LISTEN/NOTIFY for instantaneous reactivity, letting you get away with just periodic polling, and FOR UPDATE...SKIP LOCKED making it efficient and safe for parallel workers to grab tasks without co-ordination. It's actually covered in the article near the bottom there.