Re: [Sip] WGLC for draft-ietf-sip-subnot-etags-01

Dale.Worley@comcast.net Mon, 03 March 2008 21:38 UTC

Return-Path: <sip-bounces@ietf.org>
X-Original-To: ietfarch-sip-archive@core3.amsl.com
Delivered-To: ietfarch-sip-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A47028C3E7; Mon, 3 Mar 2008 13:38:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.563
X-Spam-Level:
X-Spam-Status: No, score=-0.563 tagged_above=-999 required=5 tests=[AWL=-0.126, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_ORG=0.611, RDNS_NONE=0.1]
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 MHLqKqr7UThq; Mon, 3 Mar 2008 13:38:00 -0800 (PST)
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC0543A6CDC; Mon, 3 Mar 2008 13:38:00 -0800 (PST)
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A41BD3A6C5C for <sip@core3.amsl.com>; Mon, 3 Mar 2008 13:37:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
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 RBhf6knqCGoE for <sip@core3.amsl.com>; Mon, 3 Mar 2008 13:37:58 -0800 (PST)
Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by core3.amsl.com (Postfix) with ESMTP id 446C43A6D10 for <sip@ietf.org>; Mon, 3 Mar 2008 13:37:52 -0800 (PST)
Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA09.westchester.pa.mail.comcast.net with comcast id wkgi1Y00L0cZkys5905L00; Mon, 03 Mar 2008 21:36:41 +0000
Received: from dragon.ariadne.com ([76.19.174.1]) by OMTA10.westchester.pa.mail.comcast.net with comcast id wldh1Y00L02AVH03W00000; Mon, 03 Mar 2008 21:37:41 +0000
X-Authority-Analysis: v=1.0 c=1 a=R1moKveJymij1MvJ5QcA:9 a=b8Mncpvej-D0jhCxZ5EA:7 a=qlV1lU9Ori_S_rga2Di6qPxWDagA:4 a=1pxjJC3EenQA:10 a=lZB815dzVvQA:10 a=CDGxlOTZlHAA:10 a=GDpXhxC-ij4A:10 a=Bh2WEHcu4jIA:10 a=8y7tGHue6YMA:10
Received: from dragon.ariadne.com (dragon.ariadne.com [127.0.0.1]) by dragon.ariadne.com (8.12.8/8.12.8) with ESMTP id m23LbfMj032422 for <sip@ietf.org>; Mon, 3 Mar 2008 16:37:41 -0500
Received: (from worley@localhost) by dragon.ariadne.com (8.12.8/8.12.8/Submit) id m23LbfTd032418; Mon, 3 Mar 2008 16:37:41 -0500
Date: Mon, 03 Mar 2008 16:37:41 -0500
Message-Id: <200803032137.m23LbfTd032418@dragon.ariadne.com>
To: sip@ietf.org
From: Dale.Worley@comcast.net
In-reply-to: <1204465324.1597.30.camel@localhost> (aki.niemi@nokia.com)
References: <5D1A7985295922448D5550C94DE2918001636AF1@DEEXC1U01.de.lucent.com> <200709181506.l8IF6Bmp007748@dragon.ariadne.com> <1203976392.6192.88.camel@localhost> <200802262131.m1QLV7Rm008476@dragon.ariadne.com> <1204099738.16881.21.camel@localhost> <200803010308.m2138gWu024969@dragon.ariadne.com> <1204465324.1597.30.camel@localhost>
Subject: Re: [Sip] WGLC for draft-ietf-sip-subnot-etags-01
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: sip-bounces@ietf.org
Errors-To: sip-bounces@ietf.org

   From: Aki Niemi <aki.niemi@nokia.com>

   On pe, 2008-02-29 at 22:08 -0500, ext sip-bounces@ietf.org wrote:
   >    Then that's bad. How does the notifier then know which PIDF to pick in
   >    presence subscriptions?
   > 
   > Especially if it's not a presence subscription.  But seriously, is
   > this proposal confined to presence events?  I see no such text.

   Of course it is not. But clearly presence won't work correctly, if the
   notifier doesn't know which URIs route to it, i.e., which resources it
   is responsible for. I assume this to be the case for most applications
   of SIP events. Can you give an example of a currently specified event
   package that doesn't require this?

In all the cases I'm aware of, the notifier determines the resource in
question by examining the request-URI.  This certainly seems to be the
case when phones are generating dialog events.  A solution to the
"proxy loose-routing problem" would improve the results by giving the
notifier more information on the intentions of the subscriber.

   > In general, a SUBSCRIBE will fork, and the subscriber presumably knows
   > how it wants to integrate the events it will receive from the various
   > subscriptions, based on the semantics of its situation.

   Then presumably the semantics of the situation will also describe how
   entity-tags are handled? Especially if they are not all of the same
   value in the different dialogs.

The problem isn't combining entity-tags from different subscriptions
created by a single SUBSCRIBE, since the NOTIFYs can be differentiated
by which subscription they are part of.  The problem is when
establishing a later subscription, how to correlate (or not) the
entity-tags from the later subscription with those from the earlier
subscription.

Unfortunately, the safe assumption is to consider the entity-tags to
be non-matching between the different subscriptions, but that violates
the requirement for which the mechanism was defined -- the ability to
avoid re-sending values in later subscriptions that were already sent
in earlier subscriptions.

   >    I agree this kind of setup presents a problem. But I also think that
   >    what we're dealing with here is not that different from the web world.
   >    There are a lot of load balancing schemes that can be used with HTTP,
   >    which result in a GET ending up in different data centers in different
   >    parts of the world at different times.
   > 
   >    What's important to note there is that if the service that is accessed
   >    via this GET needs sessions and gives out cookies, then the backend
   >    system needs to be synchronized. Otherwise, the servers will be unaware
   >    of each others cookies, and the service won't work correctly.
   > 
   >    Similarly, the backend to the SIP notifiers needs a synchronized
   >    backend, otherwise, subnot-etags won't work.  Naturally, the etags just
   >    like cookies can be constructed in such a way that they contain the
   >    necessary state.
   > 
   > There's a hidden philosophical problem:  People think of SIP routing
   > as being like PSTN routing, where the caller sends the call to a
   > number which designates one destination, or at least, a single device
   > which has total knowledge of a small number of possible destinations.
   > The caller knows the globally-recongized *name* of the
   > destination-group, and every destination knows of and is coordinated
   > with *every other possible destination*.
   > 
   > Your HTTP model is similar; you assume the request will reach one of a
   > set of servers that are co-adminstered.
   > 
   > But the reality is that SIP routing can be like sending e-mail to a
   > mailing list -- the sender doesn't know what the possible destinations
   > are, and each destination doesn't know what all the destinations are
   > either, because some of the routing can be done by agents that are not
   > co-administered with either the sender or the destination.

   What you are saying is similar to having sip@ietf.org route to multiple
   mailman instances, each of which has a different set of subscribed email
   addresses. But that's not how mailing lists work either.

What is interesting is the case where there is no central server that
knows all of the destinations, which implies that the destinations do
not all know each other.

In the case of mailing lists, one such structure would be for everyone
at my company to subscribe to a local redistribution, and the local
redistributor would have a single subscription to sip@ietf.org.  But a
friend of mine also wants the mail, so I program my workstation to
forward to him a copy of all the messages I'm sent.

A more realistic case would be along these lines:

I subscribe to a virtual phone service that provides me with an AOR,
worley@a.com.  This service routes all requests based on time-of-day
to either my desk phone at my job, worley@b.com, or my cell phone,
worley@c.com.

As expected, a presence subscription (or any other subscription) sent
to worley@a.com does the right thing, it routes to the phone that I am
present at at that time.  (There's a bit of a problem with
subscriptions that span the cutover between the two desitnations.)

If some UAC wants to do periodic polling-type SUBSCRIBEs of
worley@a.com, some times it will go to the UAS at worley@b.com, and
sometimes to the UAS at worley@c.com.  (Or to servers implementing the
events on their behalf.)

The entity-tags chosen by worley@b.com and by worley@c.com are (by
hypothesis) uncoordinated with each other, and there is some risk that
the previous value from one server will be different from the current
value from the other server, but the two will happen to assign the
same entity-tags to those particular values.

Dale
_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip