I have an Entity called Movie.

I want to have a get_or_create method for the Movie entity. Right now each 
Movie entity is in its own Entity group.

I read I have to put them in the same entity group and use transactions to 
avoid duplicate entities.

I could also perhaps choose my own unique key which would result in 
overwriting a few entries (idempotent) without any effect.

The movies count can be from 1-50000. At some point I want to fetch them 
all. Would it be faster executing a query against a single entity group or 
multiple entity groups? Is it faster because an entire entity group is 
stored in a specific node?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/qBrtdIfgWDAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to