I'm a little confused about 'Entity Groups' on the Google App Engine High Replication Datastore (HRD). The Google documentation mentions that HRD only allows 1 write per second per entity group.
What exactly does this mean? Is this 1 write per user-request or 1 write per entity (which I assume is a similar concept to a "table").
For example, if I have a "User" entity and a "Post" table. If "Post" is an ancestor of "User" :
- Does this mean that one "User" can create one "Post" per-second
- ...or does it mean all writes to the "Post" entity are restricted to 1 write-per-second regardless of the User? (i.e. the system can only save 1 post at at a time regardless of # of users submitting posts)
- ...or does it mean a single "User" entity can not create more than 1 "Post" at the same time (even if thousands of other users are created "Post" entities)?
What are my options to mitigate this? Is it reasonable to make both "User" and "Post" root entities? Will this allow me to create multiple "Post" instances outside of the 1 write-per-second restriction? I want to avoid any potential issues if say 1000 users were to create "Post" entries concurrently.