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

I guess the clever lock semantics are SKIP LOCKED, which is designed to support efficient queues. The cleverness is inside PostgreSQL rather than in the application, other than the cleverness of knowing about this feature. https://www.2ndquadrant.com/en/blog/what-is-select-skip-lock...


Yup, exactly that




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

Search: