I do not think you need to worry about uniqueness of your id. Datastore build on top of Bigtable with 6 tables.
Format is something like this. [application ID]-[namespace]-[Kind]-[ID]
It is garanties of uniqueness each entities.
I do not think you need to worry about uniqueness of your id. Datastore build on top of Bigtable with 6 tables.
Format is something like this. [application ID]-[namespace]-[Kind]-[ID]
It is garanties of uniqueness each entities.
Yes, the format on that table is [Application ID]-[Kind Name] and the value is the next value. Let say you have kind products and that table will look like this |key(yourapp-products), Next ID(3)|. Now you created new entity for kind products it will be assigned to ID(3) and the row on that table will get new value |key(yourapp-products), Next ID(4)|. Also to mention that table has only one row since we have only one kind products.
Do you specify ID yourself or let datastore generate itself? It sounds like you have "Pre-allocating IDs" issue, just speculating but for every batch you need sort Kind.allocate_ids(size=blah) that way you can keep sequence.