Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You really really wanna do everything (locking, working, unlocking, deleting or completing) in a transaction, and use SKIP LOCKED to find work. It's actually pretty high performance when you so this.


do you have a more detailed example on how this could look like?


The article starts by discussing SKIP LOCKED





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: