I had a weird problem, our website has registration form coded using zend form, I have checked database either username existed or not before zend db insert operation, it is working fine always, also worked fine for our thousands of the users, but just few (about 100) records has duplicates stored automatically(guessing) even in 10 or 20sec seconds difference there is no possibility of form submission again with different values except auto increment column.
Share
The situation is pretty simple and called “racing”.
Solution: