for instance you could preparse these text files and generate python
code
which you would just import

What sort of data  do you have in your text file and how do you plan
to use it ?
How many records (dictionary keys and values) are in these text
file ?

That would help me formulate a clearer example.

However do you really need all of that data in memory for every
request?

T


On Mar 17, 11:01 pm, Nora <[email protected]> wrote:
> Thank you for your reply.
>
> Well, to make myself clearer....
> My application has to load a massive amount of information from text
> files when it first loads...
> Now, I am interested in your second option but could you make it
> clearer please.
>
> Thank you again.
>
> On Mar 17, 1:40 pm, Tim Hoffman <[email protected]> wrote:
>
> > Why do you need to load that much data into memory on eachrequest
> > if you are creating a dictionary you could
>
> > 1.  create model entities for each dictionary
> > and load them as required by their key
>
> > 2. preprocess the text files into dictionary code and import them
>
> > T
>
> > On Mar 17, 9:59 pm, Nora <[email protected]> wrote:
>
> > > Hello,
> > > My application needs muchtimeto load some text files into
> > > dictionaries in memory.  I am unable to load all the data because of
> > > therequesttimelimitation.  Is there another way of getting around
> > > this?
>
> > > Thank you very much.- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to