Hacker News new | past | comments | ask | show | jobs | submit login

It is easy to avoid multiple workers processing the same task: `delete from task where id = (select id from task for update skip locked limit 1) returning *;`



I didn't say it was difficult, I just said it was the biggest concern. That looks correct.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: