← Back to team overview

openstack team mailing list archive

Re: Gzip Compression

 

On Thu, Mar 3, 2011 at 11:06 AM, Brian Lamar <brian.lamar@xxxxxxxxxxxxx> wrote:
> Part of the API specification says that the OpenStack API supports gzip compression in requests and responses. I have an extremely simple WSGI middleware implementation of this finished, but it does not support streaming which could potentially be non-performant for large responses.
>
> Keep in mind this is middleware and could be added/removed easily.
>
> My initial thought is to not attempt to include this type of middleware in OpenStack because gzip compression is best handled by a proxy system such as Nginx/Apache/etc.

This is precisely the conclusion we came to in Glance. Let Squid or
Varnish handle caching, compression, etc, and let Glance focus on
registering image data.

My 2 cents,

-jay



Follow ups

References