[google-appengine] key prefix search

2009-06-25 Thread cryb
Hello.. Is there a way to do a key prefix search in GAE? I know that the underlying datastore (bigtable) API supports this feature. Any plans for releasing this in therms of GAE SDK for python/ java? --~--~-~--~~~---~--~~ You received this message because you are su

[google-appengine] potential commit problems

2009-06-16 Thread cryb
Hello. AppEngine docs/articles state that commit is performed in 2 separate, sequential stages: changes to entities (stage 1) and changes to indexes (stage 2). My question is what happens after a successful commit in stage 1 (that is entity data becomes visible), followed by a crashed index update

[google-appengine] is there a way to access bigtable timestamps?

2009-06-16 Thread cryb
Hello. Is there a way to access bigtable timestamps for entity data? This would avoid the need to create an additional property field just for that. If this feature is not available, do you have any plans to release it? Thanks. --~--~-~--~~~---~--~~ You received thi

[google-appengine] Re: why there is no way to build a key id?

2009-06-16 Thread cryb
ames that start with a digit (?!?)... this holds on google appengine production servers too or it's just a "bug" of devappserver? Thanks On Jun 16, 2:45 am, "Jeff S (Google)" wrote: > Hi cryb, > > As you noted, we do not currently allow the ID for a key to be s

[google-appengine] Re: why there is no way to build a key id?

2009-06-12 Thread cryb
google.com/intl/en-US/appengine/docs/python/datastore/key... > > On 6月12日, 上午1时28分, cryb wrote: > > > Does anyone know why it is possible to build a key name but NOT a key > > id? I know key IDs are used as autoincrements, but why can't I just > > override this mec

[google-appengine] Re: key name (String) vs key id (long) performance

2009-06-11 Thread cryb
t say it does, but I just want to make sure that both kind of keys behave the same in therms of lookup performance. On Jun 11, 8:57 pm, Rodrigo Moraes wrote: > On Thu, Jun 11, 2009 at 2:19 PM, cryb wrote: > > Is there an official position / benchmark about what type of keys >

[google-appengine] why there is no way to build a key id?

2009-06-11 Thread cryb
Does anyone know why it is possible to build a key name but NOT a key id? I know key IDs are used as autoincrements, but why can't I just override this mechanism and build my own key id? Suppose I want to overwrite an existent entry in my table that has a key id I know, and also I want to keep tha

[google-appengine] key name (String) vs key id (long) performance

2009-06-11 Thread cryb
Hello.. Is there an official position / benchmark about what type of keys issue the best performance as for queries? Are key ids (long) being looked up faster than key names (string) - assuming that both have comparable sizes in bytes? Thanks. --~--~-~--~~~---~--~~

[google-appengine] Re: time and date sync service in google cluster

2009-05-29 Thread cryb
Hello. In this particular case I don't need millisecond accuracy... the design of expiration primitives can tolerate even 1-2 minutes out of sync... however more than that would be a problem. So is there a way to get an official answer about this matter? and maybe to get an official answer about t

[google-appengine] time and date sync service in google cluster

2009-05-28 Thread cryb
Hello. Although it should be obvious, the Google cluster should provide a time and date synchronization service for all its nodes. I've done some search on the internet and I went through appengine docs, but I didn't find any reference that states this. I know that this should be common sense, but