[Openstack] Gzip Compression

Jay Pipes jaypipes at gmail.com
Fri Mar 4 14:50:41 UTC 2011

On Thu, Mar 3, 2011 at 11:06 AM, Brian Lamar <brian.lamar at rackspace.com> 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,


More information about the Openstack mailing list