Questions tagged [entity-group-transactions]
10 questions
4
votes
1 answer
XG-Transactions Fail in Google App Engine's Local Java Server -- Run fine when deployed on Live GAE
I'm need to use XG (Cross group) transactions across some of my entity groups in Google App Engine. Unfortunately when I run any of these operations on my local Jetty (Eclipse) server, the App Engine development wrapper throws a…

Eternal Rubyist
- 3,445
- 4
- 34
- 51
4
votes
1 answer
Google Appengine: Is This a Good set of Entity Groups?
I am trying to wrap my head around Entity Groups in Google AppEngine. I understand them in general, but since it sounds like you can not change the relationships once the object is created AND I have a big data migration to do, I want to try to get…

Blaine Garrett
- 1,286
- 15
- 23
2
votes
2 answers
How to create unique key names in google app engine
I'm having trouble figuring out how to create unique key names for my online election app. Here is a typical set of relevant entities:
1 Election
5 Candidates
100,000 Voters
up to 100,000 Votes
I need a unique key name for each Voter entity for…

new name
- 15,861
- 19
- 68
- 114
2
votes
1 answer
GAE datastore transaction with multiple ancestors entity groups
It is not clear for me, from the documentation, which ancestor is a boundary for a transaction. The closest one, or the root one?
I have a root entity (A) and it has a few descendants (B1, B2 ... Bn) and those can have many ancestors (C1, C2...). I…

shelll
- 3,234
- 3
- 33
- 67
1
vote
1 answer
Are Google App Engine entity groups locked when writes are not in a transaction
I have a question-answer-comment application(similar to stackoverflow). The questions and their related answers and comments logically form part of entity groups as defined in App Engine Docs .
I want to use entity groups/ancestor paths to group my…

ThierryMichel
- 487
- 1
- 5
- 20
1
vote
1 answer
Handling conflict with entity group transactions in Azure
I'm currently writing a method which, in order to reduce transaction costs, inserts entities into Azure Table Services in batches of 100.
The entities inserted are immutable. I.e. if the PartitionKey and the RowKey are identical between two…

Yrlec
- 3,401
- 6
- 39
- 75
1
vote
0 answers
how to measure the payload size for Azure Table Entity Group Transaction?
According to MSDN (http://msdn.microsoft.com/en-us/library/windowsazure/dd894038.aspx),
The transaction can include at most 100 entities, and its total payload may be no more than 4 MB in size.
Question) Before sending a group-transaction…

soleiljy
- 1,121
- 2
- 13
- 20
0
votes
1 answer
Datastore writes to same entitygroup from Dataflow
I am writing to Datastore from Dataflow, pcollection has multiple entities of same entity group to be written to datastore. Does writing them to datastore would be slow because of same entity writes/updates limitations? Can I somehow do transactions…

IYY
- 243
- 1
- 3
- 11
0
votes
1 answer
Google App Engine - Saving User Records Quickly to Datastore, Transactions, Entity Groups
We have thousands of users, each with 1000 records. Both users and records are represented by models in our application.
Saving 1000 records individually per user takes ages (30+ seconds). However, considering all of these records belong to the same…

Gaurav Sharma
- 2,680
- 3
- 26
- 36
0
votes
4 answers
How to create entities in one Entity group?
I am building an app based on google app engine (Java) using JDO for persistence.
Can someone give me an example or a point me to some code which shows persisting of multiple entities (of same type) using…

Gopi
- 10,073
- 4
- 31
- 45