Do you have cache headers for your assets? This'll cause browsers not to try
to redownload them for repeat visitors - this is a good practice in general
for fast websites.

On Wed, Feb 17, 2010 at 7:11 PM, Anekdotz <[email protected]> wrote:

> I recently stress tested my app with some troublesome results.  While
> the CPU, Datastore and Memcache quotas were barely consumed, my
> Outgoing Bandwidth quota was used approximately 30 times as much.
> I.e. for usage of 1% CPU I had used 28% of my bandwidth quota.
>
> The vast majority of the bandwidth was used for static files (image/
> css/javascript).  I've heavily optimized most operations so this is
> kind of annoying.  Also, since my app does not store large files for
> download, I feel like I'm "wasting" this resource with respect to the
> others.
>
> I'm thinking of moving these files to another location, like storing
> them on google sites or google code.  Since these aren't optimized for
> serving files I would like to use appengine to serve them until the
> bandwidth quota is getting close to depleted and then dynamically
> switching to the external services.  For this I would need to
> programmatically determine how much bandwidth is being used, but
> unfortunately the Quota API seems to only provide CPU usage.
>
> Does anyone know of a way to do this?  Or if you have any better ideas
> on preserving bandwidth with respect to the other resources, I'm all
> ears.
>
> Thanks,
> Arjun
>
> --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

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