Good point: an incoming email (inc. attachments) can be up to 31+MB -- far
above the largest datastore entity, 1MB. So, stashing the mail away in GCS
(and, the raw form does seem best), with metadata in the datastore, seems
the best strategy.

Alex

On Wed, Dec 9, 2015 at 8:18 AM, Phil Hodey <[email protected]> wrote:

> I've realised storing in the datastore is a bad idea given the size
> limitation of a Datastore entity. Instead I'm saving the raw email to gcs
> with a Datastore entity giving just email headers. Seems to work well.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/e85a44f8-db26-49ba-888c-ae22eb2feb77%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be_Z2GApJMiObOS0X-_4omZ997G99sHkv_iPhoWX22FNxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to