[google-appengine] Debugging App Engine errors

2009-04-22 Thread Morten Bek Ditlevsen
Hi there, I'm in the process of moving the database part of a social networking site to GAE. Each client sends a request to the server every 5 minutes with location information. From the location I calculate a list of geoboxes to store with the client's profile if the location is significantly dif

[google-appengine] Re: Debugging App Engine errors

2009-04-23 Thread Morten Bek Ditlevsen
Hi Nick, I get very few of them. In the current logs I have three from the last two days. This is with approx. 300.000 requests per day, so it's actually very few. I have a feeling that this suggests that they are caused by external factors, and that it would then make sense to retry. Thanks a l

[google-appengine] Re: Debugging App Engine errors

2009-04-23 Thread Morten Bek Ditlevsen
ed I re-raise the exception to get it logged > > 2009/4/22 Morten Bek Ditlevsen : > > > > Hi there, > > I'm in the process of moving the database part of a social networking > > site to GAE. > > Each client sends a request to the server every 5 minutes with

[google-appengine] Re: Debugging App Engine errors

2009-04-23 Thread Morten Bek Ditlevsen
Hi Nick, Thank you very much for your reply. The contention is identified in the log: 1. 198.66.245.68 - - [22/Apr/2009:10:19:43 -0700] "GET /setlocation?ll=40.064929,-75.242851&uid=e5b25e2d512b10fc913c2f8c290f55114550135a&c=28 HTTP/1.1" 500 916 - "gzip(gfe)" 2. E 04-22 10:19AM 43.0

[google-appengine] Question about exploding index sizes

2009-04-30 Thread Morten Bek Ditlevsen
Hi there, I have an application with an entity containing a list of geoboxes for geographic querying. I currently generate 28 geobox entries in this list. Since the list property is being queried along with other properties, this causes 28 index entries to be updated whenever I update a value tha

[google-appengine] Re: Question about exploding index sizes

2009-04-30 Thread Morten Bek Ditlevsen
Hi Nick, Thanks a bunch! I'm really amazed that I can just throw out a question like this and have a googler reply within minutes! :-) > > > The application is a location based dating service. Right now location > > lookups are working ok, but I am wondering whether it is feasible to have > > lo

[google-appengine] Question about exploding index sizes

2009-04-30 Thread Morten Bek Ditlevsen
Hi Nick, > > > Just to make sure I understand this right (well, rather - I don't think I > > get it 100%): > > > > By the inverted index entity you mean a new entity kind where I store > word > > lists and then reference this entity from my 'user profile' entity? > > Yes. The list of words used fo

[google-appengine] List Property containing keys - performance question

2009-06-20 Thread Morten Bek Ditlevsen
Hi there, I have an entity with a list property containing keys: favorites = db.ListProperty(db.Key, indexed=False) I suddenly came to wonder: If I check if a key is in the list like this: if thekey in user.favorites: will that by any chance try and fetch any entities in the user.favorites

[google-appengine] Re: List Property containing keys - performance question

2009-06-20 Thread Morten Bek Ditlevsen
caused be to think that the error might be related to the 'blocks' list of keys... Sincerely, /morten On Sat, Jun 20, 2009 at 10:22 AM, Federico Builes wrote: > > Morten Bek Ditlevsen writes: > > Hi there, > > I have an entity with a list property containing k