Re: [rtcweb] realiable data service

Emil Ivov <emcho@jitsi.org> Wed, 20 July 2011 11:09 UTC

Return-Path: <emil@sip-communicator.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEE9521F8A7E for <rtcweb@ietfa.amsl.com>; Wed, 20 Jul 2011 04:09:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Level:
X-Spam-Status: No, score=-3.149 tagged_above=-999 required=5 tests=[AWL=-0.450, BAYES_00=-2.599, J_CHICKENPOX_46=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pXwqnOs8Z+Ch for <rtcweb@ietfa.amsl.com>; Wed, 20 Jul 2011 04:09:03 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id 7909021F8A71 for <rtcweb@ietf.org>; Wed, 20 Jul 2011 04:09:02 -0700 (PDT)
Received: by wwe5 with SMTP id 5so82721wwe.13 for <rtcweb@ietf.org>; Wed, 20 Jul 2011 04:09:01 -0700 (PDT)
Received: by 10.227.174.73 with SMTP id s9mr6200655wbz.75.1311160141520; Wed, 20 Jul 2011 04:09:01 -0700 (PDT)
Received: from porcinet.u-strasbg.fr ([2001:660:4701:1001:21e:c2ff:fe1b:2fe]) by mx.google.com with ESMTPS id p14sm100630wbh.30.2011.07.20.04.09.00 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 04:09:00 -0700 (PDT)
Message-ID: <4E26B74B.3050501@jitsi.org>
Date: Wed, 20 Jul 2011 13:08:59 +0200
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; bg; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
References: <CAMKM2LzpVcS9jjXjfffuXy+YQmjZXbdaSJBp+O22nLd4N2KAvg@mail.gmail.com> <CA4AFBFA.1C4B5%henry.sinnreich@gmail.com> <CAOJ7v-3R0PeUSdVZ0n7AE08J=UjYMJqJ+4-Vkbj7w0qs0u=Rgw@mail.gmail.com> <4E25B2BA.8000004@jesup.org> <4E25B893.6010200@jitsi.org> <CAMKM2Lz_sgrmHVpuuGfyukmxdO-+qaWjyOhQzU6vTSDaAwytxQ@mail.gmail.com> <4E26A354.2020306@ericsson.com>
In-Reply-To: <4E26A354.2020306@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] realiable data service
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2011 11:09:07 -0000

На 20.07.11 11:43, Stefan Håkansson LK написа:
> On 2011-07-19 19:09, Serge Lachapelle wrote:
>> There are many very established ways to transfer files from a web
>> browser. Dropbox, Google Docs, yousendit, mobileme, not counting the
>> media specific ways, such as Flickr, Spotify, Youtube, etc... All
>> offering great APIs for uploads, ACLs, etc...
>>
>> Seems like re-inventing the wheel.
> I tend to agree. What the data channel of rtcweb could provide is 
> shorter latency - but to me that does not seem relevant for a file transfer.

I am not so sure about that. Transferring a file directly between you
and your peer is often way faster than relaying through the servers of
well known services. The time necessary to transfer several tens of megs
can very greatly ... from a couple of minutes to an hour or more. Users
are definitely very sensitive to this.

Besides, this is not only about the latency. It's mostly about the
reources that such relayed transfers require on the server side. Most
providers want to bring those to a minimum. So much so, that some even
put relatively low caps on the traffic you can send through the
signalling channel.

For example, the desktop sharing implementation we have in Jitsi uses
signalling (SIP or XMPP) to convey key and mouse events. When using
Google's XMPP service users would regularly experience blockages caused
by the Google service dropping XMPP IQs when they go above a certain
frequency. And this is in no way a criticism for the service itself ...
it is however definitely a reason to have a reliable means of
communicating directly between peers (or at least as directly as possible).

Emil


>>
>> /Serge
>>
>> On Tue, Jul 19, 2011 at 19:02, Emil Ivov <emcho@jitsi.org
>> <mailto:emcho@jitsi.org>> wrote:
>>
>>
>>
>>     На 19.07.11 18:37, Randell Jesup написа:
>>      > On 7/19/2011 11:58 AM, Justin Uberti wrote:
>>      >> At Google, we created a TCP/ICE-UDP layering to solve this exact
>>      >> problem, using a user-mode implementation of TCP. It has some rough
>>      >> edges, but has worked well in practice, and the code is freely
>>     available.
>>      >
>>      > Right; pretty much what I'd anticipate
>>
>>     +1 most definitely. Again, I have yet to see a massively used RTC
>>     application that doesn't have file transfer. So if this is not part of
>>     RTCWEB we will basically be asking developers to reimplement Pseudo TCP
>>     in JavaScript.
>>
>>     Emil
>>
>>      >, and working open code is good.
>>      > SCTP as mentioned is a good choice too, and there exist (it appears)
>>      > SCTP-over-UDP implementations, which may ease things.  Also the
>>      > TCP-over-UDP library I pointed to.
>>      >
>>      >> We know people will want/need a reliable messaging mechanism for p2p
>>      >> data. While we can debate the details of this mechanism at length, I
>>      >> suspect anything we choose will result in a better end-state than if
>>      >> we require application developers to implement their own.
>>      >
>>      > As is obvious from my other messages, I agree wholeheartedly.
>>      >
>>      >> On Tue, Jul 19, 2011 at 7:16 AM, Henry Sinnreich
>>      >> <henry.sinnreich@gmail.com <mailto:henry.sinnreich@gmail.com>
>>     <mailto:henry.sinnreich@gmail.com
>>     <mailto:henry.sinnreich@gmail.com>>> wrote:
>>      >>
>>      >>     +1
>>      >>     Maybe it would be useful for the proponents of this and many
>>     other
>>      >>     “desirable” features to think from the perspective if they would
>>      >>     have to pay themselves for such developments and also make the
>>      >>     code freely available.
>>      >>     Cullen at least will make his code available.
>>      >>
>>      >
>>      > See above.  No one here wants to develop *another* reliable
>>     protocol if
>>      > we can avoid it.  I understand your reluctance.
>>      >
>>      > The goal is to produce something that will meet the needs and get
>>     used.
>>      > If we don't meet the
>>      > needs of the prospective users it's either an total waste of time (if
>>      > they ignore this effort and stick
>>      > with Flash/plugins/etc) or we get all sorts of
>>      > hack/bad/problematic/incompatible implementations
>>      > by individual developers using the UDP (or RTP!) streams we open as a
>>      > base transport.
>>      >
>>      > To your point, another way this effort could fail is by biting
>>     off too
>>      > much or taking too long to
>>      > converge, which is a real danger.  That's one reason to leverage
>>      > existing protocols.
>>      >
>>
>>     --
>>     Emil Ivov, Ph.D.                       67000 Strasbourg,
>>     Project Lead                           France
>>     Jitsi
>>     emcho@jitsi.org <mailto:emcho@jitsi.org>
>>       PHONE: +33.1.77.62.43.30 <tel:%2B33.1.77.62.43.30>
>>     http://jitsi.org                       FAX: +33.1.77.62.47.31
>>     <tel:%2B33.1.77.62.47.31>
>>
>>     _______________________________________________
>>     rtcweb mailing list
>>     rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/rtcweb
>>
>>
>>
>>
>> --
>> Serge Lachapelle | Product Manager |sergel@google.com
>> <mailto:sergel@google.com> |+46 732 01 22 32
>> <tel:%2B46%20732%2001%2022%2032>
>> Google Sweden AB | Kungsbron 2, SE-111 22 Stockholm | Org. nr. 556656-6880
>>
>> Apparently, this footer is required in Europe. Apologies. This email may
>> be confidential or privileged.  If you received this communication by
>> mistake, please don't forward it to anyone else,please erase all copies
>> and attachments, and please let me know that it went to the wrong
>> person.  Thanks.
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb

-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
http://jitsi.org                       FAX:   +33.1.77.62.47.31