BowBun 4 days ago

Appreciate the added context here, this is indeed some special sauce that challenges my prior assumptions!

owaislone 4 days ago

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

  • TkTech 4 days 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.