Following up on my earlier question regarding GAE Datastore entity hierarchies, I'm still confused about when to use entity groups.
Take this simple example:
- Every
Company
has one or moreEmployee
entities - An
Employee
cannot be moved to anotherCompany
, and users that deal with oneCompany
can never see theEmployee
s of anotherCompany
This looks like a case where I could make Employee
a child entity of Company
, but what are the practical consequences? Does this improve scalability, hurt scalability, or have no impact?
What are other advantages/disadvantages of using or not using an entity hierarchy?
(Entity groups enable transactions, but assume for this example that I do not need transactions).