pythonee
pythonee

Reputation: 924

how GAE DataStore support transaction?

As I known, DataStore is implemented based on bigtable, and transaction only support in single entity group or maximum 5 cross entity groups, but IMHO bigtable only support single row transaction, Entities in the same entity group will be inserted in multiple row, how DataStore entity group archive all-or-nothing transaction with the restriction of bigtable.

Upvotes: 0

Views: 80

Answers (2)

j-clap
j-clap

Reputation: 41

Next generation Datastore, known as Firestore uses an architecture similar to Spanner, utilizing similar technology to achieve multi-row transactions.

More information here and here.

Upvotes: 1

Dave W. Smith
Dave W. Smith

Reputation: 24966

A bit dated, but http://googleappengine.blogspot.com/2009/09/migration-to-better-datastore.html might provide some answers. There are more details on Megastore in http://www.cidrdb.org/cidr2011/Papers/CIDR11_Paper32.pdf

Upvotes: 0

Related Questions