My app needs some fixed data that I need to search during almost every request to my app. It's over 1 MB as a dict in a python file so I can't do that.
So I've been reading a binary picked file but this is taking almost 2 CPU seconds and 900k function calls according to profile. I get a CPU usage warning on every request. I tried replacing pickle with marshal and it reduced the function calls to 15k for the same data, and was much faster on the dev server. So I uploaded it to the production server, but it dies saying that marshal has no load method. It appears that marshal.load () is not supported on AppEngine, but if so, why is it available on the dev server? I realize that marshal may change with python version updates, so this is not an optimal solution, so I'm open for other solutions to try. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
