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?
My requirement is fast read of all the movies.
Thanks!