How do you get the text?  What do you need to do with the text once
you get it back out?

If someone is uploading a file, the BlobStore might work well.
BlobStore entities can be up to 2GB, but getting data into the
BlobStore is trickier.
   
http://code.google.com/appengine/docs/python/blobstore/overview.html#Uploading_a_Blob

If the text is coming via a text input in a form or something is
feeding the data to a service you run, you could try compression + a
BlobProperty.  However, you need to remember that datastore entities
are limited to 1Mb -- so without compression it sounds like you might
be pushing the limit.  If the data can be large enough that
compression doesn't work, you'll need to shard the text into multiple
entities.

Setup some tests and try both ways.  Most likely you'll figure out
pretty quick which method will work best for your application.


Robert



On Tue, Dec 28, 2010 at 17:27, alf <[email protected]> wrote:
> hi,
> what is the best method in term of performance to store and recover  a
> text/plain aprox 1024kb
> 1 store text into datastore like string
> 2 store text into blogstore
> 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.
>

-- 
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