Cloud flare would still suck the uncompressed file down and then zip it,
that is unlikely to speed things up.

Check my old posts about headers for edge cache, my guess is that you have
the expiration set in the past or immediately which causes Edgecache to not
compression most mime types.

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Richard Watson
Sent: Thursday, June 21, 2012 11:09 PM
To: [email protected]
Subject: [google-appengine] Re: Large text files from blobstore are not
being gzipped (AppEngine Java)

 

As Jeff mentioned on the SDK thread, maybe try Cloudflare.com.  I've just
turned it on and it's not too painful, although I had to set up my page
rules just right.  If you have static content, they'll gzip and cache it for
you on their CDN.

 

One option if you don't want them proxying your whole app: deliver your
content from a different subdomain and tell CF to only proxy that domain.
Then all they are is a DNS host for you.  Worth a try at least.


On Thursday, June 21, 2012 11:05:43 PM UTC+2, Emanuele Ziglioli wrote:

Thanks Stuart,

 

indeed it looks like the same issue. I'm gonna try loading the blob content
in memory first.

It's going to be slower but that's what I've been doing until yesterday: I
was compressing large entities and storing them in up to 1MB sized entities.
I switched to the blobstore in order to avoid compressing/decompressing and
to reduce the delay when fetching them.

Unfortunately the lack of Gzip compression is really biting us. 

On Thursday, 21 June 2012 23:37:08 UTC+12, Stuart Langley wrote:

Probably http://code.google.com/p/googleappengine/issues/detail?id=2820

On Thursday, 21 June 2012 19:56:20 UTC+10, Emanuele Ziglioli wrote:

Hi everyone,

 

I'm serving a number of text files from the blobstore and while smaller ones
are being gzipped by the frontend servers, larger ones are not.

Not sure what the threshold is, it could be as low as 4MB. 

Couldn't find any mention of it anywhere. 

Our files are "text/csv" and "application/json"`.

We serve them with a servlet, just like in the documentation:

                                              

blobstoreService.serve( blobKey, res);

 

That's a major problem for us in terms of customer experience. Has anyone
seen that?

Thank you

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/x1nUlmwpplIJ.
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