Re: [hybi] Random Responses

Mridul Muralidharan <mridulm80@yahoo.com> Sun, 12 April 2009 12:41 UTC

Return-Path: <mridulm80@yahoo.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 3088A3A6B79 for <hybi@core3.amsl.com>; Sun, 12 Apr 2009 05:41:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.25
X-Spam-Level:
X-Spam-Status: No, score=-2.25 tagged_above=-999 required=5 tests=[AWL=0.349, BAYES_00=-2.599]
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 y7m+pkgwl6Q9 for <hybi@core3.amsl.com>; Sun, 12 Apr 2009 05:41:49 -0700 (PDT)
Received: from n8-vm0.bullet.mail.in.yahoo.com (n8-vm0.bullet.mail.in.yahoo.com [202.86.4.189]) by core3.amsl.com (Postfix) with SMTP id C22053A697E for <hybi@ietf.org>; Sun, 12 Apr 2009 05:41:48 -0700 (PDT)
Received: from [202.86.4.170] by n8.bullet.mail.in.yahoo.com with NNFMP; 12 Apr 2009 12:42:57 -0000
Received: from [203.104.17.88] by t1.bullet.in.yahoo.com with NNFMP; 12 Apr 2009 12:42:57 -0000
Received: from [127.0.0.1] by omp102.mail.in2.yahoo.com with NNFMP; 12 Apr 2009 12:42:57 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 554666.9551.bm@omp102.mail.in2.yahoo.com
Received: (qmail 37218 invoked by uid 60001); 12 Apr 2009 12:42:57 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239540177; bh=RAORkZpfQusK3exHSzaR6vI3xN5OCSY4tqxUcI8bYsE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rw6hO4Kn0SQj/G7MUmIfMYV2bipmrzlIss1uPGKHTIJM5utiCO1WJe8KwnS5Sxxsxy+pgyxocKLkc+fQr//XOuOYJNOq08kEDOqikbmJsXVe4ccbDF+LMPYhIWA5NNjxhEOXwKLD33wZD2JrwoJ1ZF4fQBAcntM7YM/E8xly5Bs=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rYNOw5rQeijq8Imt8LcSrIpB65m3zvnAEkz+5UQeXzFagBZtSAna4Vf/UzTGygYwmq7GvD5CSXdt064t6Sq6odSea/Hl006OYboxYGhDGfgKdTyETH2QTXFO3AWXpA28tRIX7hDajGzj1RYzT/92Up/7Q5Sr+VJ5Ur73+CrFMCE=;
Message-ID: <377449.36122.qm@web95405.mail.in2.yahoo.com>
X-YMail-OSG: BFbMf7sVM1nAHEwInpxuOVt2vjOgzCxJuwBkaR1tjzmozAni7slULSt1YP0q8ni5yvGNBycI6tFxmAhX1vj9PxSGc1iL3EgehogRGPBjn4_LyHz_p_2Jsh.mTu.MAZ1.boayxI5vZEHXgNNBuyO6HBrEhtT3Hjha4BSctatuowRZ6o8Pp36udmm3.kmNAOe11bJ.H_1.96le6w--
Received: from [122.167.176.126] by web95405.mail.in2.yahoo.com via HTTP; Sun, 12 Apr 2009 18:12:57 IST
X-Mailer: YahooMailClassic/5.2.15 YahooMailWebService/0.7.289.1
Date: Sun, 12 Apr 2009 18:12:57 +0530
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Mark Lentczner <markl@lindenlab.com>, Greg Wilkins <gregw@webtide.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: hybi@ietf.org
Subject: Re: [hybi] Random Responses
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: Sun, 12 Apr 2009 12:41:50 -0000


Yes, BEEP does fit the requirements discussed so far ... (not to mention support for flow control which becomes immediately necessary in bi-directional streams).

Flip side would be, I am not sure if it is upgradable from HTTP with current infrastructure - other than through CONNECT that is.

Regards,
Mridul

--- On Sun, 12/4/09, Greg Wilkins <gregw@webtide.com> wrote:

> From: Greg Wilkins <gregw@webtide.com>
> Subject: Re: [hybi] Random Responses
> To: "Mark Lentczner" <markl@lindenlab.com>
> Cc: hybi@ietf.org
> Date: Sunday, 12 April, 2009, 7:57 AM
> Mark Lentczner wrote:
> > 
> >  I should have said that we have a need for
> full-duplex request-response -- either side can
> spontaneously send a request message, and either side can,
> when ready, reply to a prior request.
> 
> BEEP!
> 
> > for any complex page, an application is almost
> certainly going to want a way to address which widget on the
> page is the intended recipient of the event. Hence, each
> application is going to have to devise an addressing scheme,
> and more importantly, a method of encoding that address in
> the simple string event.
> 
> BEEP!
> 
> > I think popularity of HTTP for many kinds of
> > applications has shown that one or more features of
> HTTP(*) are often applicable to an application's needs,
> while the overhead of these features is low enough to be
> worth including them in the protocol for all.(**)
> > 
> >     - Mark
> > 
> > (*) Addressing (URLs), Method, Headers, Content
> specification, Transfer specification, Status
> 
> BEEP!
> 
> > (**) I imagine the wire overhead for putting a minimal
> string event into an HTTP message would be something like:
> >     POST / HTTP/1.1
> >     Host:
> > 
>    Content-Type:text/plain;charset=UTF-8
> >     Content-Length:xxx
> > 
> > and
> >     204 ACK
> > That's 96 bytes overhead for a 100 to 999 byte
> payload. Seems high, but for the usage cases that web pages
> present, this probably is not relevant.  Further, once
> one has this framing, it is very likely that rather than
> build addressing into the string payload, applications would
> just make use of the URL field. Plus, this framing already
> has character encoding support.
> 
> BEEP!
> 
> 
> Generally agreeing with all your points.  Yet the
> attributes you
> describe do sound pretty much like BEEP protocol - or at
> least
> beep framing.
> 
> BEEP is very much a HTTP style protocol with addition of
> bidirectionality, multiple response requests and multiple
> channels over a single connection.
> 
> If BEEP was extended with a few default assumptions (eg
> UTF-8 text body if no content type specified), then it
> would
> approach the byte efficiency of websocket, while
> preserving
> the extensibility and flexibility of HTTP.
> 
> If the security and authentication aspects of BEEP were
> stripped, then a pretty simply protocol would remain.
> 
> 
> IF I was forced to pick a winner.... then I'd certainly
> look very closely at BEEP or a BEEP derivative.
> 
> 
> cheers
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
> 


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/