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

Rate limiting is a stopgap, not a fix. I would have expected a transaction lock in Postgres (SELECT FOR UPDATE) to serialize the requests. Or a Redis mutex if they are worried about database contention.


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

Search: