Re: [hybi] Versioning is a anti-pattern

Greg Wilkins <gregw@webtide.com> Mon, 06 September 2010 13:03 UTC

Return-Path: <gregw@webtide.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6F6243A6914 for <hybi@core3.amsl.com>; Mon, 6 Sep 2010 06:03:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJ9+keq0zhiV for <hybi@core3.amsl.com>; Mon, 6 Sep 2010 06:03:00 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 4B0FC3A691B for <hybi@ietf.org>; Mon, 6 Sep 2010 06:03:00 -0700 (PDT)
Received: by wwj40 with SMTP id 40so5143179wwj.13 for <hybi@ietf.org>; Mon, 06 Sep 2010 06:03:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.227.142.201 with SMTP id r9mr1931225wbu.38.1283778208361; Mon, 06 Sep 2010 06:03:28 -0700 (PDT)
Received: by 10.227.154.145 with HTTP; Mon, 6 Sep 2010 06:03:28 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.00.1009030843230.25862@sirius>
References: <20100901224502.0519B3A687C@core3.amsl.com> <AANLkTikP1CF22fL0rBniXmrxEoBAbTNfzP9kyiNA4nbb@mail.gmail.com> <AANLkTi=_1m36ThFZTH_aGE_Unz0KTeexJq_74UGr2j+u@mail.gmail.com> <alpine.DEB.2.00.1009022022090.7470@tvnag.unkk.fr> <AANLkTinyQUYn_zRZKPC0Gp7MeT13O2jhXu1EyNLOojXR@mail.gmail.com> <AANLkTikkGGJ1dhzP7z-qnxiAs_Bus8rEecV0YBO9Uw5N@mail.gmail.com> <alpine.DEB.2.00.1009030843230.25862@sirius>
Date: Mon, 06 Sep 2010 23:03:28 +1000
Message-ID: <AANLkTi=diWCxP1Mnrvvfc0sDpRT-FePegcyVFsNV22ZG@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: hybi <hybi@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [hybi] Versioning is a anti-pattern
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 13:03:01 -0000

On 3 September 2010 16:47, James Graham <jgraham@opera.com> wrote:
> On Fri, 3 Sep 2010, Greg Wilkins wrote:
>> The difference in protocol behaviour between these 3 versions is
>> significant and it would be neigh impossible for a server to service
>> the variety of clients deployed without a version. Supporting 3
>> versions of the protocol does complicate the server, but there is no
>> other choice as you cannot force web clients to upgrade (nor me to
>> remember the args to curl)
>
> So, to makw sure I understand you correctly, you are proposing that future
> clients and servers support *all* the versions of the draft that have ever
> seen non-trivial deployment (possibly including hixie-75, likely including
> hixie-76, and presumably including more future versions that happen to line
> up with significant client releases)?

James,

all I'm proposing at the moment is that we identify draft versions
while we are in draft.

However, in general, I expect that servers will need to support
multiple versions of the specification, even if they are not actually
identified with version numbers (or user-agents or heuristics or
whatever ).  That is just the reality of the situation - successful
servers must support a wide range of deployed clients and it takes
many years for clients with significant deployment to fade away
(although it is not as slow as it once was).

I would hope that we will never have the need for clients to have to
handle multiple versions.

cheers