Re: [Simple] Few questions on <draft-ietf-simple-presence-10.txt>

Jonathan Rosenberg <jdrosen@dynamicsoft.com> Mon, 01 December 2003 17:22 UTC

Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18615; Mon, 1 Dec 2003 12:22:53 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AQrlK-0005Yr-00; Mon, 01 Dec 2003 12:23:06 -0500
Received: from [132.151.1.19] (helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 1AQrlK-0005Ym-00; Mon, 01 Dec 2003 12:23:06 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AQrlF-0003NH-Dw; Mon, 01 Dec 2003 12:23:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AQrkj-0003Me-47 for simple@optimus.ietf.org; Mon, 01 Dec 2003 12:22:29 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18583 for <simple@ietf.org>; Mon, 1 Dec 2003 12:22:13 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AQrkh-0005Ya-00 for simple@ietf.org; Mon, 01 Dec 2003 12:22:27 -0500
Received: from [63.113.44.69] (helo=mail3.dynamicsoft.com) by ietf-mx with esmtp (Exim 4.12) id 1AQrkh-0005Xt-00 for simple@ietf.org; Mon, 01 Dec 2003 12:22:27 -0500
Received: from dynamicsoft.com ([63.113.46.43]) by mail3.dynamicsoft.com (8.12.8/8.12.1) with ESMTP id hB1HLnca025072; Mon, 1 Dec 2003 12:21:49 -0500 (EST)
Message-ID: <3FCB78A8.8050205@dynamicsoft.com>
From: Jonathan Rosenberg <jdrosen@dynamicsoft.com>
Organization: dynamicsoft
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Paul Kyzivat <pkyzivat@cisco.com>
CC: "Song, Youngsun" <ysong@telcordia.com>, Simple WG <simple@ietf.org>
Subject: Re: [Simple] Few questions on <draft-ietf-simple-presence-10.txt>
References: <7B762A7337179544B02B707FAC7F6F1903C98FC1@rrc-its-exs03.mail.saic.com> <3FCB6950.7000602@cisco.com>
In-Reply-To: <3FCB6950.7000602@cisco.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: simple-admin@ietf.org
Errors-To: simple-admin@ietf.org
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/simple/>
Date: Mon, 01 Dec 2003 12:21:44 -0500
Content-Transfer-Encoding: 7bit


Paul Kyzivat wrote:

> 
> 
> Song, Youngsun wrote:
> 
>> Hi,
>>
>> In <draft-ietf-simple-presence-10.txt>, it mentions
>> "application/cpim-pidf+xml" as the presence data format content type. 
>> However in <draft-ietf-impp-cpim-pidf-08.txt>, it defines the presence
>> content type as "application/pidf+xml". Are these different types of 
>> content
>> types?
> 
> 
> Looks like a bug to me.

Yup, and a big one. I'll be sure it gets fixed in authors 48.

> 
>> In Section 6.11.2, Migration, of <draft-ietf-simple-presence-10.txt>, it
>> seems that the migration is likely to be used to migrate subscriptions 
>> from
>> PA to PUAs. At the end of the section, it states "A PA SHOULD NOT migrate
>> the subscription if it is composing aggregated presence documents 
>> received
>> from multiple PUA." Since it is likely that there will be multiple PUAs
>> where the PA will act as State Agent for presence, it seems that the
>> subscription migration is not likely to occur. Is this right? I am 
>> trying to
>> understand the usage of migration for presence.

My general sense is that migration will not be terribly common. Over 
time, I would expect that the common case is multiple PUA, in which 
case migration is not possible. I think the system is overall easier 
to design and manage when presence is stored and processed in a 
single, reliable place.

> 
> 
> There are many ways to implement this, and I'm not sure I understand 
> what one you have in mind. One way that seems likely is for there to be 
> a single PA acting on behalf of many presentities. For each presentity 
> there may be zero, one, or more PUAs providing presence documents to be 
> composed.
> 
> The decision the PA must make about migrating a subscription needs to be 
> made independently for each presentity. If the PA is aggregating 
> presence from multiple PUAs on behalf of a particular presentity, then 
> it would be unwise to migrate the presence subscriptions to one of the 
> PUAs.  But it can be fine to do so for a presentity that has only one PUA
> reporting.
> 
> Clearly there are logistical problems if a second PUA comes online when 
> subscriptions have been migrated to what had been the only PUA. Either 
> that case needs to be avoided by configuration, or else it must be 
> detected so that subscriptions can be migrated back to the PA.

I believe it can be detected if the second PUA uses PUBLISH. When the 
publish reaches the presence server for the domain, it would 
presumably forward the request to the UA that is currently acting as 
PA. If that UA cannot compose together presence documents, it can 
reject the PUBLISH (with a Retry-After), terminate all subscriptions, 
and unregster support for the SUBSCRIBE method. This would force 
migration back to the server.

-Jonathan R.
-- 
Jonathan D. Rosenberg, Ph.D.                600 Lanidex Plaza
Chief Technology Officer                    Parsippany, NJ 07054-2711
dynamicsoft
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com


_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple