Re: [xmpp] 3921bis: probe + unavailable

Jonas Lindberg <jonasl@google.com> Mon, 01 February 2010 20:35 UTC

Return-Path: <jonasl@google.com>
X-Original-To: xmpp@core3.amsl.com
Delivered-To: xmpp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 07B7528C163 for <xmpp@core3.amsl.com>; Mon, 1 Feb 2010 12:35:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.977
X-Spam-Level:
X-Spam-Status: No, score=-102.977 tagged_above=-999 required=5 tests=[AWL=-1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
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 n5vf6KV1NZbR for <xmpp@core3.amsl.com>; Mon, 1 Feb 2010 12:35:52 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 1778128C13C for <xmpp@ietf.org>; Mon, 1 Feb 2010 12:35:51 -0800 (PST)
Received: from wpaz5.hot.corp.google.com (wpaz5.hot.corp.google.com [172.24.198.69]) by smtp-out.google.com with ESMTP id o11KaQsH016609 for <xmpp@ietf.org>; Mon, 1 Feb 2010 12:36:27 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1265056587; bh=DgxHfIi4xrKqc/QvCJRg5YE3rYI=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ufj0484CarJJ2I3fX0ZtNdI4g+RDhXaTeB/ff3etAegKbDqBAYuGM/LvIVZqLAidT IOvtccp8/09/BY8St4qIg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:x-system-of-record; b=flAIu4R+Peh680mozHiOeNYGwe7Sh7pcEQVxVIbHXz0vM/A57L0pWtuMv9+rAmE6J XDjZUPg41ZX7YK+m5cvoA==
Received: from ywh3 (ywh3.prod.google.com [10.192.8.3]) by wpaz5.hot.corp.google.com with ESMTP id o11KaP1E023117 for <xmpp@ietf.org>; Mon, 1 Feb 2010 12:36:26 -0800
Received: by ywh3 with SMTP id 3so1985441ywh.22 for <xmpp@ietf.org>; Mon, 01 Feb 2010 12:36:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.151.89.31 with SMTP id r31mr7168114ybl.57.1265056585585; Mon, 01 Feb 2010 12:36:25 -0800 (PST)
In-Reply-To: <952A4B1F81123B479292D4B5FDC00D8503BA5E39@SRV-EXSC03.webex.local>
References: <4B6202CF.6070702@stpeter.im> <14795.1264714828.295077@puncture> <42E4D3A6-6F8A-4005-8563-18F8CF934971@webkeks.org> <4B62F78E.1030400@stpeter.im> <12A2144C-5AEB-44B4-BFC6-C8D8DC66CC3E@webkeks.org> <4B63609C.2000702@stpeter.im> <1764944E-D3E1-4BD5-BAF2-D84380983438@webkeks.org> <a74e91db1001301429g6c69bc10xddfc3a59baf2ac5b@mail.gmail.com> <952A4B1F81123B479292D4B5FDC00D8503BA5E39@SRV-EXSC03.webex.local>
From: Jonas Lindberg <jonasl@google.com>
Date: Mon, 01 Feb 2010 21:34:24 +0100
Message-ID: <a74e91db1002011234o1bf8606dg3b57f26244e6a271@mail.gmail.com>
To: Ben Schumacher <Ben.Schumacher@webex.com>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis: probe + unavailable
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Feb 2010 20:35:53 -0000

On Mon, Feb 1, 2010 at 8:56 PM, Ben Schumacher <Ben.Schumacher@webex.com> wrote:
> On 01/30/2010 03:29 PM, Jonas Lindberg wrote:
>> While I agree this would simplify the protocol a little, I am not
>> convinced it is a change worth making.
>>
>> First of all, not responding to probe when unavailable is a pretty
>> good optimization. A large part of Xmpp traffic is presence. This
>> change would further significantly increase the presence traffic,
>> making scaling more challenging and adding load to c2s and s2s
>> connections. For example, a cell phone xmpp client may be better off
>> not getting potentially thousands of presence unavailable stanzas for
>> offline friends when connecting over gprs.
>>
>> I'm also not convinced this change make it significantly easier to
>> implement xmpp clients/servers. Especially if we are going to
>> recommend that clients and servers SHOULD cope with no response for
>> legacy reasons.
>>
>
> Jonas-
>
> I agree with your points -- it would likely result in extra traffic.
> That being said, I much prefer this to the ambiguity (and potential
> presence leak) of the prior language. As it happens, servers and clients
> will *always* have to cope with no response as this is a network'd
> service and packets can get lost, etc, so I'm not sure the language
> should be "SHOULD" re: legacy services, but rather maybe a note that
> indicates that you may not get a response.
>
> Ben
>

While one can argue it's a little prettier, I don't think it's very practical.

Making this change at scale requires very significant work and comes
at a significant cost in traffic increase (consider user with >1000
mostly offline friends). It will also result in worse user experience
for users with large rosters on low bandwidth connections, like the
common scenario of a cell phone.

Clients will need to deal with presence leaks as long as delivery
isn't guaranteed.. How about just adding an probe answer-required
extension?