HTTP2 Expression of Interest : Squid

Amos Jeffries <squid3@treenet.co.nz> Sun, 15 July 2012 10:03 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A38621F8494 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:03:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.102
X-Spam-Level:
X-Spam-Status: No, score=-10.102 tagged_above=-999 required=5 tests=[AWL=0.497, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LajA4BAtW5o8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 15 Jul 2012 03:03:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6968D21F848F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 15 Jul 2012 03:03:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SqLf9-0003rj-NP for ietf-http-wg-dist@listhub.w3.org; Sun, 15 Jul 2012 10:02:51 +0000
Resent-Date: Sun, 15 Jul 2012 10:02:51 +0000
Resent-Message-Id: <E1SqLf9-0003rj-NP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqLf1-0003qy-ID for ietf-http-wg@listhub.w3.org; Sun, 15 Jul 2012 10:02:43 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SqLey-0007kO-Sa for ietf-http-wg@w3.org; Sun, 15 Jul 2012 10:02:43 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 75CE6E6F91 for <ietf-http-wg@w3.org>; Sun, 15 Jul 2012 22:02:16 +1200 (NZST)
Message-ID: <50029522.5030705@treenet.co.nz>
Date: Sun, 15 Jul 2012 22:02:10 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SqLey-0007kO-Sa 6d04215b94e40559521ce94b9185f839
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/50029522.5030705@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14211
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

As the current Squid proxy maintainer this is my expression of interest 
in HTTP/2.0. It is made as an individual submission with a mind for the 
Squid Project and user community needs but due to the collaborative 
nature of the Squid Project does not represent the Project as a whole.


The Squid Project implements a general-use HTTP proxy with capabilities 
including but not limited to; caching, content adaptation, content 
generation and assembly, content filtering, access control, HTTP 
routing, HTTP and HTTPS interception, HTTP traffic quality of service 
flow controls, and traffic optimization.

The development of improved HTTP protocol in all forms is of high 
interest to the Squid Project. Fast and efficient proxy operations are 
of paramount interest for the Squid user community.


HTTP/1.1 issues

The Squid Project developers are aware of numerous issues surrounding 
syntax parsing and processing which complex handling limits the 
throughput capacity of proxy installations. These syntax parsing 
inefficiencies are directly impacting on the user community goal of high 
performance.

The Squid Project community has often expressed feedback complaints 
which after investigation turn out to be based on HTTP connection 
capabilities, largely inherited from HTTP/1.0 default connections-close 
behaviours but which also remain within HTTP/1.1 due to dynamic content 
and limitations with pipelining failure recovery. Improved connection 
multiplexing and pipelining is seen as a desirable behaviour for better 
performance by many within the Squid community.

HTTP/1 contains a few signalling issues which have on occasion led to 
inefficient designs being implemented to avoid problems. The 1XX status 
feature of HTTP/1 goes some way towards this. However a more efficient 
signalling feature is needed to raise the overall efficiency of HTTP.

HTTP/1 is implicitly limited to TCP-like stream transports. There have 
been user community proposals for extension to transmit HTTP over other 
protocols. These are echoed by a number of RFC proposals for alternative 
protocols to transfer the same resources over other datagram and 
security-oriented transfer protocols. The Squid user community includes 
groups with particular interests in such additional protocol underlays 
for HTTP and seeing any future deployments more flexible than the 
current infrastructure.


HTTP/2 interest

The Squid proxy implementation is driven by community contributions, 
with guidance from a group of core developers maintaining Project focus 
and consistency. As such I cannot speak for certain about whether Squid 
Project will (or not) implement any particular proposal in the future.


draft-mbelshe-httpbis-spdy-00
-----------------------------

The SPDY proposal appears to offer an alternative to HTTPS, but is 
tightly tied to TCP and TLS infrastructure. As such it cannot meet the 
transport portability and message transparency requirements several 
groups within the Squid user community have as mandatory features for 
both operational and legal reasons. Nor can it efficiently support the 
interception and transformation needs of a large portion of the community.

There have been community requests for implementation of the SPDY 
protocol within Squid. However as yet none of the community have been 
willing to produce an implementation. Also, due to lack of 
implementation for SPDY connection to proxies from Browsers the public 
implementation focus of SPDY within Squid community has been limited to 
discussions of whether SPDY could be intercepted and translated back 
into HTTP/1, and for implementing a SPDY gateway with any efficiency.

There are also a number of semantic feature extensions above and beyond 
HTTP/1 included in this specification. This may or may not be an issue 
for implementation, but it seems early to spring new semantics

My view is that SPDY layering should be separated and the non-HTTP layer 
considered as an alternative transport for HTTP similar to TCP, UDP, 
STCP, CoAP and HTCP which all seek to relay HTTP messages. Only the HTTP 
specific syntax and framing improvements should be considered by the WG 
as input to HTTP/2 specifications.


draft-montenegro-httpbis-speed-mobility-02
------------------------------------------

This proposal lacks a measure of support for HTTP/1 features. A gateway 
definition for translation of HTTP/1 features into the mobility frames 
is sadly lacking.

Since this proposal uses WebSocket framing; there have been no comments 
or requests from the Squid user community or developers towards 
implementing WebSockets in Squid. The developer projects to my knowledge 
are limited to intercepting WebSockets and translating as much as 
possible into HTTP/1 traffic.

My view is that the introductory sections of this draft should be 
considered as important requirements input to the WG designs.


draft-tarreau-httpbis-network-friendly-00
-----------------------------------------

This proposal has been designed with the SPDY improvements and many of 
the problems identified by the Squid community and developers in mind. 
It contains mandatory functionality which are seen by the Squid user 
community as beneficial for high-performance proxying; multiplexing and 
pipelining, flow control (implied, not stated specifically), and 
efficient HTTP-specific header compression. While leaving optional all 
features which are beneficial only to specific groups within the Squid 
user community and HTTP environment as a whole; security, 
authentication, data integrity, push/pull, and sessions.

As co-author of this proposal I have been working on an implementation 
for use within the Squid code and use by other projects.

My view on this is naturally biased, that the WG should take this draft 
as an outline on which to adapt the framing specifics and integrate the 
HTTP/2 requirements.


Overall Perspecitive:

I look forward to working with the HTTPbis working group on combining 
the designs from all these proposals into a final HTTP/2 specification. 
As specified currently none of the proposals are suitable for large 
scale implementation, but all have some small measure of support from 
within the user community.



Amos Jeffries
Squid Project