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

Ultimately it comes down to your entropy source. I always generate and insert in a loop for this reason, if there is a collision, I therefore handle that gracefully.


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

Search: