Google App Engine - Dealing with concurrency issues in storing an object
Posted
by Spines
on Stack Overflow
See other posts from Stack Overflow
or by Spines
Published on 2010-04-08T20:58:38Z
Indexed on
2010/04/08
21:03 UTC
Read the original article
Hit count: 213
My User object that I want to create and store in the datastore has an email, and a username. How do I make sure when creating my User object that another User object doesn't also have either the same email or the same username?
If I just do a query to see if any other users have already used the username or the email, then there could be a race condition.
© Stack Overflow or respective owner