Google App Engine - Update on Datastore Auto IDs

19 views
Skip to first unread message

Daniel Kohtes

unread,
Jun 13, 2013, 5:07:51 AM6/13/13
to flore...@googlegroups.com
Hi Daniel,

Is this information from Google in any way relevant for us or are you going to handle it?

*************
In the upcoming 1.8.1 release, the Datastore default auto ID policy in production will switch to scattered IDs to improve performance. This change will take effect for all versions of your app uploaded with the 1.8.1 SDK. 

Since 1.7.6 you could try out the new behavior in the development application server, where scattered auto IDs are the default. These IDs are large, well-distributed integers, but are guaranteed to be small enough to be completely represented as 64-bit floats so they can be stored as Javascript numbers or JSON. If you still need legacy ids for some entities (e.g. because you want smaller numbers for user-facing ids), we recommend you use the allocateIds() API, which will continue to behave as before. You can also override the default auto id policy by setting the new auto_id_policy option in your app.yaml/appengine-web.xml to legacy, but please note that this option will be deprecated in a future release and will eventually be removed.
**************

Kind regards,
Daniel

Daniel Florey

unread,
Jun 13, 2013, 5:08:47 AM6/13/13
to floreysoft GmbH
It should hopefully not affect the app...

Daniel


2013/6/13 Daniel Kohtes <dko...@die-anwenderberater.de>

--
You received this message because you are subscribed to the Google Groups "floreysoft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to floreysoft+...@googlegroups.com.
To post to this group, send email to flore...@googlegroups.com.
Visit this group at http://groups.google.com/group/floreysoft?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages