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

My main takeaway from this post is that in 2026 we haven't developed enough technology to scalably and durably handle concurrently decrementing a single number. This has caused multiple organizations to develop database hacks (the multiple rows) or complex architectural solutions (redis) which destroy the atomicity of the process.


The benefit of per row is that you can tag additional info like reserved user id etc, which you would have to track somewhere anyway.




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

Search: