[google-appengine] Re: memcache architecture

2009-07-02 Thread Mark Wolgemuth
It would be interesting to offer different global memcache queues with different policies. In your case, it seems to me if you have things you want to cache indefinitely, why don't you just load them in the current interpreter into a global dict on first hit? Effectively run your own local

[google-appengine] Re: Query() vs. GqlQuery() different results for the same queries (Python)

2009-04-21 Thread Mark Wolgemuth
I think your second one may be working because using the string substitution is causing an unexpected value to appear in the query that still is accepted by the engine. You should generate a log entry before the query to see what passing the id to %s is actually giving you. On Apr 21, 8:10 am,

[google-appengine] HTTP request to self -- production support? not in dev...

2009-04-01 Thread Mark Wolgemuth
The dev server appears (obviously) to be single threaded, as is the django dev server. The presents a problem if you want to post to your own server location. An example would be posting to the url provided by create_login_url, which in dev answers at the same location as your app. The server

[google-appengine] Re: HTTP request to self -- production support? not in dev...

2009-04-01 Thread Mark Wolgemuth
doesn't expose anything that can be used to make thread-safe applications.  Since the production version carefully hides any thread-like behavior, this is unlikely to change. On Apr 1, 6:06 am, Mark Wolgemuth fuma...@gmail.com wrote: The dev server appears (obviously) to be single threaded