Re: [hybi] Intermediaries

Greg Wilkins <gregw@webtide.com> Mon, 17 August 2009 04:46 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 B56693A6881 for <hybi@core3.amsl.com>; Sun, 16 Aug 2009 21:46:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.976
X-Spam-Level:
X-Spam-Status: No, score=-0.976 tagged_above=-999 required=5 tests=[AWL=-0.791, BAYES_40=-0.185]
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 Cf1kvZ30e-IT for <hybi@core3.amsl.com>; Sun, 16 Aug 2009 21:46:21 -0700 (PDT)
Received: from mail-px0-f171.google.com (mail-px0-f171.google.com [209.85.216.171]) by core3.amsl.com (Postfix) with ESMTP id F2C2F3A697F for <hybi@ietf.org>; Sun, 16 Aug 2009 21:46:20 -0700 (PDT)
Received: by pxi1 with SMTP id 1so1217440pxi.31 for <hybi@ietf.org>; Sun, 16 Aug 2009 21:46:23 -0700 (PDT)
Received: by 10.141.51.2 with SMTP id d2mr909794rvk.222.1250484383468; Sun, 16 Aug 2009 21:46:23 -0700 (PDT)
Received: from ?10.10.1.11? (60-242-119-126.tpgi.com.au [60.242.119.126]) by mx.google.com with ESMTPS id b39sm18065603rvf.10.2009.08.16.21.46.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 Aug 2009 21:46:22 -0700 (PDT)
Message-ID: <4A88E094.2080805@webtide.com>
Date: Mon, 17 Aug 2009 14:46:12 +1000
From: Greg Wilkins <gregw@webtide.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090608)
MIME-Version: 1.0
To: Kris Zyp <kris@sitepen.com>
References: <4A84819B.1040500@sitepen.com>
In-Reply-To: <4A84819B.1040500@sitepen.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: hybi@ietf.org
Subject: Re: [hybi] Intermediaries
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, 17 Aug 2009 04:46:21 -0000

Kris,

+1 on supporting intermediaries.

I think it is important to at least allow intermediaries to cleanly
close connections without routine loss of messages and retry+idempotency
complications.

Multiplexing support is also key if intermediaries are going to
be capable of doing much intelligent stuff.

More in-line....


Kris Zyp wrote:
> * Subscription mechanisms defined in the protocol

I can't believe that I'm about to type this.... because I
really like subscription mechanisms....   With cometd/bayeux,
I think one of the biggest sources of confusion has been that
subscription is built into the protocol, so that while non-subscription
delivery is supported, people just don't get it and those that
don't want subscription are very anti the bayeux protocol.

So I would say approach subscription with caution... and
potentially specify it as a layer on top of the base protocol.

As you say, multicast is a big win for the subscription model
( as used Oort Cometd cloud).



> * HTTP cache updating 

Neat idea.   I also think that the bidirectional protocol
should be able to carry regular HTTP request/responses as
well.    It would be strange if you had a fully capable
bidirectional connection, but had to crack open another
TCP/IP connection just to get favicon.ico


You could almost consider that caching mechanism an
extension of the subscription mechanism.  If you
subscribed to favicon.ico you would be sent that
resource again whenever it updated.


cheers