From swmp-bounces@ietf.org Fri Aug 10 02:43:43 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IJODm-0004eP-Q5; Fri, 10 Aug 2007 02:43:42 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IJODl-0004eJ-8H
	for swmp@ietf.org; Fri, 10 Aug 2007 02:43:41 -0400
Received: from e1.ny.us.ibm.com ([32.97.182.141])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IJODj-0002Qu-Lc
	for swmp@ietf.org; Fri, 10 Aug 2007 02:43:41 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7A6hdsK024061
	for <swmp@ietf.org>; Fri, 10 Aug 2007 02:43:39 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.4) with ESMTP id
	l7A6hdtl484468 for <swmp@ietf.org>; Fri, 10 Aug 2007 02:43:39 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7A6hd8T029035 for <swmp@ietf.org>; Fri, 10 Aug 2007 02:43:39 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av02.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7A6hcO6029019
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <swmp@ietf.org>; Fri, 10 Aug 2007 02:43:39 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7A6hcFR021570
	for <swmp@ietf.org>; Fri, 10 Aug 2007 02:43:38 -0400 (EDT)
To: swmp@ietf.org
Subject: [SWMP] My understanding so far
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 10 Aug 2007 02:44:15 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_07292007|July 29, 2007) at 08/10/2007 02:44:18 AM,
	Serialize complete at 08/10/2007 02:44:18 AM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9d7e8d783239e9f0c425c823a9c950ff
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1465320130=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1465320130==
Content-Type: multipart/alternative;
	boundary="=_alternative 0024F03A85257333_="

This is a multipart message in MIME format.
--=_alternative 0024F03A85257333_=
Content-Type: text/plain; charset="US-ASCII"

I have proposed some changes to the swmp specification and there has not 
been much resistance.  I thought it might help to rearticulate the swmp 
message set with my changes.  There were two main issues that I discussed 
earlier:

A)  As originally specified, swmp does not distinguish between requesting 
a state change and being notified of a state change.  It tends to treat 
the state sharing as largely a replication task with neither network 
element having a controlling role over the state.  I think it is more 
realistic and practical to assume that each network element has control 
over its state and the other network element may request changes and be 
notified when changes happen.  This leads to distinguishing requests from 
notifications.

B)  As originally specified, swmp does an implicit subscription to all 
state once the intitial message is sent.  I believe it makes more sense to 
have explicit subscriptions to some, but not necessarily all of the state.


In addition, I have found that four new issues (not previously identified) 
have prompted me to make some additional changes.

C)  SET is overloaded as both a way to change and create (and probably 
remove) a Field.  I think it is clearer to separate these operations. This 
leads to an ADDFIELD, REMOVEFIELD, and a SETFIELD.  Then for clarity ADD 
and REMOVE need to become ADDNODE and REMOVENODE.

D)  I believe that swmp will need the full complement of CRUD (create, 
read, update, delete) operations.  I think the absence of read methods 
derived from the implicit subscription to all state.  Now, that one can 
subscribe to some, but not all of the state, I believe it will become 
desirable to request the values of unsubscribed state.  This prompted me 
to add a GETNODE and a GETFIELD request, which required GETNODEREPLY and 
GETFIELDREPLY messages to return the response.

E)  The ADD message (now ADDNODE) provided the new value of the node in a 
parsable string.  This seemed both ill-specified (Does it only contain 
fields or can it contain children as well?) and X3D-specific.  While there 
is some appeal to setting all the information in one message, I decided to 
simplify matters by assuming that the node must be built through a series 
of ADDNODE and ADDFIELD messages.  Thus, the parsable nodestr disappeared.

F)  The use of the fieldId on the SET message as a way to allow faster 
field references seemed to require modification.  For one thing, it did 
not seem right that the name/id association was being defined by the 
requesting network element rather than the network element controlling the 
state.  Also, the first opportunity to associate a fieldName with an id 
occurs on the GETFIELDREPLY or ADDFIELDNOTIFY messages.  After moving 
those parameters, the new SETFIELD message reduces to the old SETF 
message.


Most of this comes from the paper found at 
http://www.mediamachines.com/hydra/swampweb3d2007.pdf identified in an 
earlier message. 
(http://www1.ietf.org/mail-archive/web/swmp/current/msg00010.html)  I have 
identified the aspects that are changes introduced by me using square 
brackets.  Issues/questions/comments are in squiggly braces.

ASSUMPTIONS

1)  swmp is designed to provide a simple means for propagating low latency 
state changes between network elements.
2)  swmp is peer-to-peer in the sense that neither of the two network 
elements using swmp takes on a distinguished role.  In other words, all 
messages are available for either network element to send to the other. 
(This does not preclude using swmp in a client-server fashion, but this is 
not "built-in" to the protocol.)
3)  swmp is designed for transport by either TCP or UDP.  It is expected 
that applications will begin with a TCP connection and add on UDP 
connections, if needed.
4)  swmp messages are defined as byte-encoded rather than "human readable" 
in an effort to decrease the message latency.  {I am not addressing the 
actual encoding here.}
5)  swmp messages communicate about state [that is managed by one or 
another of the communicating network elements].  This state is organized 
as a hierarchy of Nodes.
6)  swmp Nodes have a name, a type, any number of child Nodes, and any 
number of Fields.  {The paper indicates that the child Nodes form an 
ordered set, but does not provide adequate capability for managing the 
order.  I have not fixed this problem.}
7)  The name of a node must be unique across the entire hierarchy 
maintained by the network element.
8)  Although Nodes may be of many types, the Node types of  X3D scene 
graphs are expected to be basic types.  [Another basic Node type is likely 
to be a shard, meaning a section of virtual real estate.  In all 
likelihood, Node types will be of three varieties: basic (dictatied by the 
standard), conventional (generally agreed upon after the standard's 
specification), and ad hoc (used idiosyncratically by some non-standard 
application.)]
9)  swmp Fields have a name, a type, an identifier, and a value.
10)  The name of a Field must be unique among its Node's Fields, but it 
may be reused for different Nodes.
11)  The identifier of a field must be unique across the entire hierarchy 
maintained by the network element.
12)  Although Fields may be of many types, the Field types of X3D scene 
graphs are expected to be basic types.  Another basic Field type is likely 
to be velocity as identified in the paper.  [In all likelihood, Field 
types will be of three varieties: basic (dictated by the standard), 
conventional (generally agreed upon after the standard's specification), 
and ad hoc (used idiosyncratically by some non-standard application.)]

MESSAGES

Control Messages  (These are for establishing that a connection exists and 
that communication may occur.)

HELLO id ticket -- Both network elements must send a HELLO message as the 
first message on a swmp channel.  They send an id by which they identify 
themselves and a ticket for the other network element to use.  [Although 
the original protocol uses the HELLO message as an implicit subscription 
to all the state of the receiving network element, this implicit 
functionality has been removed here and is subsumed under the SUBSCRIBE 
message below.]  {The id and ticket seem to be needed for UDP messaging. 
Although it is clear that the ticket is used in all future messages, it is 
not clear how the id is used again.}

{BYE -- If we need HELLO to indicate the start of traffic, don't we want 
something to indicate that the traffic has ended.}

COMM protocol host port -- The COMM message is used to indicate a desire 
to initiate another swmp channel over the indicated transport protocol 
using the host and port.

ACK protocol host port -- Following the establishment of a secondary swmp 
channel using the COMM request.  The recipient of a HELLO message on the 
secondary channel {which should be both network elements eventually} must 
send an ACK message over the primary channel.



Content Messages (These are for communicating about the state being 
managed by the network elements.)

[ADDNODE parentName childName] -- This is a request to create a new child 
node for the specified parent.  {This corresponds directly to the ADD 
message in the paper with the nodestr parameter eliminated.  The paper 
indicates that ADD places the new child last in the ordered list of 
children.  If order is important, then this seems like inadequate 
control.}

[REMOVENODE nodeName] -- This is a request to delete a node. {This 
corresponds directly to the REMOVE message in the paper with the 
parentNode parameter removed.  Since nodeNames must be unique over the 
entire Node hierarchy, it is unclear why the parentName was required, so I 
eliminated it.  Although the paper does not say so, presumably a 
REMOVENODE request deletes all the children of the node as well.}

[GETNODE nodeName -- This is a request to retrieve the information about a 
node.  I added this to round out the CRUD capabilities for Node.]

[GETNODEREPLY nodeName listOfChildNodeNames listOfFieldNames -- There are 
several ways to go with a reply like this.  I am assuming I will give you 
enough information to figure out the structure of a node, ie, the names, 
but not the actual values.]

[ADDFIELD nodeName fieldName type value -- This is a request to add a new 
field to an existing node.  The type and value may be specified by the 
requestor.  The fieldId is assigned by the controlling network element and 
is obtained in the ADDFIELDNOTIFY message, if a subscription is in place. 
In the absence of a subscription, a GETFIELD request would be needed to 
obtain the id.  {In the paper, I believe this capability was provided via 
the SET message.}]

[REMOVEFIELD fieldId -- This is a request to remove the specified field. 
The fieldId would have been provided by a prior GETFIELDREPLY or 
ADDFIELDNOTIFY message.  {I'm not sure how this was accomplished in the 
paper.}]

[SETFIELD fieldId value] -- This is a request to update the value of a 
Field. The fieldId would have been provided by a prior GETFIELDREPLY or 
ADDFIELDNOTIFY message.  {This corresponds directly to the SETF message in 
the paper.}

[GETFIELD nodeName fieldName -- This is a request to retrieve the value of 
a field.]

[GETFIELDREPLY nodeName fieldName type fieldID value -- This message sends 
back the information from a GETFIELD request.  This is one way to discover 
the name/id equivalence for a field.]

[SUBSCRIBE nodeName lastId -- This is a request to subscribe to all 
changes associated with this Node and any of its descendants.  If the Node 
is removed, there will be a final REMOVENOTIFY for the Node after which 
the subscription is canceled.  It is permissable for a network element to 
have more than one subscription request active at the same time.  In the 
event that a subscription is added for a descendant of another subscribed 
Node, both subscriptions are active, but only one notification is sent for 
any change that occurs.  A secondary purpose of the SUBSCRIBE request is 
to cause the controlling network element to "dump" the state of the 
subscribed node and its descendants.  This is done as a sequence of 
notifications.  The lastId parameter identifies the last notification from 
the subscribed network element for which an accurate record of the state 
is available. {The paper calls for all messages to contain a sequence 
number.  This seems a sensible candidate for identifying the last 
notification message.}  If the lastId is zero, then the subscribed network 
element should assume that the subscribing network element has no record 
of the subscribed nodes and will intitiate a series of ADDNODENOTIFY 
messages in breadth first order.  Following each ADDNODENOTIFY message 
will be the set of ADDFIELDNOTIFY messages needed to identify all the 
fields of the node.  If the last ID is non-zero, then the subscribed 
network element should assume tat the subscribing network element has an 
accurate record of the state as of the identified notification message. It 
should issue a series of REMOVENODENOTIFY messages, followed by a set of 
ADDNODENOTIFY messages in breadth first order.  Following each 
ADDNODENOTIFY message will be a set of REMOVEFIELDNOTIFY, ADDFIELDNOTIFY, 
and SETFIELDNOTIFY messages for establishing the state of the fields. 
{Note:  The collection of notifications should be efficient and not simply 
a log of all that happened since the prior subscription.}  All such 
notifications received in response to the SUBSCRIBE request should be sent 
prior to sending any notifcations caused by additional changes to the 
state.]

[UNSUBSCRIBE nodeName -- This is a request to cancel an existing 
subscription.  If the corresponding SUBSCRIBE request was never made or 
the subscription was canceled because the Node was removed, the 
UNSUBSCRIBE request is a no-op.  When subscriptions exist for a Node and 
one of its descendants, cancelation of the descendant's subscription will 
not affect the notifications received.  Cancelation of the ancestor's 
subscription reduces the set of subscribed nodes down to the subscribed 
descendant and its descendants.]

[FAILNOTIFY requestId reason -- Since all of the previous methods are 
requests of the network element controlling the state, it is possible that 
the controlling network element will reject the request.  There will need 
to be a way to communicate the failure and bind it to the rejected 
message. {The paper calls for all messages to contain a sequence number. 
This seems a sensible candidate for identifying the rejected message.}]

[ADDNODENOTIFY parentName childName originatorFlag -- This message 
notifies one network element of changes to any subscribed state due to an 
ADDNODE request.  This message is sent to the requesting node as well, if 
a subscription is in place. The originatorFlag is used to signal how the 
originating request was handled.  The flag has three values: 
not-requestor, asis, modified.  The not-requestor value is used when the 
recipient was not the requestor of the change.  The asis value indicates 
that the recipient originated the request and the request was honored 
without modification.  The modified value indicates that the recipient 
originated the request, but the actual value used is not the same as the 
requested value.]

[REMOVENODENOTIFY nodeName originatorFlag -- This message notifies one 
network element of changes to any subscribed state due to a REMOVENODE 
request.  The message is sent to the requesting node as well and the 
originatorFlag has the same meaning as in ADDNODENOTIFY, though it is 
difficult to imagine how the modified value might be used.]

[ADDFIELDNOTIFY nodeName fieldName type fieldId value originatorFlag -- 
This message notifies one network element of changes to any subscribed 
state due to an ADDFIELD request.  The message is sent to the requesting 
node as well and the originatorFlag has the same meaning as in 
ADDNODENOTIFY.  This message communicates the name/id equivalence for the 
field.]

[REMOVEFIELDNOTIFY fieldId originatorFlag -- This message notifies one 
network element of changes to any subscribed state due to a REMOVEFIELD 
request.  The message is sent to the requesting node as well and the 
originatorFlag has the same meaning as in ADDNODENOTIFY, though it is 
difficult to imagine how the modified value might be used.]

[SETFIELDNOTIFY fieldId value originatorFlag -- This message notifies one 
network element of changes to any subscribed state due to a SETFIELD 
request.  The message is sent to the requesting node as well and the 
originatorFlag has the same meaning as in ADDNODENOTIFY.  {Note: Signaling 
the SETFIELD originator is needed for situations like collision detection 
where the actual position of an object ends up being something different 
from the request.}]
--=_alternative 0024F03A85257333_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I have proposed some changes to the
swmp specification and there has not been much resistance. &nbsp;I thought
it might help to rearticulate the swmp message set with my changes. &nbsp;There
were two main issues that I discussed earlier:</font>
<br>
<br><font size=2 face="sans-serif">A) &nbsp;As originally specified, swmp
does not distinguish between requesting a state change and being notified
of a state change. &nbsp;It tends to treat the state sharing as largely
a replication task with neither network element having a controlling role
over the state. &nbsp;I think it is more realistic and practical to assume
that each network element has control over its state and the other network
element may request changes and be notified when changes happen. &nbsp;This
leads to distinguishing requests from notifications.</font>
<br>
<br><font size=2 face="sans-serif">B) &nbsp;As originally specified, swmp
does an implicit subscription to all state once the intitial message is
sent. &nbsp;I believe it makes more sense to have explicit subscriptions
to some, but not necessarily all of the state.</font>
<br>
<br>
<br><font size=2 face="sans-serif">In addition, I have found that four
new issues (not previously identified) have prompted me to make some additional
changes.</font>
<br>
<br><font size=2 face="sans-serif">C) &nbsp;SET is overloaded as both a
way to change and create (and probably remove) a Field. &nbsp;I think it
is clearer to separate these operations. &nbsp;This leads to an ADDFIELD,
REMOVEFIELD, and a SETFIELD. &nbsp;Then for clarity ADD and REMOVE need
to become ADDNODE and REMOVENODE.</font>
<br>
<br><font size=2 face="sans-serif">D) &nbsp;I believe that swmp will need
the full complement of CRUD (create, read, update, delete) operations.
&nbsp;I think the absence of read methods derived from the implicit subscription
to all state. &nbsp;Now, that one can subscribe to some, but not all of
the state, I believe it will become desirable to request the values of
unsubscribed state. &nbsp;This prompted me to add a GETNODE and a GETFIELD
request, which required GETNODEREPLY and GETFIELDREPLY messages to return
the response.</font>
<br>
<br><font size=2 face="sans-serif">E) &nbsp;The ADD message (now ADDNODE)
provided the new value of the node in a parsable string. &nbsp;This seemed
both ill-specified (Does it only contain fields or can it contain children
as well?) and X3D-specific. &nbsp;While there is some appeal to setting
all the information in one message, I decided to simplify matters by assuming
that the node must be built through a series of ADDNODE and ADDFIELD messages.
&nbsp;Thus, the parsable nodestr disappeared.</font>
<br>
<br><font size=2 face="sans-serif">F) &nbsp;The use of the fieldId on the
SET message as a way to allow faster field references seemed to require
modification. &nbsp;For one thing, it did not seem right that the name/id
association was being defined by the requesting network element rather
than the network element controlling the state. &nbsp;Also, the first opportunity
to associate a fieldName with an id occurs on the GETFIELDREPLY or ADDFIELDNOTIFY
messages. &nbsp;After moving those parameters, the new SETFIELD message
reduces to the old SETF message.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Most of this comes from the paper found
at http://www.mediamachines.com/hydra/swampweb3d2007.pdf identified in
an earlier message. (http://www1.ietf.org/mail-archive/web/swmp/current/msg00010.html)
&nbsp;I have identified the aspects that are changes introduced by me using
square brackets. &nbsp;Issues/questions/comments are in squiggly braces.</font>
<br>
<br><font size=2 face="sans-serif">ASSUMPTIONS</font>
<br>
<br><font size=2 face="sans-serif">1) &nbsp;swmp is designed to provide
a simple means for propagating low latency state changes between network
elements.</font>
<br><font size=2 face="sans-serif">2) &nbsp;swmp is peer-to-peer in the
sense that neither of the two network elements using swmp takes on a distinguished
role. &nbsp;In other words, all messages are available for either network
element to send to the other. &nbsp;(This does not preclude using swmp
in a client-server fashion, but this is not &quot;built-in&quot; to the
protocol.)</font>
<br><font size=2 face="sans-serif">3) &nbsp;swmp is designed for transport
by either TCP or UDP. &nbsp;It is expected that applications will begin
with a TCP connection and add on UDP connections, if needed.</font>
<br><font size=2 face="sans-serif">4) &nbsp;swmp messages are defined as
byte-encoded rather than &quot;human readable&quot; in an effort to decrease
the message latency. &nbsp;{I am not addressing the actual encoding here.}</font>
<br><font size=2 face="sans-serif">5) &nbsp;swmp messages communicate about
state [that is managed by one or another of the communicating network elements].
&nbsp;This state is organized as a hierarchy of Nodes.</font>
<br><font size=2 face="sans-serif">6) &nbsp;swmp Nodes have a name, a type,
any number of child Nodes, and any number of Fields. &nbsp;{The paper indicates
that the child Nodes form an ordered set, but does not provide adequate
capability for managing the order. &nbsp;I have not fixed this problem.}</font>
<br><font size=2 face="sans-serif">7) &nbsp;The name of a node must be
unique across the entire hierarchy maintained by the network element.</font>
<br><font size=2 face="sans-serif">8) &nbsp;Although Nodes may be of many
types, the Node types of &nbsp;X3D scene graphs are expected to be basic
types. &nbsp;[Another basic Node type is likely to be a shard, meaning
a section of virtual real estate. &nbsp;In all likelihood, Node types will
be of three varieties: basic (dictatied by the standard), conventional
(generally agreed upon after the standard's specification), and ad hoc
(used idiosyncratically by some non-standard application.)]</font>
<br><font size=2 face="sans-serif">9) &nbsp;swmp Fields have a name, a
type, an identifier, and a value.</font>
<br><font size=2 face="sans-serif">10) &nbsp;The name of a Field must be
unique among its Node's Fields, but it may be reused for different Nodes.</font>
<br><font size=2 face="sans-serif">11) &nbsp;The identifier of a field
must be unique across the entire hierarchy maintained by the network element.</font>
<br><font size=2 face="sans-serif">12) &nbsp;Although Fields may be of
many types, the Field types of X3D scene graphs are expected to be basic
types. &nbsp;Another basic Field type is likely to be velocity as identified
in the paper. &nbsp;[In all likelihood, Field types will be of three varieties:
basic (dictated by the standard), conventional (generally agreed upon after
the standard's specification), and ad hoc (used idiosyncratically by some
non-standard application.)]</font>
<br>
<br><font size=2 face="sans-serif">MESSAGES</font>
<br>
<br><font size=2 face="sans-serif">Control Messages &nbsp;(These are for
establishing that a connection exists and that communication may occur.)</font>
<br>
<br><font size=2 face="sans-serif">HELLO id ticket -- Both network elements
must send a HELLO message as the first message on a swmp channel. &nbsp;They
send an id by which they identify themselves and a ticket for the other
network element to use. &nbsp;[Although the original protocol uses the
HELLO message as an implicit subscription to all the state of the receiving
network element, this implicit functionality has been removed here and
is subsumed under the SUBSCRIBE message below.] &nbsp;{The id and ticket
seem to be needed for UDP messaging. &nbsp;Although it is clear that the
ticket is used in all future messages, it is not clear how the id is used
again.}</font>
<br>
<br><font size=2 face="sans-serif">{BYE -- If we need HELLO to indicate
the start of traffic, don't we want something to indicate that the traffic
has ended.}</font>
<br>
<br><font size=2 face="sans-serif">COMM protocol host port -- The COMM
message is used to indicate a desire to initiate another swmp channel over
the indicated transport protocol using the host and port.</font>
<br>
<br><font size=2 face="sans-serif">ACK protocol host port -- Following
the establishment of a secondary swmp channel using the COMM request. &nbsp;The
recipient of a HELLO message on the secondary channel {which should be
both network elements eventually} must send an ACK message over the primary
channel.</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Content Messages (These are for communicating
about the state being managed by the network elements.)</font>
<br>
<br><font size=2 face="sans-serif">[ADDNODE parentName childName] -- This
is a request to create a new child node for the specified parent. &nbsp;{This
corresponds directly to the ADD message in the paper with the nodestr parameter
eliminated. &nbsp;The paper indicates that ADD places the new child last
in the ordered list of children. &nbsp;If order is important, then this
seems like inadequate control.}</font>
<br>
<br><font size=2 face="sans-serif">[REMOVENODE nodeName] -- This is a request
to delete a node. {This corresponds directly to the REMOVE message in the
paper with the parentNode parameter removed. &nbsp;Since nodeNames must
be unique over the entire Node hierarchy, it is unclear why the parentName
was required, so I eliminated it. &nbsp;Although the paper does not say
so, presumably a REMOVENODE request deletes all the children of the node
as well.}</font>
<br>
<br><font size=2 face="sans-serif">[GETNODE nodeName -- This is a request
to retrieve the information about a node. &nbsp;I added this to round out
the CRUD capabilities for Node.]</font>
<br>
<br><font size=2 face="sans-serif">[GETNODEREPLY nodeName listOfChildNodeNames
listOfFieldNames -- There are several ways to go with a reply like this.
&nbsp;I am assuming I will give you enough information to figure out the
structure of a node, ie, the names, but not the actual values.]</font>
<br>
<br><font size=2 face="sans-serif">[ADDFIELD nodeName fieldName type value
-- This is a request to add a new field to an existing node. &nbsp;The
type and value may be specified by the requestor. &nbsp;The fieldId is
assigned by the controlling network element and is obtained in the ADDFIELDNOTIFY
message, if a subscription is in place. &nbsp;In the absence of a subscription,
a GETFIELD request would be needed to obtain the id. &nbsp;{In the paper,
I believe this capability was provided via the SET message.}]</font>
<br>
<br><font size=2 face="sans-serif">[REMOVEFIELD fieldId -- This is a request
to remove the specified field. &nbsp;The fieldId would have been provided
by a prior GETFIELDREPLY or ADDFIELDNOTIFY message. &nbsp;{I'm not sure
how this was accomplished in the paper.}]</font>
<br>
<br><font size=2 face="sans-serif">[SETFIELD fieldId value] -- This is
a request to update the value of a Field. The fieldId would have been provided
by a prior GETFIELDREPLY or ADDFIELDNOTIFY message. &nbsp;{This corresponds
directly to the SETF message in the paper.}</font>
<br>
<br><font size=2 face="sans-serif">[GETFIELD nodeName fieldName -- This
is a request to retrieve the value of a field.]</font>
<br>
<br><font size=2 face="sans-serif">[GETFIELDREPLY nodeName fieldName type
fieldID value -- This message sends back the information from a GETFIELD
request. &nbsp;This is one way to discover the name/id equivalence for
a field.]</font>
<br>
<br><font size=2 face="sans-serif">[SUBSCRIBE nodeName lastId -- This is
a request to subscribe to all changes associated with this Node and any
of its descendants. &nbsp;If the Node is removed, there will be a final
REMOVENOTIFY for the Node after which the subscription is canceled. &nbsp;It
is permissable for a network element to have more than one subscription
request active at the same time. &nbsp;In the event that a subscription
is added for a descendant of another subscribed Node, both subscriptions
are active, but only one notification is sent for any change that occurs.
&nbsp;A secondary purpose of the SUBSCRIBE request is to cause the controlling
network element to &quot;dump&quot; the state of the subscribed node and
its descendants. &nbsp;This is done as a sequence of notifications. &nbsp;The
lastId parameter identifies the last notification from the subscribed network
element for which an accurate record of the state is available. {The paper
calls for all messages to contain a sequence number. &nbsp;This seems a
sensible candidate for identifying the last notification message.} &nbsp;If
the lastId is zero, then the subscribed network element should assume that
the subscribing network element has no record of the subscribed nodes and
will intitiate a series of ADDNODENOTIFY messages in breadth first order.
&nbsp;Following each ADDNODENOTIFY message will be the set of ADDFIELDNOTIFY
messages needed to identify all the fields of the node. &nbsp;If the last
ID is non-zero, then the subscribed network element should assume tat the
subscribing network element has an accurate record of the state as of the
identified notification message. &nbsp;It should issue a series of REMOVENODENOTIFY
messages, followed by a set of ADDNODENOTIFY messages in breadth first
order. &nbsp;Following each ADDNODENOTIFY message will be a set of REMOVEFIELDNOTIFY,
ADDFIELDNOTIFY, and SETFIELDNOTIFY messages for establishing the state
of the fields. &nbsp;{Note: &nbsp;The collection of notifications should
be efficient and not simply a log of all that happened since the prior
subscription.} &nbsp;All such notifications received in response to the
SUBSCRIBE request should be sent prior to sending any notifcations caused
by additional changes to the state.]</font>
<br>
<br><font size=2 face="sans-serif">[UNSUBSCRIBE nodeName -- This is a request
to cancel an existing subscription. &nbsp;If the corresponding SUBSCRIBE
request was never made or the subscription was canceled because the Node
was removed, the UNSUBSCRIBE request is a no-op. &nbsp;When subscriptions
exist for a Node and one of its descendants, cancelation of the descendant's
subscription will not affect the notifications received. &nbsp;Cancelation
of the ancestor's subscription reduces the set of subscribed nodes down
to the subscribed descendant and its descendants.]</font>
<br>
<br><font size=2 face="sans-serif">[FAILNOTIFY requestId reason -- Since
all of the previous methods are requests of the network element controlling
the state, it is possible that the controlling network element will reject
the request. &nbsp;There will need to be a way to communicate the failure
and bind it to the rejected message. {The paper calls for all messages
to contain a sequence number. &nbsp;This seems a sensible candidate for
identifying the rejected message.}]</font>
<br>
<br><font size=2 face="sans-serif">[ADDNODENOTIFY parentName childName
originatorFlag -- This message notifies one network element of changes
to any subscribed state due to an ADDNODE request. &nbsp;This message is
sent to the requesting node as well, if a subscription is in place. The
originatorFlag is used to signal how the originating request was handled.
&nbsp;The flag has three values: not-requestor, asis, modified. &nbsp;The
not-requestor value is used when the recipient was not the requestor of
the change. &nbsp;The asis value indicates that the recipient originated
the request and the request was honored without modification. &nbsp;The
modified value indicates that the recipient originated the request, but
the actual value used is not the same as the requested value.]</font>
<br>
<br><font size=2 face="sans-serif">[REMOVENODENOTIFY nodeName originatorFlag
-- This message notifies one network element of changes to any subscribed
state due to a REMOVENODE request. &nbsp;The message is sent to the requesting
node as well and the originatorFlag has the same meaning as in ADDNODENOTIFY,
though it is difficult to imagine how the modified value might be used.]</font>
<br>
<br><font size=2 face="sans-serif">[ADDFIELDNOTIFY nodeName fieldName type
fieldId value originatorFlag -- This message notifies one network element
of changes to any subscribed state due to an ADDFIELD request. &nbsp;The
message is sent to the requesting node as well and the originatorFlag has
the same meaning as in ADDNODENOTIFY. &nbsp;This message communicates the
name/id equivalence for the field.]</font>
<br>
<br><font size=2 face="sans-serif">[REMOVEFIELDNOTIFY fieldId originatorFlag
-- This message notifies one network element of changes to any subscribed
state due to a REMOVEFIELD request. &nbsp;The message is sent to the requesting
node as well and the originatorFlag has the same meaning as in ADDNODENOTIFY,
though it is difficult to imagine how the modified value might be used.]</font>
<br>
<br><font size=2 face="sans-serif">[SETFIELDNOTIFY fieldId value originatorFlag
-- This message notifies one network element of changes to any subscribed
state due to a SETFIELD request. &nbsp;The message is sent to the requesting
node as well and the originatorFlag has the same meaning as in ADDNODENOTIFY.
&nbsp;{Note: &nbsp;Signaling the SETFIELD originator is needed for situations
like collision detection where the actual position of an object ends up
being something different from the request.}]</font>
--=_alternative 0024F03A85257333_=--


--===============1465320130==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1465320130==--




From swmp-bounces@ietf.org Fri Aug 10 12:49:30 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IJXg2-000525-A3; Fri, 10 Aug 2007 12:49:30 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IJXg1-0004yw-2z
	for swmp@ietf.org; Fri, 10 Aug 2007 12:49:29 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IJXg0-0008Cm-C6
	for swmp@ietf.org; Fri, 10 Aug 2007 12:49:29 -0400
Received: from [85.180.26.59] (helo=[85.180.26.59])
	by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis),
	id 0ML29c-1IJXfy0fmf-0007Bs; Fri, 10 Aug 2007 18:49:27 +0200
Message-ID: <46BC9717.4060103@dubioso.net>
Date: Fri, 10 Aug 2007 18:49:27 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: swmp@ietf.org
Subject: Re: [SWMP] My understanding so far
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX1+lDy3dFs9TNomeksEtws0b1adl0sZWSM4+mbi
	TciO9575szf9MbP08eFqP0As2jq4HotIri5dXsvzJ3rpwN7RPZ
	x1BBLlU7MkR5XVRTn787NSDiWyvNL1K
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6cca30437e2d04f45110f2ff8dc1b1d5
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Hello all,

my name is Roland Weber. I've subscribed to this list out of a purely academic
interest. I intend to invest a slice of my private time on following the
discussions, throwing in my two cents once in a while. This looks like a good
occasion to start with that. I'm not familiar with 3D graphics, except for
having read through a VRML spec about 10 years ago. I am familiar with HTTP
and have some understanding of communication protocols in general. My time
will not allow for installing and experimenting with software, nor for much
background reading. My apologies if some of my comments are already addressed
in the referenced paper, I didn't read it yet. So here are my thoughts on
reading the summary...

ASSUMPTIONS:
2) maybe mention explicitly that the protocol is meant for one-to-one
communication. That is not obvious from assumption 1, but implicit in
assumption 2 and the rest of the summary. Given the popularity of P2P
networks, many people will associate P2P with many-to-many communication.

4) I associate byte encoding more with message size rather than latency. Maybe
mention both?

6,7,9) Nodes have a name, where the name is unique across the hierarchy.
Fields have a name and identifier, where the name is not unique across the
hierarchy. Maybe the terminology is inherited from other specifications, but I
suggest to give the nodes an identifier instead of a name. Then identifiers
are unique across the hierarchy for both nodes and fields, while names are not.

Control MESSAGES:
For one-to-one communication, these messages look sufficient. For many-to-many
communication, I would expect some mechanism to exchange information about
peers. In that context, the id in the HELLO message would become significant.
It could also gain significance in content messages, for example to identify
the originator of a change in notification messages.
BYE is a good idea. It could implicitly cancel all subscriptions, assuming
that subscriptions are non-persistent.
The arguments in the COMM message are the sender's address, indicating where
the receiver of the message should send it's hello to. The tickets of the
primary channel will be used on all secondary channels, too?

Content MESSAGES:
I assume there will be a mechanism to send groups of these messages, for
example in a single UDP packet. There could be cases where for example several
fields of a node have to be updated simultaneously to avoid an inconsistent
intermediate state. If messages have sequence numbers, will those be on the
group level or on the message level? In the first case, FAILNOTIFY could not
use the message sequence number alone as the request id.
The GETNODEREPLY can become large, if there are many fields and/or children to
the node. This looks like a candidate for finer grained scoping in the
request. For example, only the fields or only the children. Or only a subset
of the children. In the latter case, order of children could become relevant
for subset selection. Or only fields and children that have changed since a
particular time, using the lastId trick of SUBSCRIBE.
The dumping of subtree state in response to a SUBSCRIBE has even more
potential to generate a lot of data in replies. In one-to-one communication,
there is probably no way to avoid it (many-to-many could engage other peers to
send some of the dump).
Are there cases where somebody could want a subtree dump without a
subscription, snapshot-like?

other thoughts regarding subscriptions:
The lastId based on message sequence numbers seems OK for one-to-one
communication. How about a scenario where a 3D world is hosted in parallel on
several servers? A client could have a session with server X at one time, and
choose server Y for the next session. Would the client have to get a full
dump? Would the servers be supposed to synchronize their message sequence
numbers? Should there be a world-specific lastId rather than one based on
message sequence numbers? Another solution could be structured IDs, so that
the client sends "server X, sequence number whatever" to server Y.
Can subscriptions run out of sync between peers? A request GETSUBSCRIPTIONS
with corresponding reply could help to recover from that. Again, a case where
the response may be large.


I hope you find some of my suggestions useful.

best regards,
  Roland Weber

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Thu Aug 16 11:00:28 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1ILgpo-0005iW-2G; Thu, 16 Aug 2007 11:00:28 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1ILgpm-0005iL-5R
	for swmp@ietf.org; Thu, 16 Aug 2007 11:00:26 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1ILgpk-0001I1-AN
	for swmp@ietf.org; Thu, 16 Aug 2007 11:00:25 -0400
Received: from [192.168.2.119] (h-66-166-236-26.snvacaid.covad.net
	[66.166.236.26]) by william.mediamachines.com (Postfix) with ESMTP
	id EBA8046414A; Thu, 16 Aug 2007 09:58:20 -0500 (CDT)
Message-ID: <46C46684.2080102@mediamachines.com>
Date: Thu, 16 Aug 2007 08:00:20 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
Subject: Re: [SWMP] My understanding so far
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 9aa22b77adc37e7d33e29644e4dc0b33
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1160444389=="
Errors-To: swmp-bounces@ietf.org

--===============1160444389==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi John, sorry for the late reply, I've been "swamped" with corporate
stuff.<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"><font face="sans-serif" size="2">I have proposed some
changes to the
swmp specification and there has not been much resistance. &nbsp;I thought
it might help to rearticulate the swmp message set with my changes.</font></blockquote>
Very thoughtful analysis and detailed proposals, and I, for one, agree
with most of it.&nbsp; Your clear explication of assumptions is fantastic.
I'll add thoughts regarding details but first I want to make sure
everybody understands the context of this list.<br>
<br>
This is an "interest" list for disucssion about the topic of a "simple
wide-area multiuser-3D protocol", being a first step towards a Working
Group and then the rfc process.&nbsp; But just being at the
interest-discussion stage, we don't yet have a process for submission
of changes, approval of changes, or publishing of changes.&nbsp; Indeed we
don't really have a specification to change except for the strawman
work I submitted, in the hopes that people find it useful as a starting
point.<br>
<br>
Thus your analysis is most welcome, but to take it to the next step we
need to draft a charter, nominate and choose working group chairs.&nbsp; Are
people anxious to go to the working group stage?&nbsp; If so, lets pop up a
level and discuss the charter.<br>
<br>
jay<br>
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"><font face="sans-serif" size="2"> &nbsp;There
were two main issues that I discussed earlier:</font>
  <br>
  <br>
  <font face="sans-serif" size="2">A) &nbsp;As originally specified, swmp
does not distinguish between requesting a state change and being
notified
of a state change. &nbsp;It tends to treat the state sharing as largely
a replication task with neither network element having a controlling
role
over the state. &nbsp;I think it is more realistic and practical to assume
that each network element has control over its state and the other
network
element may request changes and be notified when changes happen. &nbsp;This
leads to distinguishing requests from notifications.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">B) &nbsp;As originally specified, swmp
does an implicit subscription to all state once the intitial message is
sent. &nbsp;I believe it makes more sense to have explicit subscriptions
to some, but not necessarily all of the state.</font>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">In addition, I have found that four
new issues (not previously identified) have prompted me to make some
additional
changes.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">C) &nbsp;SET is overloaded as both a
way to change and create (and probably remove) a Field. &nbsp;I think it
is clearer to separate these operations. &nbsp;This leads to an ADDFIELD,
REMOVEFIELD, and a SETFIELD. &nbsp;Then for clarity ADD and REMOVE need
to become ADDNODE and REMOVENODE.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">D) &nbsp;I believe that swmp will need
the full complement of CRUD (create, read, update, delete) operations.
&nbsp;I think the absence of read methods derived from the implicit
subscription
to all state. &nbsp;Now, that one can subscribe to some, but not all of
the state, I believe it will become desirable to request the values of
unsubscribed state. &nbsp;This prompted me to add a GETNODE and a GETFIELD
request, which required GETNODEREPLY and GETFIELDREPLY messages to
return
the response.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">E) &nbsp;The ADD message (now ADDNODE)
provided the new value of the node in a parsable string. &nbsp;This seemed
both ill-specified (Does it only contain fields or can it contain
children
as well?) and X3D-specific. &nbsp;While there is some appeal to setting
all the information in one message, I decided to simplify matters by
assuming
that the node must be built through a series of ADDNODE and ADDFIELD
messages.
&nbsp;Thus, the parsable nodestr disappeared.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">F) &nbsp;The use of the fieldId on the
SET message as a way to allow faster field references seemed to require
modification. &nbsp;For one thing, it did not seem right that the name/id
association was being defined by the requesting network element rather
than the network element controlling the state. &nbsp;Also, the first
opportunity
to associate a fieldName with an id occurs on the GETFIELDREPLY or
ADDFIELDNOTIFY
messages. &nbsp;After moving those parameters, the new SETFIELD message
reduces to the old SETF message.</font>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">Most of this comes from the paper
found
at <a class="moz-txt-link-freetext" href="http://www.mediamachines.com/hydra/swampweb3d2007.pdf">http://www.mediamachines.com/hydra/swampweb3d2007.pdf</a> identified in
an earlier message.
(<a class="moz-txt-link-freetext" href="http://www1.ietf.org/mail-archive/web/swmp/current/msg00010.html">http://www1.ietf.org/mail-archive/web/swmp/current/msg00010.html</a>)
&nbsp;I have identified the aspects that are changes introduced by me using
square brackets. &nbsp;Issues/questions/comments are in squiggly braces.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">ASSUMPTIONS</font>
  <br>
  <br>
  <font face="sans-serif" size="2">1) &nbsp;swmp is designed to provide
a simple means for propagating low latency state changes between
network
elements.</font>
  <br>
  <font face="sans-serif" size="2">2) &nbsp;swmp is peer-to-peer in the
sense that neither of the two network elements using swmp takes on a
distinguished
role. &nbsp;In other words, all messages are available for either network
element to send to the other. &nbsp;(This does not preclude using swmp
in a client-server fashion, but this is not "built-in" to the
protocol.)</font>
  <br>
  <font face="sans-serif" size="2">3) &nbsp;swmp is designed for transport
by either TCP or UDP. &nbsp;It is expected that applications will begin
with a TCP connection and add on UDP connections, if needed.</font>
  <br>
  <font face="sans-serif" size="2">4) &nbsp;swmp messages are defined as
byte-encoded rather than "human readable" in an effort to decrease
the message latency. &nbsp;{I am not addressing the actual encoding here.}</font>
  <br>
  <font face="sans-serif" size="2">5) &nbsp;swmp messages communicate about
state [that is managed by one or another of the communicating network
elements].
&nbsp;This state is organized as a hierarchy of Nodes.</font>
  <br>
  <font face="sans-serif" size="2">6) &nbsp;swmp Nodes have a name, a type,
any number of child Nodes, and any number of Fields. &nbsp;{The paper
indicates
that the child Nodes form an ordered set, but does not provide adequate
capability for managing the order. &nbsp;I have not fixed this problem.}</font>
  <br>
  <font face="sans-serif" size="2">7) &nbsp;The name of a node must be
unique across the entire hierarchy maintained by the network element.</font>
  <br>
  <font face="sans-serif" size="2">8) &nbsp;Although Nodes may be of many
types, the Node types of &nbsp;X3D scene graphs are expected to be basic
types. &nbsp;[Another basic Node type is likely to be a shard, meaning
a section of virtual real estate. &nbsp;In all likelihood, Node types will
be of three varieties: basic (dictatied by the standard), conventional
(generally agreed upon after the standard's specification), and ad hoc
(used idiosyncratically by some non-standard application.)]</font>
  <br>
  <font face="sans-serif" size="2">9) &nbsp;swmp Fields have a name, a
type, an identifier, and a value.</font>
  <br>
  <font face="sans-serif" size="2">10) &nbsp;The name of a Field must be
unique among its Node's Fields, but it may be reused for different
Nodes.</font>
  <br>
  <font face="sans-serif" size="2">11) &nbsp;The identifier of a field
must be unique across the entire hierarchy maintained by the network
element.</font>
  <br>
  <font face="sans-serif" size="2">12) &nbsp;Although Fields may be of
many types, the Field types of X3D scene graphs are expected to be
basic
types. &nbsp;Another basic Field type is likely to be velocity as identified
in the paper. &nbsp;[In all likelihood, Field types will be of three
varieties:
basic (dictated by the standard), conventional (generally agreed upon
after
the standard's specification), and ad hoc (used idiosyncratically by
some
non-standard application.)]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">MESSAGES</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Control Messages &nbsp;(These are for
establishing that a connection exists and that communication may occur.)</font>
  <br>
  <br>
  <font face="sans-serif" size="2">HELLO id ticket -- Both network
elements
must send a HELLO message as the first message on a swmp channel. &nbsp;They
send an id by which they identify themselves and a ticket for the other
network element to use. &nbsp;[Although the original protocol uses the
HELLO message as an implicit subscription to all the state of the
receiving
network element, this implicit functionality has been removed here and
is subsumed under the SUBSCRIBE message below.] &nbsp;{The id and ticket
seem to be needed for UDP messaging. &nbsp;Although it is clear that the
ticket is used in all future messages, it is not clear how the id is
used
again.}</font>
  <br>
  <br>
  <font face="sans-serif" size="2">{BYE -- If we need HELLO to indicate
the start of traffic, don't we want something to indicate that the
traffic
has ended.}</font>
  <br>
  <br>
  <font face="sans-serif" size="2">COMM protocol host port -- The COMM
message is used to indicate a desire to initiate another swmp channel
over
the indicated transport protocol using the host and port.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">ACK protocol host port -- Following
the establishment of a secondary swmp channel using the COMM request.
&nbsp;The
recipient of a HELLO message on the secondary channel {which should be
both network elements eventually} must send an ACK message over the
primary
channel.</font>
  <br>
  <br>
  <br>
  <br>
  <font face="sans-serif" size="2">Content Messages (These are for
communicating
about the state being managed by the network elements.)</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[ADDNODE parentName childName] --
This
is a request to create a new child node for the specified parent.
&nbsp;{This
corresponds directly to the ADD message in the paper with the nodestr
parameter
eliminated. &nbsp;The paper indicates that ADD places the new child last
in the ordered list of children. &nbsp;If order is important, then this
seems like inadequate control.}</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[REMOVENODE nodeName] -- This is a
request
to delete a node. {This corresponds directly to the REMOVE message in
the
paper with the parentNode parameter removed. &nbsp;Since nodeNames must
be unique over the entire Node hierarchy, it is unclear why the
parentName
was required, so I eliminated it. &nbsp;Although the paper does not say
so, presumably a REMOVENODE request deletes all the children of the
node
as well.}</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[GETNODE nodeName -- This is a
request
to retrieve the information about a node. &nbsp;I added this to round out
the CRUD capabilities for Node.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[GETNODEREPLY nodeName
listOfChildNodeNames
listOfFieldNames -- There are several ways to go with a reply like
this.
&nbsp;I am assuming I will give you enough information to figure out the
structure of a node, ie, the names, but not the actual values.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[ADDFIELD nodeName fieldName type
value
-- This is a request to add a new field to an existing node. &nbsp;The
type and value may be specified by the requestor. &nbsp;The fieldId is
assigned by the controlling network element and is obtained in the
ADDFIELDNOTIFY
message, if a subscription is in place. &nbsp;In the absence of a
subscription,
a GETFIELD request would be needed to obtain the id. &nbsp;{In the paper,
I believe this capability was provided via the SET message.}]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[REMOVEFIELD fieldId -- This is a
request
to remove the specified field. &nbsp;The fieldId would have been provided
by a prior GETFIELDREPLY or ADDFIELDNOTIFY message. &nbsp;{I'm not sure
how this was accomplished in the paper.}]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[SETFIELD fieldId value] -- This is
a request to update the value of a Field. The fieldId would have been
provided
by a prior GETFIELDREPLY or ADDFIELDNOTIFY message. &nbsp;{This corresponds
directly to the SETF message in the paper.}</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[GETFIELD nodeName fieldName -- This
is a request to retrieve the value of a field.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[GETFIELDREPLY nodeName fieldName
type
fieldID value -- This message sends back the information from a
GETFIELD
request. &nbsp;This is one way to discover the name/id equivalence for
a field.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[SUBSCRIBE nodeName lastId -- This
is
a request to subscribe to all changes associated with this Node and any
of its descendants. &nbsp;If the Node is removed, there will be a final
REMOVENOTIFY for the Node after which the subscription is canceled. &nbsp;It
is permissable for a network element to have more than one subscription
request active at the same time. &nbsp;In the event that a subscription
is added for a descendant of another subscribed Node, both
subscriptions
are active, but only one notification is sent for any change that
occurs.
&nbsp;A secondary purpose of the SUBSCRIBE request is to cause the
controlling
network element to "dump" the state of the subscribed node and
its descendants. &nbsp;This is done as a sequence of notifications. &nbsp;The
lastId parameter identifies the last notification from the subscribed
network
element for which an accurate record of the state is available. {The
paper
calls for all messages to contain a sequence number. &nbsp;This seems a
sensible candidate for identifying the last notification message.} &nbsp;If
the lastId is zero, then the subscribed network element should assume
that
the subscribing network element has no record of the subscribed nodes
and
will intitiate a series of ADDNODENOTIFY messages in breadth first
order.
&nbsp;Following each ADDNODENOTIFY message will be the set of ADDFIELDNOTIFY
messages needed to identify all the fields of the node. &nbsp;If the last
ID is non-zero, then the subscribed network element should assume tat
the
subscribing network element has an accurate record of the state as of
the
identified notification message. &nbsp;It should issue a series of
REMOVENODENOTIFY
messages, followed by a set of ADDNODENOTIFY messages in breadth first
order. &nbsp;Following each ADDNODENOTIFY message will be a set of
REMOVEFIELDNOTIFY,
ADDFIELDNOTIFY, and SETFIELDNOTIFY messages for establishing the state
of the fields. &nbsp;{Note: &nbsp;The collection of notifications should
be efficient and not simply a log of all that happened since the prior
subscription.} &nbsp;All such notifications received in response to the
SUBSCRIBE request should be sent prior to sending any notifcations
caused
by additional changes to the state.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[UNSUBSCRIBE nodeName -- This is a
request
to cancel an existing subscription. &nbsp;If the corresponding SUBSCRIBE
request was never made or the subscription was canceled because the
Node
was removed, the UNSUBSCRIBE request is a no-op. &nbsp;When subscriptions
exist for a Node and one of its descendants, cancelation of the
descendant's
subscription will not affect the notifications received. &nbsp;Cancelation
of the ancestor's subscription reduces the set of subscribed nodes down
to the subscribed descendant and its descendants.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[FAILNOTIFY requestId reason --
Since
all of the previous methods are requests of the network element
controlling
the state, it is possible that the controlling network element will
reject
the request. &nbsp;There will need to be a way to communicate the failure
and bind it to the rejected message. {The paper calls for all messages
to contain a sequence number. &nbsp;This seems a sensible candidate for
identifying the rejected message.}]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[ADDNODENOTIFY parentName childName
originatorFlag -- This message notifies one network element of changes
to any subscribed state due to an ADDNODE request. &nbsp;This message is
sent to the requesting node as well, if a subscription is in place. The
originatorFlag is used to signal how the originating request was
handled.
&nbsp;The flag has three values: not-requestor, asis, modified. &nbsp;The
not-requestor value is used when the recipient was not the requestor of
the change. &nbsp;The asis value indicates that the recipient originated
the request and the request was honored without modification. &nbsp;The
modified value indicates that the recipient originated the request, but
the actual value used is not the same as the requested value.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[REMOVENODENOTIFY nodeName
originatorFlag
-- This message notifies one network element of changes to any
subscribed
state due to a REMOVENODE request. &nbsp;The message is sent to the
requesting
node as well and the originatorFlag has the same meaning as in
ADDNODENOTIFY,
though it is difficult to imagine how the modified value might be used.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[ADDFIELDNOTIFY nodeName fieldName
type
fieldId value originatorFlag -- This message notifies one network
element
of changes to any subscribed state due to an ADDFIELD request. &nbsp;The
message is sent to the requesting node as well and the originatorFlag
has
the same meaning as in ADDNODENOTIFY. &nbsp;This message communicates the
name/id equivalence for the field.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[REMOVEFIELDNOTIFY fieldId
originatorFlag
-- This message notifies one network element of changes to any
subscribed
state due to a REMOVEFIELD request. &nbsp;The message is sent to the
requesting
node as well and the originatorFlag has the same meaning as in
ADDNODENOTIFY,
though it is difficult to imagine how the modified value might be used.]</font>
  <br>
  <br>
  <font face="sans-serif" size="2">[SETFIELDNOTIFY fieldId value
originatorFlag
-- This message notifies one network element of changes to any
subscribed
state due to a SETFIELD request. &nbsp;The message is sent to the requesting
node as well and the originatorFlag has the same meaning as in
ADDNODENOTIFY.
&nbsp;{Note: &nbsp;Signaling the SETFIELD originator is needed for situations
like collision detection where the actual position of an object ends up
being something different from the request.}]</font>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
SWMP mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SWMP@ietf.org">SWMP@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www1.ietf.org/mailman/listinfo/swmp">https://www1.ietf.org/mailman/listinfo/swmp</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============1160444389==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1160444389==--



From swmp-bounces@ietf.org Wed Aug 22 14:31:33 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1INuzL-0006U8-Pj; Wed, 22 Aug 2007 14:31:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1INuzK-0006Tx-1o
	for swmp@ietf.org; Wed, 22 Aug 2007 14:31:30 -0400
Received: from e32.co.us.ibm.com ([32.97.110.150])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1INuzI-0001NF-Bj
	for swmp@ietf.org; Wed, 22 Aug 2007 14:31:29 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e32.co.us.ibm.com (8.12.11.20060308/8.13.8) with ESMTP id
	l7MHOUuq019511 for <swmp@ietf.org>; Wed, 22 Aug 2007 13:24:30 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7MIVJY4063356 for <swmp@ietf.org>; Wed, 22 Aug 2007 12:31:19 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7MIVJwc001856 for <swmp@ietf.org>; Wed, 22 Aug 2007 12:31:19 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7MIVI8q001803
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 22 Aug 2007 12:31:19 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7MIVIix026877;
	Wed, 22 Aug 2007 14:31:18 -0400 (EDT)
To: swmp@ietf.org
Subject: Re: [SWMP] My understanding so far
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OFAC3782A7.362B62DD-ON8525733F.0063DEB7-8525733F.0065B842@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 22 Aug 2007 14:31:56 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/22/2007 02:31:59 PM,
	Serialize complete at 08/22/2007 02:31:59 PM
X-Spam-Score: -4.0 (----)
X-Scan-Signature: a8a20a483a84f747e56475e290ee868e
Cc: 
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1805156540=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1805156540==
Content-Type: multipart/alternative;
	boundary="=_alternative 0065B8418525733F_="

This is a multipart message in MIME format.
--=_alternative 0065B8418525733F_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I am interested in knowing what you agree with and what you don't agree 
with, but I don't feel a need to start a charter.

The more work we do to achieve consensus before starting a working group, 
the better.  Once we are at the working group phase everything will become 
more formal and feel more critical.  There are only a few of us in the 
conversation right now and it seems sensible to find the common ground 
before getting more formal.  Who knows, we might all be seeing this in 
radically different ways.  Before committing to a working group, I would 
prefer to know that a core of other committed people are consistently 
returning to the same set of objectives and design concerns.

jfp

****
Hi John, sorry for the late reply, I've been "swamped" with corporate 
stuff.

john_patterson at us.ibm.com wrote: 
I have proposed some changes to the swmp specification and there has not 
been much resistance.  I thought it might help to rearticulate the swmp 
message set with my changes.
Very thoughtful analysis and detailed proposals, and I, for one, agree 
with most of it.  Your clear explication of assumptions is fantastic. I'll 
add thoughts regarding details but first I want to make sure everybody 
understands the context of this list.

This is an "interest" list for disucssion about the topic of a "simple 
wide-area multiuser-3D protocol", being a first step towards a Working 
Group and then the rfc process.  But just being at the interest-discussion 
stage, we don't yet have a process for submission of changes, approval of 
changes, or publishing of changes.  Indeed we don't really have a 
specification to change except for the strawman work I submitted, in the 
hopes that people find it useful as a starting point.

Thus your analysis is most welcome, but to take it to the next step we 
need to draft a charter, nominate and choose working group chairs.  Are 
people anxious to go to the working group stage?  If so, lets pop up a 
level and discuss the charter.

jay

--=_alternative 0065B8418525733F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I am interested in knowing what you
agree with and what you don't agree with, but I don't feel a need to start
a charter.</font>
<br>
<br><font size=2 face="sans-serif">The more work we do to achieve consensus
before starting a working group, the better. &nbsp;Once we are at the working
group phase everything will become more formal and feel more critical.
&nbsp;There are only a few of us in the conversation right now and it seems
sensible to find the common ground before getting more formal. &nbsp;Who
knows, we might all be seeing this in radically different ways. &nbsp;Before
committing to a working group, I would prefer to know that a core of other
committed people are consistently returning to the same set of objectives
and design concerns.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br><font size=2 face="sans-serif">****</font>
<table width=100%>
<tr>
<td width=100% bgcolor=white><font size=3>Hi John, sorry for the late reply,
I've been &quot;swamped&quot; with corporate stuff.<br>
</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:john_patterson at us.ibm.com"><font size=3 color=blue><u>john_patterson
at us.ibm.com</u></font></a><font size=3> wrote: </font>
<br><font size=2 face="sans-serif">I have proposed some changes to the
swmp specification and there has not been much resistance. &nbsp;I thought
it might help to rearticulate the swmp message set with my changes.</font>
<br><font size=3>Very thoughtful analysis and detailed proposals, and I,
for one, agree with most of it.&nbsp; Your clear explication of assumptions
is fantastic. I'll add thoughts regarding details but first I want to make
sure everybody understands the context of this list.<br>
<br>
This is an &quot;interest&quot; list for disucssion about the topic of
a &quot;simple wide-area multiuser-3D protocol&quot;, being a first step
towards a Working Group and then the rfc process.&nbsp; But just being
at the interest-discussion stage, we don't yet have a process for submission
of changes, approval of changes, or publishing of changes.&nbsp; Indeed
we don't really have a specification to change except for the strawman
work I submitted, in the hopes that people find it useful as a starting
point.<br>
<br>
Thus your analysis is most welcome, but to take it to the next step we
need to draft a charter, nominate and choose working group chairs.&nbsp;
Are people anxious to go to the working group stage?&nbsp; If so, lets
pop up a level and discuss the charter.<br>
<br>
jay</font></table>
<br>
--=_alternative 0065B8418525733F_=--


--===============1805156540==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1805156540==--




From swmp-bounces@ietf.org Wed Aug 22 14:39:14 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1INv6n-0005Ro-Vx; Wed, 22 Aug 2007 14:39:13 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1INv6n-0005Rg-2L
	for swmp@ietf.org; Wed, 22 Aug 2007 14:39:13 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1INv6l-0001Va-JA
	for swmp@ietf.org; Wed, 22 Aug 2007 14:39:13 -0400
Received: from NEO (adsl-67-113-133-74.dsl.sntc01.pacbell.net [67.113.133.74])
	by william.mediamachines.com (Postfix) with ESMTP
	id 156C6464005; Wed, 22 Aug 2007 13:37:02 -0500 (CDT)
From: "Tony Parisi" <tparisi@mediamachines.com>
To: <john_patterson@us.ibm.com>, <swmp@ietf.org>
Subject: RE: [SWMP] My understanding so far
Date: Wed, 22 Aug 2007 11:39:07 -0700
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Thread-Index: Acfk6l0sNDBGJKY1Sze+f5UD0o2pgQAAPVNQ
In-Reply-To: <OFAC3782A7.362B62DD-ON8525733F.0063DEB7-8525733F.0065B842@lotus.com>
Message-Id: <20070822183702.156C6464005@william.mediamachines.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2b3349545af520ba354ccdc9e1a03fc1
Cc: 
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1056552078=="
Errors-To: swmp-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1056552078==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0070_01C7E4B1.0DA35220"

This is a multi-part message in MIME format.

------=_NextPart_000_0070_01C7E4B1.0DA35220
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I think I agree with that sentiment. Having a working group will raise the
stakes. It's a bit early for that. Let's keep this more casual for the next
little while, generally explore the issues at a next level of detail.

 

We'll try to get you some feedback shortly. As Jay pointed out we are a bit
snowed under at the moment.

 

Thanks

Tony

 

 

  _____  

From: john_patterson@us.ibm.com [mailto:john_patterson@us.ibm.com] 
Sent: Wednesday, August 22, 2007 11:32 AM
To: swmp@ietf.org
Subject: Re: [SWMP] My understanding so far

 


Jay: 

I am interested in knowing what you agree with and what you don't agree
with, but I don't feel a need to start a charter. 

The more work we do to achieve consensus before starting a working group,
the better.  Once we are at the working group phase everything will become
more formal and feel more critical.  There are only a few of us in the
conversation right now and it seems sensible to find the common ground
before getting more formal.  Who knows, we might all be seeing this in
radically different ways.  Before committing to a working group, I would
prefer to know that a core of other committed people are consistently
returning to the same set of objectives and design concerns. 

jfp 

**** 


Hi John, sorry for the late reply, I've been "swamped" with corporate stuff.

john_patterson <mailto:john_patterson%20at%20us.ibm.com>  at us.ibm.com
wrote: 
I have proposed some changes to the swmp specification and there has not
been much resistance.  I thought it might help to rearticulate the swmp
message set with my changes. 
Very thoughtful analysis and detailed proposals, and I, for one, agree with
most of it.  Your clear explication of assumptions is fantastic. I'll add
thoughts regarding details but first I want to make sure everybody
understands the context of this list.

This is an "interest" list for disucssion about the topic of a "simple
wide-area multiuser-3D protocol", being a first step towards a Working Group
and then the rfc process.  But just being at the interest-discussion stage,
we don't yet have a process for submission of changes, approval of changes,
or publishing of changes.  Indeed we don't really have a specification to
change except for the strawman work I submitted, in the hopes that people
find it useful as a starting point.

Thus your analysis is most welcome, but to take it to the next step we need
to draft a charter, nominate and choose working group chairs.  Are people
anxious to go to the working group stage?  If so, lets pop up a level and
discuss the charter.

jay

 


------=_NextPart_000_0070_01C7E4B1.0DA35220
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:sans-serif;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I think I agree with that =
sentiment. Having
a working group will raise the stakes. It&#8217;s a bit early for that. =
Let&#8217;s
keep this more casual for the next little while, generally explore the =
issues
at a next level of detail.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>We&#8217;ll try to get you some =
feedback shortly.
As Jay pointed out we are a bit snowed under at the =
moment.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
john_patterson@us.ibm.com [mailto:john_patterson@us.ibm.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, August =
22, 2007
11:32 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> swmp@ietf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [SWMP] My
understanding so far</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
</span></font><font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;
font-family:sans-serif'>Jay:</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>I
am interested in knowing what you agree with and what you don't agree =
with, but
I don't feel a need to start a charter.</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>The
more work we do to achieve consensus before starting a working group, =
the
better. &nbsp;Once we are at the working group phase everything will =
become
more formal and feel more critical. &nbsp;There are only a few of us in =
the
conversation right now and it seems sensible to find the common ground =
before
getting more formal. &nbsp;Who knows, we might all be seeing this in =
radically
different ways. &nbsp;Before committing to a working group, I would =
prefer to
know that a core of other committed people are consistently returning to =
the
same set of objectives and design concerns.</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>jfp</span></font>
<br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>****</span></font>
<o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%"
 style=3D'width:100.0%'>
 <tr>
  <td width=3D"100%" bgcolor=3Dwhite =
style=3D'width:100.0%;background:white;
  padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
  style=3D'font-size:12.0pt'>Hi John, sorry for the late reply, I've =
been
  &quot;swamped&quot; with corporate stuff.<br>
  <u><font color=3Dblue><span style=3D'color:blue'><br>
  </span></font></u><a =
href=3D"mailto:john_patterson%20at%20us.ibm.com">john_patterson
  at us.ibm.com</a> wrote: <br>
  </span></font><font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;
  font-family:sans-serif'>I have proposed some changes to the swmp
  specification and there has not been much resistance. &nbsp;I thought =
it
  might help to rearticulate the swmp message set with my =
changes.</span></font>
  <br>
  Very thoughtful analysis and detailed proposals, and I, for one, agree =
with
  most of it.&nbsp; Your clear explication of assumptions is fantastic. =
I'll
  add thoughts regarding details but first I want to make sure everybody
  understands the context of this list.<br>
  <br>
  This is an &quot;interest&quot; list for disucssion about the topic of =
a
  &quot;simple wide-area multiuser-3D protocol&quot;, being a first step
  towards a Working Group and then the rfc process.&nbsp; But just being =
at the
  interest-discussion stage, we don't yet have a process for submission =
of
  changes, approval of changes, or publishing of changes.&nbsp; Indeed =
we don't
  really have a specification to change except for the strawman work I
  submitted, in the hopes that people find it useful as a starting =
point.<br>
  <br>
  Thus your analysis is most welcome, but to take it to the next step we =
need
  to draft a charter, nominate and choose working group chairs.&nbsp; =
Are
  people anxious to go to the working group stage?&nbsp; If so, lets pop =
up a
  level and discuss the charter.<br>
  <br>
  jay<o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_0070_01C7E4B1.0DA35220--




--===============1056552078==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1056552078==--






From swmp-bounces@ietf.org Wed Aug 22 17:53:32 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1INy8q-0002t5-2q; Wed, 22 Aug 2007 17:53:32 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1INy8o-0002sx-L7
	for swmp@ietf.org; Wed, 22 Aug 2007 17:53:30 -0400
Received: from e4.ny.us.ibm.com ([32.97.182.144])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1INy8n-0002e4-FI
	for swmp@ietf.org; Wed, 22 Aug 2007 17:53:30 -0400
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7MLr9s9032176
	for <swmp@ietf.org>; Wed, 22 Aug 2007 17:53:09 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7MLr9Oo552716 for <swmp@ietf.org>; Wed, 22 Aug 2007 17:53:09 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7MLr9Or001189 for <swmp@ietf.org>; Wed, 22 Aug 2007 17:53:09 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7MLr9Ag001177
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <swmp@ietf.org>; Wed, 22 Aug 2007 17:53:09 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7MLr8N6012814
	for <swmp@ietf.org>; Wed, 22 Aug 2007 17:53:08 -0400 (EDT)
To: swmp@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF3916DF06.07A7A413-ON8525733F.007212A0-8525733F.00783317@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 22 Aug 2007 17:53:47 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/22/2007 05:53:50 PM,
	Serialize complete at 08/22/2007 05:53:50 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 93df555cbdbcdae9621e5b95d44b301e
Subject: [SWMP] Use Case 1:  Initialization from a URL
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1407632872=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1407632872==
Content-Type: multipart/alternative;
	boundary="=_alternative 007833168525733F_="

This is a multipart message in MIME format.
--=_alternative 007833168525733F_=
Content-Type: text/plain; charset="US-ASCII"

One of my colleagues, who is knowledgable about standards, advocates that 
a standardization team should have a clear set of use cases that drives 
their thinking.  He has also posed this as an initial use case:

"You look at an ad or a billboard and see a URL for a neat virtual world. 
You go back to your browser and enter the URL to arrive at the virtual 
world."

How do we see that happening?

Mostly to get the ball rolling, let me offer an answer to this question. 
Others are possible, but this reveals my thinking about how swmp would 
work with other protocols.

1.  I assume that the URL takes the form 
"swmp://VWServer.VWHostCompany.com/shard"
2.  I assume my browser is equipped with a plugin that knows how to deal 
with the swmp protocol scheme.
3.  The browser contacts VWServer.VWHostCompany.com using the swmp 
protocol and requests information about the shard node.
4.  The browser asks for the "X3DURL" field of the shard node to obtain 
the static description of the shard's 3D model.  This is a predefined and 
reserved field name that may only be used to hold a URL that links to an 
X3D description.  Alternatively, there might be a "ColladaURL" or any 
other exchange representation for a 3D description of the virtual world. 
In some cases, it might be sensible to split the terrain description from 
the base objects in the world.  The main point is that swmp does not 
assume responsibility for transmitting static aspects of the world.  These 
are retrieved via http.
    - In general, I would expect the static aspects of the world to be 
retrieved before subscribing to the shard via swmp.  After subscribing, 
one will learn about swmp nodes that will often bind to previously 
downloaded static nodes.  You will want these in place before the 
subscription information starts arriving.
    - I think of the relationship of a swmp node to its static node as 
like that of an instance to its class.  The static description might be 
reused in many shards, but only this instance has these dynamic settings. 
While we can assume that the dynamic representation "knows" the static 
representation that it builds off.  The reverse is not true.  We cannot go 
to the static representation to discover the dynamic shard.  In the 
general case, the static representation might support many dynamic 
instances and might not even "know" about all of them.  (Consider a 
standard office layout.  We all use it to create our personal virtual 
office, but then we customize it by adding pictures, furniture, and links 
to other rooms.)
5)  Once the static description is retrieved, we subscribe to the shard. 
This results in a stream of messages describing the dynamic nodes of the 
shard.
6)  Insofar as newly identified nodes bind to nodes downloaded via the 
X3DURL, we simply facilitate the binding of this information into a single 
object representation.  Thus, for example, the static representation of 
the shard might have included a building with a door that could be open or 
closed.  Based solely on the static description we would take the default 
setting (perhaps closed).  After receiving the dynamic information via 
swmp, we would discover that the actual setting is now open and update the 
object as needed.  The subscription will ensure that future modifications 
to the door will be noted as they occur.
7)  As we learn about the dynamic aspects of the shard, we will find that 
some swmp nodes do not correspond to already identified nodes.  These are 
nodes that have been added to the scene.  They should have their own 
"X3DURL".  We would retrieve this static description and add it into the 
model that we are building.
    - Note that the X3DURLs need not come from the same server.  This is 
important.  We will want to populate a shard with objects found in a 
different catalog.  There is no reason that the place and the stuff in the 
place must come from the same service.
    - Note that avatars are simply another object (albeit an important 
one) in the shard.  In general, I will want the service providing my 
avatar description to be separate from the service providing a world. 
That's what will permit me to go from world to world without changing 
avatars.
    - Since a swmp hierarchy might be sparser than the X3D hierarchy, it 
might be necessary to define a special field that identifies a new node's 
parent.  I'm not certain what else might be needed to ensure that new 
nodes are effectively bound into the runtime hierarchy of nodes.  If other 
information is needed, we will probably need more of those predefined and 
reserved field names.

I think that's it. 

My biggest concern has to do with whether the swmp hierarchy must be 
complete.  If it must be complete, then we may find ourselves reporting 
about a lot of nodes that do not contain any dynamic information.  If it 
is not complete, then the runtime hierarchy is entirely emergent from a 
combination of the static and dynamic information.  I am not sure this is 
a problem, but it seems precarious.

jfp
--=_alternative 007833168525733F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">One of my colleagues, who is knowledgable
about standards, advocates that a standardization team should have a clear
set of use cases that drives their thinking. &nbsp;He has also posed this
as an initial use case:</font>
<br>
<br><font size=2 face="sans-serif">&quot;You look at an ad or a billboard
and see a URL for a neat virtual world. &nbsp;You go back to your browser
and enter the URL to arrive at the virtual world.&quot;</font>
<br>
<br><font size=2 face="sans-serif">How do we see that happening?</font>
<br>
<br><font size=2 face="sans-serif">Mostly to get the ball rolling, let
me offer an answer to this question. &nbsp;Others are possible, but this
reveals my thinking about how swmp would work with other protocols.</font>
<br>
<br><font size=2 face="sans-serif">1. &nbsp;I assume that the URL takes
the form &quot;swmp://VWServer.VWHostCompany.com/shard&quot;</font>
<br><font size=2 face="sans-serif">2. &nbsp;I assume my browser is equipped
with a plugin that knows how to deal with the swmp protocol scheme.</font>
<br><font size=2 face="sans-serif">3. &nbsp;The browser contacts VWServer.VWHostCompany.com
using the swmp protocol and requests information about the shard node.</font>
<br><font size=2 face="sans-serif">4. &nbsp;The browser asks for the &quot;X3DURL&quot;
field of the shard node to obtain the static description of the shard's
3D model. &nbsp;This is a predefined and reserved field name that may only
be used to hold a URL that links to an X3D description. &nbsp;Alternatively,
there might be a &quot;ColladaURL&quot; or any other exchange representation
for a 3D description of the virtual world. &nbsp;In some cases, it might
be sensible to split the terrain description from the base objects in the
world. &nbsp;The main point is that swmp does not assume responsibility
for transmitting static aspects of the world. &nbsp;These are retrieved
via http.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; - In general, I would
expect the static aspects of the world to be retrieved before subscribing
to the shard via swmp. &nbsp;After subscribing, one will learn about swmp
nodes that will often bind to previously downloaded static nodes. &nbsp;You
will want these in place before the subscription information starts arriving.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; - I think of the relationship
of a swmp node to its static node as like that of an instance to its class.
&nbsp;The static description might be reused in many shards, but only this
instance has these dynamic settings. &nbsp;While we can assume that the
dynamic representation &quot;knows&quot; the static representation that
it builds off. &nbsp;The reverse is not true. &nbsp;We cannot go to the
static representation to discover the dynamic shard. &nbsp;In the general
case, the static representation might support many dynamic instances and
might not even &quot;know&quot; about all of them. &nbsp;(Consider a standard
office layout. &nbsp;We all use it to create our personal virtual office,
but then we customize it by adding pictures, furniture, and links to other
rooms.)</font>
<br><font size=2 face="sans-serif">5) &nbsp;Once the static description
is retrieved, we subscribe to the shard. &nbsp;This results in a stream
of messages describing the dynamic nodes of the shard.</font>
<br><font size=2 face="sans-serif">6) &nbsp;Insofar as newly identified
nodes bind to nodes downloaded via the X3DURL, we simply facilitate the
binding of this information into a single object representation. &nbsp;Thus,
for example, the static representation of the shard might have included
a building with a door that could be open or closed. &nbsp;Based solely
on the static description we would take the default setting (perhaps closed).
&nbsp;After receiving the dynamic information via swmp, we would discover
that the actual setting is now open and update the object as needed. &nbsp;The
subscription will ensure that future modifications to the door will be
noted as they occur.</font>
<br><font size=2 face="sans-serif">7) &nbsp;As we learn about the dynamic
aspects of the shard, we will find that some swmp nodes do not correspond
to already identified nodes. &nbsp;These are nodes that have been added
to the scene. &nbsp;They should have their own &quot;X3DURL&quot;. &nbsp;We
would retrieve this static description and add it into the model that we
are building.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; - Note that the X3DURLs
need not come from the same server. &nbsp;This is important. &nbsp;We will
want to populate a shard with objects found in a different catalog. &nbsp;There
is no reason that the place and the stuff in the place must come from the
same service.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; - Note that avatars are
simply another object (albeit an important one) in the shard. &nbsp;In
general, I will want the service providing my avatar description to be
separate from the service providing a world. &nbsp;That's what will permit
me to go from world to world without changing avatars.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; - Since a swmp hierarchy
might be sparser than the X3D hierarchy, it might be necessary to define
a special field that identifies a new node's parent. &nbsp;I'm not certain
what else might be needed to ensure that new nodes are effectively bound
into the runtime hierarchy of nodes. &nbsp;If other information is needed,
we will probably need more of those predefined and reserved field names.</font>
<br>
<br><font size=2 face="sans-serif">I think that's it. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">My biggest concern has to do with whether
the swmp hierarchy must be complete. &nbsp;If it must be complete, then
we may find ourselves reporting about a lot of nodes that do not contain
any dynamic information. &nbsp;If it is not complete, then the runtime
hierarchy is entirely emergent from a combination of the static and dynamic
information. &nbsp;I am not sure this is a problem, but it seems precarious.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
--=_alternative 007833168525733F_=--


--===============1407632872==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1407632872==--




From swmp-bounces@ietf.org Fri Aug 24 01:16:34 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IORX7-0008Mm-0c; Fri, 24 Aug 2007 01:16:33 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IORX5-0008Mg-22
	for swmp@ietf.org; Fri, 24 Aug 2007 01:16:31 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IORX4-0007p7-94
	for swmp@ietf.org; Fri, 24 Aug 2007 01:16:30 -0400
Received: from ip-80-226-1-1.vodafone-net.de [80.226.1.1] (helo=MMT)
	by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis),
	id 0ML2xA-1IORWz1mvg-00027T; Fri, 24 Aug 2007 07:16:29 +0200
From: =?utf-8?b?Ym9laG1pc2NoQGFuaW1hYml0LmRlIA==?= <boehmisch@animabit.de>
To: swmp@ietf.org
Cc: 
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <0ML2xA-1IORWz1mvg-00027T@mrelayeu.kundenserver.de>
Date: Fri, 24 Aug 2007 07:16:25 +0200
X-Provags-ID: V01U2FsdGVkX18bW51zq26ZPmNHjRIaNNdlv8Qhywm/PKWtcTO
	BIHoaDGBnxjYLKygpp9afgc+1mKxYp/Rzmnli7RPRCw/8nn0Vd
	Km60PzUZs62cEYX2dMlNQDwClPJQbrojemAgeIBf3w=
X-Spam-Score: 2.1 (++)
X-Scan-Signature: d6b246023072368de71562c0ab503126
Subject: [SWMP] swmp ports and firewalls
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Hello,

your concepts about a new protocoll for mu3d are really interesting. My question arises from experiences in some german companies where only port 80 and http is allowed companywide (worldwide in VPN). Protocolls like remotelogin or netmeeting of microsoft using UDP on higher ports are often blocked.
What do you think about the ports swmp should be tansmitted over? Would it not be better to use a combined system of http for getting x3d static data (port 80 not blocked) and swmp for all data else (multiuser nodes ...) with UDP on higher ports. This would result in the possibility of many users to get the static world but only nonblocked users to enter in the multiuser possibilities ...

I am managing  a small company here in Germany, using VRML for our first 3d product (DVD about the history of the popes) with a ajax3d technique for getting updates and some basic multiuser features. We are using bscontact and the sdk of bitmanagement.

Regards,
Franz Böhmisch
boehmisch@animabit.de
http://www.animabit.de
085018538





Mit Pocket Web werden Ihre E-Mails mobil. Mehr erfahren Sie unter www.pocket-web.de.


_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Fri Aug 24 11:39:24 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IObFr-0004bZ-Fm; Fri, 24 Aug 2007 11:39:23 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IObFp-0004bS-Vx
	for swmp@ietf.org; Fri, 24 Aug 2007 11:39:22 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IObFp-0007FR-CO
	for swmp@ietf.org; Fri, 24 Aug 2007 11:39:21 -0400
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202]) by william.mediamachines.com (Postfix) with ESMTP
	id C36D2464005; Fri, 24 Aug 2007 10:37:09 -0500 (CDT)
Message-ID: <46CEFBA9.60602@mediamachines.com>
Date: Fri, 24 Aug 2007 08:39:21 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
Cc: swmp@ietf.org
Subject: [SWMP] semantic layers
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1484785537=="
Errors-To: swmp-bounces@ietf.org

--===============1484785537==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jon: there are many issues in your note so I will respond in pieces, so
we can discuss issues separately and without undue reading burden on
the others :-)<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"><font face="sans-serif" size="2">A) &nbsp;As originally
specified, swmp
does not distinguish between requesting a state change and being
notified
of a state change. &nbsp;It tends to treat the state sharing as largely
a replication task with neither network element having a controlling
role
over the state. &nbsp;I think it is more realistic and practical to assume
that each network element has control over its state and the other
network
element may request changes and be notified when changes happen.</font></blockquote>
I agree that distinction is important.&nbsp; The original SWMP doesn't take
a position on which elements have a controlling role, leaving that to
the semantics of the architecture.&nbsp; My intent was to separate the two
layers of semantics, so that the protocol would be kept simple and be
applicable to many different architectures.<br>
<br>
E.g., a peer-peer architecture would specify, as you say, that "each
network element has control over its state and the other network
element may request changes and be notified when changes happen", but
some client-server architectures (including most MMOGs) vest all
control over state in the server element.&nbsp; That is, a state message
from the server is always an authoritative notification, and a state
message from a client is always a provisional request.&nbsp; In such an
architecture, network elements get this semantics from their known
roles, they don't need to get it from inside the messages.<br>
<br>
jay<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============1484785537==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1484785537==--



From swmp-bounces@ietf.org Fri Aug 24 12:01:43 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IObbT-00063J-Ei; Fri, 24 Aug 2007 12:01:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IObbS-00060B-MH
	for swmp@ietf.org; Fri, 24 Aug 2007 12:01:42 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IObbQ-0004nY-Np
	for swmp@ietf.org; Fri, 24 Aug 2007 12:01:42 -0400
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202]) by william.mediamachines.com (Postfix) with ESMTP
	id 9465E464005; Fri, 24 Aug 2007 10:59:29 -0500 (CDT)
Message-ID: <46CF00E4.6030207@mediamachines.com>
Date: Fri, 24 Aug 2007 09:01:40 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 97adf591118a232206bdb5a27b217034
Cc: swmp@ietf.org
Subject: [SWMP] field-creation semantics
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0500276898=="
Errors-To: swmp-bounces@ietf.org

--===============0500276898==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"><font face="sans-serif" size="2">C) &nbsp;SET is overloaded as
both a
way to change and create (and probably remove) a Field. &nbsp;I think it
is clearer to separate these operations. &nbsp;This leads to an ADDFIELD,
REMOVEFIELD, and a SETFIELD. &nbsp;Then for clarity ADD and REMOVE need
to become ADDNODE and REMOVENODE.</font>
  <br>
</blockquote>
It's true that setting a previously-nonexistent field had the
side-effect of "creating" the field.&nbsp; Or, one could think of it as all
fields exist, but have undefined values until set.&nbsp; This is usually the
semantics of associative arrays, and has a useful simplicity, e.g., in
web DOM and some XML apis.&nbsp; I guess it's a matter of taste, but it is a
way to keep the protocol simpler.<br>
<br>
jay<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============0500276898==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0500276898==--



From swmp-bounces@ietf.org Fri Aug 24 12:03:46 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IObdR-0000Lp-WD; Fri, 24 Aug 2007 12:03:46 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IObdP-0000Fx-Sh
	for swmp@ietf.org; Fri, 24 Aug 2007 12:03:43 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IObdP-0007uG-Ie
	for swmp@ietf.org; Fri, 24 Aug 2007 12:03:43 -0400
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202]) by william.mediamachines.com (Postfix) with ESMTP
	id BA46D46404E; Fri, 24 Aug 2007 11:01:32 -0500 (CDT)
Message-ID: <46CF0160.6020201@mediamachines.com>
Date: Fri, 24 Aug 2007 09:03:44 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
Cc: swmp@ietf.org
Subject: [SWMP] introducing RPC to an asynchronous protocol
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1590161473=="
Errors-To: swmp-bounces@ietf.org

--===============1590161473==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:<br>
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"> <font face="sans-serif" size="2">D) &nbsp;I believe that swmp
will need
the full complement of CRUD (create, read, update, delete) operations.
&nbsp;I think the absence of read methods derived from the implicit
subscription
to all state. &nbsp;Now, that one can subscribe to some, but not all of
the state, I believe it will become desirable to request the values of
unsubscribed state. &nbsp;This prompted me to add a GETNODE and a GETFIELD
request, which required GETNODEREPLY and GETFIELDREPLY messages to
return
the response.</font> <br>
</blockquote>
Interesting, but the danger here is "return the response".&nbsp; There's a
big advantage to resisting the introduction of RPC-style elements in a
context of minimizing latency -- obviously RPC involves a round-trip of
messaging.&nbsp; Keeping SWMP asynchronous will keep it mapping simply and
efficiently onto datagram transports.<br>
<br>
I like the PUB-SUB suggestions you've made, especially because PUB-SUB
can be designed to work well in an asynchronous protocol.<br>
<br>
jay<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============1590161473==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1590161473==--



From swmp-bounces@ietf.org Fri Aug 24 12:12:05 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IOblV-0003xB-Lr; Fri, 24 Aug 2007 12:12:05 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IOblU-0003p9-Eu
	for swmp@ietf.org; Fri, 24 Aug 2007 12:12:04 -0400
Received: from e31.co.us.ibm.com ([32.97.110.149])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IOblT-00086A-9E
	for swmp@ietf.org; Fri, 24 Aug 2007 12:12:04 -0400
Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com
	[9.17.195.227])
	by e31.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7OGBoPa027579
	for <swmp@ietf.org>; Fri, 24 Aug 2007 12:11:50 -0400
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169])
	by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7OGBolK173872 for <swmp@ietf.org>; Fri, 24 Aug 2007 10:11:50 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1])
	by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7OGBo7R015190 for <swmp@ietf.org>; Fri, 24 Aug 2007 10:11:50 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av03.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7OGBnYo015092
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 24 Aug 2007 10:11:49 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7OGBmPh021715;
	Fri, 24 Aug 2007 12:11:48 -0400 (EDT)
In-Reply-To: <46CEFBA9.60602@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF3E85494A.DA56C0EB-ON85257341.005793A1-85257341.0058F2E4@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 24 Aug 2007 12:12:26 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/24/2007 12:12:31 PM,
	Serialize complete at 08/24/2007 12:12:31 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e8c5db863102a3ada84e0cd52a81a79e
Cc: swmp@ietf.org
Subject: [SWMP] Re: semantic layers
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1143692623=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1143692623==
Content-Type: multipart/alternative;
	boundary="=_alternative 0058F2E285257341_="

This is a multipart message in MIME format.
--=_alternative 0058F2E285257341_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I understand that in a client-server setup the role would disambiguate the 
message, but I don't see what is gained by making the message be the same. 
 There is no real saving in the protocol by using the same name for 
different purposes and it can be confusing to anyone trying to understand 
the protocol.  I lean in the direction of avoiding overloading messages. 
For distinct purposes, I am inclined to use distinct messages.  I don't 
think the code cares either way and it makes the whole thing clearer to 
anyone studying the protocol.

As for peer-to-peer situations, I was worried whether there might be 
situations in which the ambiguity of SET might create difficulties.  I 
haven't really figured it all out, but the kind of thing I was worried 
about was cycles in which a peer is receiving a SET message as 
notification for a change that it actually originated.  Being unable to 
tell that it is a notification and not a request for change, it might 
apply the change and send out its notifications and simply keep the cycle 
going.  My guess is that a simple two peer setup could detect and suppress 
the problem.  Perhaps it is only an issue when there are three or more 
peers and the communication patterns form a cycle.

In any case, I think it is better to use separate messages for distinct 
purposes.  The protocol only looks simpler in its message count.  For the 
diligent student of the protocol, overloading can actually make it all 
more complex.

jfp



"Jay C. Weber" <jweber@mediamachines.com> 
08/24/2007 11:39 AM

To
john_patterson@us.ibm.com
cc
swmp@ietf.org
Subject
semantic layers






Jon: there are many issues in your note so I will respond in pieces, so we 
can discuss issues separately and without undue reading burden on the 
others :-)

john_patterson@us.ibm.com wrote: 
A)  As originally specified, swmp does not distinguish between requesting 
a state change and being notified of a state change.  It tends to treat 
the state sharing as largely a replication task with neither network 
element having a controlling role over the state.  I think it is more 
realistic and practical to assume that each network element has control 
over its state and the other network element may request changes and be 
notified when changes happen.
I agree that distinction is important.  The original SWMP doesn't take a 
position on which elements have a controlling role, leaving that to the 
semantics of the architecture.  My intent was to separate the two layers 
of semantics, so that the protocol would be kept simple and be applicable 
to many different architectures.

E.g., a peer-peer architecture would specify, as you say, that "each 
network element has control over its state and the other network element 
may request changes and be notified when changes happen", but some 
client-server architectures (including most MMOGs) vest all control over 
state in the server element.  That is, a state message from the server is 
always an authoritative notification, and a state message from a client is 
always a provisional request.  In such an architecture, network elements 
get this semantics from their known roles, they don't need to get it from 
inside the messages.

jay
-- 
Jay C. Weber, Ph.D. 
CTO, Media Machines Inc. 
650-279-2311 

--=_alternative 0058F2E285257341_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I understand that in a client-server
setup the role would disambiguate the message, but I don't see what is
gained by making the message be the same. &nbsp;There is no real saving
in the protocol by using the same name for different purposes and it can
be confusing to anyone trying to understand the protocol. &nbsp;I lean
in the direction of avoiding overloading messages. &nbsp;For distinct purposes,
I am inclined to use distinct messages. &nbsp;I don't think the code cares
either way and it makes the whole thing clearer to anyone studying the
protocol.</font>
<br>
<br><font size=2 face="sans-serif">As for peer-to-peer situations, I was
worried whether there might be situations in which the ambiguity of SET
might create difficulties. &nbsp;I haven't really figured it all out, but
the kind of thing I was worried about was cycles in which a peer is receiving
a SET message as notification for a change that it actually originated.
&nbsp;Being unable to tell that it is a notification and not a request
for change, it might apply the change and send out its notifications and
simply keep the cycle going. &nbsp;My guess is that a simple two peer setup
could detect and suppress the problem. &nbsp;Perhaps it is only an issue
when there are three or more peers and the communication patterns form
a cycle.</font>
<br>
<br><font size=2 face="sans-serif">In any case, I think it is better to
use separate messages for distinct purposes. &nbsp;The protocol only looks
simpler in its message count. &nbsp;For the diligent student of the protocol,
overloading can actually make it all more complex.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Jay C. Weber&quot;
&lt;jweber@mediamachines.com&gt;</b> </font>
<p><font size=1 face="sans-serif">08/24/2007 11:39 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">john_patterson@us.ibm.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">swmp@ietf.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">semantic layers</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Jon: there are many issues in your note so I will respond
in pieces, so we can discuss issues separately and without undue reading
burden on the others :-)<br>
</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:john_patterson@us.ibm.com><font size=3 color=blue><u>john_patterson@us.ibm.com</u></font></a><font size=3>
wrote: </font>
<br><font size=2 face="sans-serif">A) &nbsp;As originally specified, swmp
does not distinguish between requesting a state change and being notified
of a state change. &nbsp;It tends to treat the state sharing as largely
a replication task with neither network element having a controlling role
over the state. &nbsp;I think it is more realistic and practical to assume
that each network element has control over its state and the other network
element may request changes and be notified when changes happen.</font>
<br><font size=3>I agree that distinction is important. &nbsp;The original
SWMP doesn't take a position on which elements have a controlling role,
leaving that to the semantics of the architecture. &nbsp;My intent was
to separate the two layers of semantics, so that the protocol would be
kept simple and be applicable to many different architectures.<br>
<br>
E.g., a peer-peer architecture would specify, as you say, that &quot;each
network element has control over its state and the other network element
may request changes and be notified when changes happen&quot;, but some
client-server architectures (including most MMOGs) vest all control over
state in the server element. &nbsp;That is, a state message from the server
is always an authoritative notification, and a state message from a client
is always a provisional request. &nbsp;In such an architecture, network
elements get this semantics from their known roles, they don't need to
get it from inside the messages.<br>
<br>
jay</font>
<br><font size=3>-- <br>
Jay C. Weber, Ph.D. <br>
CTO, Media Machines Inc. <br>
650-279-2311 </font>
<br>
--=_alternative 0058F2E285257341_=--


--===============1143692623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1143692623==--




From swmp-bounces@ietf.org Fri Aug 24 12:18:30 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IObri-0005tf-3R; Fri, 24 Aug 2007 12:18:30 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IObrg-0005kN-66
	for swmp@ietf.org; Fri, 24 Aug 2007 12:18:28 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IObrf-00007D-QI
	for swmp@ietf.org; Fri, 24 Aug 2007 12:18:28 -0400
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202]) by william.mediamachines.com (Postfix) with ESMTP
	id 4BD99464005; Fri, 24 Aug 2007 11:16:16 -0500 (CDT)
Message-ID: <46CF04CF.7080903@mediamachines.com>
Date: Fri, 24 Aug 2007 09:18:23 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
In-Reply-To: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
Cc: swmp@ietf.org
Subject: [SWMP] faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0043166985=="
Errors-To: swmp-bounces@ietf.org

--===============0043166985==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:<br>
<blockquote
 cite="mid:OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com"
 type="cite"> <font face="sans-serif" size="2">F) &nbsp;The use of the
fieldId on the
SET message as a way to allow faster field references seemed to require
modification. &nbsp;For one thing, it did not seem right that the name/id
association was being defined by the requesting network element rather
than the network element controlling the state.</font></blockquote>
It's really about this:&nbsp; element A needs to specify a
&lt;node,field&gt; in a message to element B.&nbsp; If A sends B a number of
such messages, it's worth setting up a shorthand for that pair.&nbsp; Thus
my SWMP design was to add a message parameter to SET, a non-negative
integer fieldId, that when non-zero means "if I use this fieldId in the
future it means this &lt;node,field&gt; pair".&nbsp; And I created a SETF
message that uses the fieldId.&nbsp; Thus one SET message would be followed
by many SETF messages, the advantage being that SETF messages are much
shorter.<br>
<br>
It doesn't matter what the architectural roles are of A and B, it's
just a bilateral mechanism to create a shorthand, and it makes sense to
me that the element that coins the &lt;node,field&gt; pair is the one
to coin the shorthand for it.<br>
<br>
jay<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============0043166985==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0043166985==--



From swmp-bounces@ietf.org Fri Aug 24 12:22:52 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IObvw-00080z-Ha; Fri, 24 Aug 2007 12:22:52 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IObvv-00080r-K3
	for swmp@ietf.org; Fri, 24 Aug 2007 12:22:51 -0400
Received: from e2.ny.us.ibm.com ([32.97.182.142])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IObvu-0005do-9M
	for swmp@ietf.org; Fri, 24 Aug 2007 12:22:51 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7OGMlei030268
	for <swmp@ietf.org>; Fri, 24 Aug 2007 12:22:47 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7OGMlJP516600 for <swmp@ietf.org>; Fri, 24 Aug 2007 12:22:47 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7OGMlJY018485 for <swmp@ietf.org>; Fri, 24 Aug 2007 12:22:47 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7OGMkPf018463
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 24 Aug 2007 12:22:47 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7OGMkkX022596;
	Fri, 24 Aug 2007 12:22:46 -0400 (EDT)
In-Reply-To: <46CF00E4.6030207@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF5C43A50C.F5988FEA-ON85257341.005940EB-85257341.0059F3E2@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 24 Aug 2007 12:23:24 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/24/2007 12:23:29 PM,
	Serialize complete at 08/24/2007 12:23:29 PM
X-Spam-Score: -4.0 (----)
X-Scan-Signature: b1c41982e167b872076d0018e4e1dc3c
Cc: swmp@ietf.org
Subject: [SWMP] Re: field-creation semantics
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1424574809=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1424574809==
Content-Type: multipart/alternative;
	boundary="=_alternative 0059F3E185257341_="

This is a multipart message in MIME format.
--=_alternative 0059F3E185257341_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I think you are right.  This one is mostly a matter of taste.  I tend to 
look for the CRUD (Create, Read, Update, and Delete) operators as soon as 
I see any state management.  So, I find it easier to understand the 
protocol or API when these operators are expicitly available.

To reiterate something I said before, I don't think one should equate 
message count with simplicity.  The two legitimate complexity concerns 
seem to me to be complexity for the implementation and complexity for the 
user.  Implementations can be simpler when different operations are 
clearly differentiated.  The user's comprehension is facilitated when 
overloading is avoided.

Having said all that, while I prefer differentiating SET and ADD, it is 
not a biggy for me.

jfp



"Jay C. Weber" <jweber@mediamachines.com> 
08/24/2007 12:01 PM

To
john_patterson@us.ibm.com
cc
swmp@ietf.org
Subject
field-creation semantics






john_patterson@us.ibm.com wrote: 
C)  SET is overloaded as both a way to change and create (and probably 
remove) a Field.  I think it is clearer to separate these operations. This 
leads to an ADDFIELD, REMOVEFIELD, and a SETFIELD.  Then for clarity ADD 
and REMOVE need to become ADDNODE and REMOVENODE. 
It's true that setting a previously-nonexistent field had the side-effect 
of "creating" the field.  Or, one could think of it as all fields exist, 
but have undefined values until set.  This is usually the semantics of 
associative arrays, and has a useful simplicity, e.g., in web DOM and some 
XML apis.  I guess it's a matter of taste, but it is a way to keep the 
protocol simpler.

jay
-- 
Jay C. Weber, Ph.D. 
CTO, Media Machines Inc. 
650-279-2311 

--=_alternative 0059F3E185257341_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I think you are right. &nbsp;This one
is mostly a matter of taste. &nbsp;I tend to look for the CRUD (Create,
Read, Update, and Delete) operators as soon as I see any state management.
&nbsp;So, I find it easier to understand the protocol or API when these
operators are expicitly available.</font>
<br>
<br><font size=2 face="sans-serif">To reiterate something I said before,
I don't think one should equate message count with simplicity. &nbsp;The
two legitimate complexity concerns seem to me to be complexity for the
implementation and complexity for the user. &nbsp;Implementations can be
simpler when different operations are clearly differentiated. &nbsp;The
user's comprehension is facilitated when overloading is avoided.</font>
<br>
<br><font size=2 face="sans-serif">Having said all that, while I prefer
differentiating SET and ADD, it is not a biggy for me.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Jay C. Weber&quot;
&lt;jweber@mediamachines.com&gt;</b> </font>
<p><font size=1 face="sans-serif">08/24/2007 12:01 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">john_patterson@us.ibm.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">swmp@ietf.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">field-creation semantics</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><a href=mailto:john_patterson@us.ibm.com><font size=3 color=blue><u>john_patterson@us.ibm.com</u></font></a><font size=3>
wrote: </font>
<br><font size=2 face="sans-serif">C) &nbsp;SET is overloaded as both a
way to change and create (and probably remove) a Field. &nbsp;I think it
is clearer to separate these operations. &nbsp;This leads to an ADDFIELD,
REMOVEFIELD, and a SETFIELD. &nbsp;Then for clarity ADD and REMOVE need
to become ADDNODE and REMOVENODE.</font><font size=3> </font>
<br><font size=3>It's true that setting a previously-nonexistent field
had the side-effect of &quot;creating&quot; the field. &nbsp;Or, one could
think of it as all fields exist, but have undefined values until set. &nbsp;This
is usually the semantics of associative arrays, and has a useful simplicity,
e.g., in web DOM and some XML apis. &nbsp;I guess it's a matter of taste,
but it is a way to keep the protocol simpler.<br>
<br>
jay</font>
<br><font size=3>-- <br>
Jay C. Weber, Ph.D. <br>
CTO, Media Machines Inc. <br>
650-279-2311 </font>
<br>
--=_alternative 0059F3E185257341_=--


--===============1424574809==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1424574809==--




From swmp-bounces@ietf.org Fri Aug 24 12:40:38 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IOcD8-0006Xi-9R; Fri, 24 Aug 2007 12:40:38 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IOcD6-0006Xa-Hd
	for swmp@ietf.org; Fri, 24 Aug 2007 12:40:36 -0400
Received: from e3.ny.us.ibm.com ([32.97.182.143])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IOcD5-0000xk-OW
	for swmp@ietf.org; Fri, 24 Aug 2007 12:40:36 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7OGeZcO031218
	for <swmp@ietf.org>; Fri, 24 Aug 2007 12:40:35 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7OGeZuY430176 for <swmp@ietf.org>; Fri, 24 Aug 2007 12:40:35 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7OGeZHi006450 for <swmp@ietf.org>; Fri, 24 Aug 2007 12:40:35 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7OGeYnF006436
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 24 Aug 2007 12:40:35 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7OGeYMb023681;
	Fri, 24 Aug 2007 12:40:34 -0400 (EDT)
In-Reply-To: <46CF0160.6020201@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF431A5F6C.FD03E26E-ON85257341.005A22D8-85257341.005B94D3@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 24 Aug 2007 12:41:12 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/24/2007 12:41:16 PM,
	Serialize complete at 08/24/2007 12:41:16 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 827a2a57ca7ab0837847220f447e8d56
Cc: swmp@ietf.org
Subject: [SWMP] Re: introducing RPC to an asynchronous protocol
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1531673547=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1531673547==
Content-Type: multipart/alternative;
	boundary="=_alternative 005B94D285257341_="

This is a multipart message in MIME format.
--=_alternative 005B94D285257341_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I understand your concern about having request-response style messaging. I 
am worried that it cannot be completely avoided.  Once we assume that 
there are multiple nodes to subscribe to, we face the possibility that it 
will be necessary to query the nodes to determine which one to subscribe 
to.   Moreover, if you saw my discussion of a swmp url, we might find it 
desirable to query a node for some information (ie, the URL of its static 
representation) prior to actually subscribing.

I do not feel that a query response capability in the protocol should be 
equated with an RPC mode of interaction.  The problem in RPC is not that 
the protocol messages are synchronous; they're not.  It is that the API 
for accessing the protocol is synchronous.  A listener or callback 
approach can deal with this.

I agree that a query facility might be problematic for a lossy transport 
so I would not recommend that it be used there.  Frankly, the SUBSCRIBE 
message is even more problematic for UDP if the sequence of state updates 
that ensue are critical.  My guess is that the decision of when to use TCP 
and when to use UDP for swmp will be a matter of some delicacy within an 
application.  Personally, I would probably use TCP for most things and 
only use UDP for streams of updates where the loss of one update is no big 
deal (eg, position updates.)  Indeed, one of the things I would like to do 
is subscribe on a TCP channel for updates that will occur on a UDP 
channel.  I don't think we have anticipated that yet.

jfp



"Jay C. Weber" <jweber@mediamachines.com> 
08/24/2007 12:03 PM

To
john_patterson@us.ibm.com
cc
swmp@ietf.org
Subject
introducing RPC to an asynchronous protocol






john_patterson@us.ibm.com wrote:
D)  I believe that swmp will need the full complement of CRUD (create, 
read, update, delete) operations.  I think the absence of read methods 
derived from the implicit subscription to all state.  Now, that one can 
subscribe to some, but not all of the state, I believe it will become 
desirable to request the values of unsubscribed state.  This prompted me 
to add a GETNODE and a GETFIELD request, which required GETNODEREPLY and 
GETFIELDREPLY messages to return the response. 
Interesting, but the danger here is "return the response".  There's a big 
advantage to resisting the introduction of RPC-style elements in a context 
of minimizing latency -- obviously RPC involves a round-trip of messaging. 
 Keeping SWMP asynchronous will keep it mapping simply and efficiently 
onto datagram transports.

I like the PUB-SUB suggestions you've made, especially because PUB-SUB can 
be designed to work well in an asynchronous protocol.

jay
-- 
Jay C. Weber, Ph.D. 
CTO, Media Machines Inc. 
650-279-2311 

--=_alternative 005B94D285257341_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I understand your concern about having
request-response style messaging. &nbsp;I am worried that it cannot be
completely avoided. &nbsp;Once we assume that there are multiple nodes
to subscribe to, we face the possibility that it will be necessary to query
the nodes to determine which one to subscribe to. &nbsp; Moreover, if you
saw my discussion of a swmp url, we might find it desirable to query a
node for some information (ie, the URL of its static representation) prior
to actually subscribing.</font>
<br>
<br><font size=2 face="sans-serif">I do not feel that a query response
capability in the protocol should be equated with an RPC mode of interaction.
&nbsp;The problem in RPC is not that the protocol messages are synchronous;
they're not. &nbsp;It is that the API for accessing the protocol is synchronous.
&nbsp;A listener or callback approach can deal with this.</font>
<br>
<br><font size=2 face="sans-serif">I agree that a query facility might
be problematic for a lossy transport so I would not recommend that it be
used there. &nbsp;Frankly, the SUBSCRIBE message is even more problematic
for UDP if the sequence of state updates that ensue are critical. &nbsp;My
guess is that the decision of when to use TCP and when to use UDP for swmp
will be a matter of some delicacy within an application. &nbsp;Personally,
I would probably use TCP for most things and only use UDP for streams of
updates where the loss of one update is no big deal (eg, position updates.)
&nbsp;Indeed, one of the things I would like to do is subscribe on a TCP
channel for updates that will occur on a UDP channel. &nbsp;I don't think
we have anticipated that yet.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Jay C. Weber&quot;
&lt;jweber@mediamachines.com&gt;</b> </font>
<p><font size=1 face="sans-serif">08/24/2007 12:03 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">john_patterson@us.ibm.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">swmp@ietf.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">introducing RPC to an asynchronous protocol</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><a href=mailto:john_patterson@us.ibm.com><font size=3 color=blue><u>john_patterson@us.ibm.com</u></font></a><font size=3>
wrote:</font>
<br><font size=2 face="sans-serif">D) &nbsp;I believe that swmp will need
the full complement of CRUD (create, read, update, delete) operations.
&nbsp;I think the absence of read methods derived from the implicit subscription
to all state. &nbsp;Now, that one can subscribe to some, but not all of
the state, I believe it will become desirable to request the values of
unsubscribed state. &nbsp;This prompted me to add a GETNODE and a GETFIELD
request, which required GETNODEREPLY and GETFIELDREPLY messages to return
the response.</font><font size=3> </font>
<br><font size=3>Interesting, but the danger here is &quot;return the response&quot;.
&nbsp;There's a big advantage to resisting the introduction of RPC-style
elements in a context of minimizing latency -- obviously RPC involves a
round-trip of messaging. &nbsp;Keeping SWMP asynchronous will keep it mapping
simply and efficiently onto datagram transports.<br>
<br>
I like the PUB-SUB suggestions you've made, especially because PUB-SUB
can be designed to work well in an asynchronous protocol.<br>
<br>
jay</font>
<br><font size=3>-- <br>
Jay C. Weber, Ph.D. <br>
CTO, Media Machines Inc. <br>
650-279-2311 </font>
<br>
--=_alternative 005B94D285257341_=--


--===============1531673547==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1531673547==--




From swmp-bounces@ietf.org Fri Aug 24 13:58:38 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IOdQc-0004Ji-1i; Fri, 24 Aug 2007 13:58:38 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IOdQb-0004Jb-6Q
	for swmp@ietf.org; Fri, 24 Aug 2007 13:58:37 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IOdQa-0003ZG-Ms
	for swmp@ietf.org; Fri, 24 Aug 2007 13:58:36 -0400
Received: from NEO (h-66-134-93-202.snvacaid.covad.net [66.134.93.202])
	by william.mediamachines.com (Postfix) with ESMTP
	id CCC8446404E; Fri, 24 Aug 2007 12:56:24 -0500 (CDT)
From: "Tony Parisi" <tparisi@mediamachines.com>
To: "'Jay C. Weber'" <jweber@mediamachines.com>,
	<john_patterson@us.ibm.com>
Subject: RE: [SWMP] introducing RPC to an asynchronous protocol
Date: Fri, 24 Aug 2007 10:58:24 -0700
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
Thread-Index: AcfmaAupAYLlUy4rTn+DUXEgauytrgAD05og
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
In-Reply-To: <46CF0160.6020201@mediamachines.com>
Message-Id: <20070824175624.CCC8446404E@william.mediamachines.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ce732c7d36989a1bd55104ba259c40a1
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1498925729=="
Errors-To: swmp-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1498925729==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_026C_01C7E63D.B2A85BC0"

This is a multi-part message in MIME format.

------=_NextPart_000_026C_01C7E63D.B2A85BC0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

If we're talking about an either/or I prefer pub-sub to readback.

 

Tony

 

  _____  

From: Jay C. Weber [mailto:jweber@mediamachines.com] 
Sent: Friday, August 24, 2007 9:04 AM
To: john_patterson@us.ibm.com
Cc: swmp@ietf.org
Subject: [SWMP] introducing RPC to an asynchronous protocol

 

john_patterson@us.ibm.com wrote:



D)  I believe that swmp will need the full complement of CRUD (create, read,
update, delete) operations.  I think the absence of read methods derived
from the implicit subscription to all state.  Now, that one can subscribe to
some, but not all of the state, I believe it will become desirable to
request the values of unsubscribed state.  This prompted me to add a GETNODE
and a GETFIELD request, which required GETNODEREPLY and GETFIELDREPLY
messages to return the response. 

Interesting, but the danger here is "return the response".  There's a big
advantage to resisting the introduction of RPC-style elements in a context
of minimizing latency -- obviously RPC involves a round-trip of messaging.
Keeping SWMP asynchronous will keep it mapping simply and efficiently onto
datagram transports.

I like the PUB-SUB suggestions you've made, especially because PUB-SUB can
be designed to work well in an asynchronous protocol.

jay

-- 
Jay C. Weber, Ph.D. 
CTO, Media Machines Inc. 
650-279-2311 


------=_NextPart_000_026C_01C7E63D.B2A85BC0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:sans-serif;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>If we&#8217;re talking about an =
either/or I
prefer pub-sub to readback.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Jay C. Weber [mailto:jweber@mediamachines.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 24, =
2007 9:04
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
john_patterson@us.ibm.com<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> swmp@ietf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [SWMP] =
introducing RPC to
an asynchronous protocol</span></font><font color=3Dblack><span =
style=3D'color:
windowtext'><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><a =
href=3D"mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a>
wrote:<br>
<br>
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack =
face=3Dsans-serif><span
style=3D'font-size:10.0pt;font-family:sans-serif'>D) &nbsp;I believe =
that swmp
will need the full complement of CRUD (create, read, update, delete)
operations. &nbsp;I think the absence of read methods derived from the =
implicit
subscription to all state. &nbsp;Now, that one can subscribe to some, =
but not
all of the state, I believe it will become desirable to request the =
values of
unsubscribed state. &nbsp;This prompted me to add a GETNODE and a =
GETFIELD
request, which required GETNODEREPLY and GETFIELDREPLY messages to =
return the
response.</span></font> <o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Interesting, but the danger here is =
&quot;return the
response&quot;.&nbsp; There's a big advantage to resisting the =
introduction of
RPC-style elements in a context of minimizing latency -- obviously RPC =
involves
a round-trip of messaging.&nbsp; Keeping SWMP asynchronous will keep it =
mapping
simply and efficiently onto datagram transports.<br>
<br>
I like the PUB-SUB suggestions you've made, especially because PUB-SUB =
can be
designed to work well in an asynchronous protocol.<br>
<br>
jay<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>-- <br>
Jay C. Weber, Ph.D. <br>
CTO, Media Machines Inc. <br>
650-279-2311 <o:p></o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>

------=_NextPart_000_026C_01C7E63D.B2A85BC0--




--===============1498925729==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1498925729==--






From swmp-bounces@ietf.org Fri Aug 24 13:58:43 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IOdQg-0004Km-W2; Fri, 24 Aug 2007 13:58:42 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IOdQf-0004Kb-32
	for swmp@ietf.org; Fri, 24 Aug 2007 13:58:41 -0400
Received: from worlds.webers.org ([64.34.168.199]
	helo=william.mediamachines.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IOdQd-0000Sy-L0
	for swmp@ietf.org; Fri, 24 Aug 2007 13:58:41 -0400
Received: from NEO (h-66-134-93-202.snvacaid.covad.net [66.134.93.202])
	by william.mediamachines.com (Postfix) with ESMTP
	id E7C99464005; Fri, 24 Aug 2007 12:56:25 -0500 (CDT)
From: "Tony Parisi" <tparisi@mediamachines.com>
To: "'Jay C. Weber'" <jweber@mediamachines.com>,
	<john_patterson@us.ibm.com>
Subject: RE: [SWMP] semantic layers
Date: Fri, 24 Aug 2007 10:58:24 -0700
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
Thread-Index: AcfmZKQ+gXTWMGPeRSeQ0HqLnKLYrAAEnJDQ
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
In-Reply-To: <46CEFBA9.60602@mediamachines.com>
Message-Id: <20070824175625.E7C99464005@william.mediamachines.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 93b4f10b2112e1468b61e19ea6180478
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1715492720=="
Errors-To: swmp-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1715492720==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0270_01C7E63D.B307B9D0"

This is a multi-part message in MIME format.

------=_NextPart_000_0270_01C7E63D.B307B9D0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Jay

 

That's probably worth some clarifying language when we write the real SWMP
spec. Remember folks that all of this discussion is playing off of a short
white paper

 

Tony

 

 

  _____  

From: Jay C. Weber [mailto:jweber@mediamachines.com] 
Sent: Friday, August 24, 2007 8:39 AM
To: john_patterson@us.ibm.com
Cc: swmp@ietf.org
Subject: [SWMP] semantic layers

 

Jon: there are many issues in your note so I will respond in pieces, so we
can discuss issues separately and without undue reading burden on the others
:-)

john_patterson@us.ibm.com wrote: 

A)  As originally specified, swmp does not distinguish between requesting a
state change and being notified of a state change.  It tends to treat the
state sharing as largely a replication task with neither network element
having a controlling role over the state.  I think it is more realistic and
practical to assume that each network element has control over its state and
the other network element may request changes and be notified when changes
happen.

I agree that distinction is important.  The original SWMP doesn't take a
position on which elements have a controlling role, leaving that to the
semantics of the architecture.  My intent was to separate the two layers of
semantics, so that the protocol would be kept simple and be applicable to
many different architectures.

E.g., a peer-peer architecture would specify, as you say, that "each network
element has control over its state and the other network element may request
changes and be notified when changes happen", but some client-server
architectures (including most MMOGs) vest all control over state in the
server element.  That is, a state message from the server is always an
authoritative notification, and a state message from a client is always a
provisional request.  In such an architecture, network elements get this
semantics from their known roles, they don't need to get it from inside the
messages.

jay

-- 
Jay C. Weber, Ph.D. 
CTO, Media Machines Inc. 
650-279-2311 


------=_NextPart_000_0270_01C7E63D.B307B9D0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:sans-serif;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Jay<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>That&#8217;s probably worth some
clarifying language when we write the real SWMP spec. Remember folks =
that all
of this discussion is playing off of a short white =
paper<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Jay C. Weber [mailto:jweber@mediamachines.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 24, =
2007 8:39
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
john_patterson@us.ibm.com<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> swmp@ietf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [SWMP] semantic =
layers</span></font><font
color=3Dblack><span =
style=3D'color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Jon: there are many issues in your note so I =
will
respond in pieces, so we can discuss issues separately and without undue
reading burden on the others :-)<br>
<br>
<a =
href=3D"mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> =
wrote:
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack =
face=3Dsans-serif><span
style=3D'font-size:10.0pt;font-family:sans-serif'>A) &nbsp;As originally
specified, swmp does not distinguish between requesting a state change =
and
being notified of a state change. &nbsp;It tends to treat the state =
sharing as
largely a replication task with neither network element having a =
controlling
role over the state. &nbsp;I think it is more realistic and practical to =
assume
that each network element has control over its state and the other =
network
element may request changes and be notified when changes =
happen.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>I agree that distinction is important.&nbsp; =
The
original SWMP doesn't take a position on which elements have a =
controlling
role, leaving that to the semantics of the architecture.&nbsp; My intent =
was to
separate the two layers of semantics, so that the protocol would be kept =
simple
and be applicable to many different architectures.<br>
<br>
E.g., a peer-peer architecture would specify, as you say, that =
&quot;each
network element has control over its state and the other network element =
may
request changes and be notified when changes happen&quot;, but some
client-server architectures (including most MMOGs) vest all control over =
state
in the server element.&nbsp; That is, a state message from the server is =
always
an authoritative notification, and a state message from a client is =
always a
provisional request.&nbsp; In such an architecture, network elements get =
this
semantics from their known roles, they don't need to get it from inside =
the
messages.<br>
<br>
jay<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>-- <br>
Jay C. Weber, Ph.D. <br>
CTO, Media Machines Inc. <br>
650-279-2311 <o:p></o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>

------=_NextPart_000_0270_01C7E63D.B307B9D0--




--===============1715492720==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1715492720==--






From swmp-bounces@ietf.org Sat Aug 25 02:52:30 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IOpVW-0003Qs-07; Sat, 25 Aug 2007 02:52:30 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IOpVV-0003Py-BW
	for swmp@ietf.org; Sat, 25 Aug 2007 02:52:29 -0400
Received: from moutng.kundenserver.de ([212.227.126.171])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IOpVT-0002om-Q5
	for swmp@ietf.org; Sat, 25 Aug 2007 02:52:29 -0400
Received: from e180010014.adsl.alicedsl.de [85.180.10.14] (helo=[85.180.10.14])
	by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis),
	id 0MKwtQ-1IOpVS1f2w-00074a; Sat, 25 Aug 2007 08:52:26 +0200
Message-ID: <46CFD1BB.2020209@dubioso.net>
Date: Sat, 25 Aug 2007 08:52:43 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: swmp@ietf.org
Subject: Re: [SWMP] Use Case 1:  Initialization from a URL
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX18w6I0HwEOk+MGc7DPfxFVALshr44fGZQRVbrr
	Z98/Z9XE2il4mmKbn2nZm3YOimVzFbLtM+CLTGQ1ZcOek2ypmi
	vuYbjZmqX9De2Zk3JGjmKEJu+ofmMyC
X-Spam-Score: -0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Re-posting, this time to the mailing list. It is set to "Reply-To"
the author of mails rather than the list. Probably a safeguard
against accidental publishing of private communication.

-------- Original Message --------
Subject: Re: [SWMP] Use Case 1:  Initialization from a URL
Date: Thu, 23 Aug 2007 05:19:23 +0200
From: Roland Weber <ossfwot@dubioso.net>
To: john_patterson@us.ibm.com
References: <OF3916DF06.07A7A413-ON8525733F.007212A0-8525733F.00783317@lotus.com>

Hi John,

> "You look at an ad or a billboard and see a URL for a neat virtual world. 
> You go back to your browser and enter the URL to arrive at the virtual 
> world."
> 
> 1.  I assume that the URL takes the form 
> "swmp://VWServer.VWHostCompany.com/shard"

I would assume that the billboard ad still has just a hostname
or plain http://where.ever.com address, and that the traditional
homepage holds the swmp: link at a prominent place, or even tries
to open a new browser window for displaying it.

> 2. [...]

Thanks for the rest of the description. The distinction between static,
non-SWMP data and dynamic SWMP data is a piece I was missing. I'll
re-think my ideas based on that.

cheers,
  Roland




_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Sat Aug 25 21:56:59 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IP7N5-00064T-1e; Sat, 25 Aug 2007 21:56:59 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IP7N4-00064N-AO
	for swmp@ietf.org; Sat, 25 Aug 2007 21:56:58 -0400
Received: from e31.co.us.ibm.com ([32.97.110.149])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IP7N2-0006gP-V0
	for swmp@ietf.org; Sat, 25 Aug 2007 21:56:58 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e31.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7Q1ukEt023925
	for <swmp@ietf.org>; Sat, 25 Aug 2007 21:56:46 -0400
Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170])
	by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7Q1uj8m216534 for <swmp@ietf.org>; Sat, 25 Aug 2007 19:56:46 -0600
Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1])
	by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7Q1ujLa006067 for <swmp@ietf.org>; Sat, 25 Aug 2007 19:56:45 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av04.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7Q1uihT006051
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Sat, 25 Aug 2007 19:56:45 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7Q1uifW023607;
	Sat, 25 Aug 2007 21:56:44 -0400 (EDT)
In-Reply-To: <46CFD1BB.2020209@dubioso.net>
To: Roland Weber <ossfwot@dubioso.net>
Subject: Re: [SWMP] Use Case 1:  Initialization from a URL
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF7F9BD0B6.423EB42E-ON85257343.000A9AA9-85257343.000AA9D5@lotus.com>
From: john_patterson@us.ibm.com
Date: Sat, 25 Aug 2007 21:57:21 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/25/2007 09:57:27 PM,
	Serialize complete at 08/25/2007 09:57:27 PM
X-Spam-Score: -4.0 (----)
X-Scan-Signature: b132cb3ed2d4be2017585bf6859e1ede
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0008285440=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============0008285440==
Content-Type: multipart/alternative;
	boundary="=_alternative 000AA9D385257343_="

This is a multipart message in MIME format.
--=_alternative 000AA9D385257343_=
Content-Type: text/plain; charset="US-ASCII"

Roland: 

I think you are probably right about the http URL being the published one. 
 I guess I was trying to highlight the swmp URL and the need to go there 
first to find the static world descriptions. 

jfp

Roland Weber <ossfwot@dubioso.net> wrote on 08/25/2007 02:52:43 AM:

> Re-posting, this time to the mailing list. It is set to "Reply-To"
> the author of mails rather than the list. Probably a safeguard
> against accidental publishing of private communication.
> 
> -------- Original Message --------
> Subject: Re: [SWMP] Use Case 1:  Initialization from a URL
> Date: Thu, 23 Aug 2007 05:19:23 +0200
> From: Roland Weber <ossfwot@dubioso.net>
> To: john_patterson@us.ibm.com
> References: <OF3916DF06.07A7A413-ON8525733F.007212A0-8525733F.
> 00783317@lotus.com>
> 
> Hi John,
> 
> > "You look at an ad or a billboard and see a URL for a neat virtual 
world. 
> > You go back to your browser and enter the URL to arrive at the virtual 

> > world."
> > 
> > 1.  I assume that the URL takes the form 
> > "swmp://VWServer.VWHostCompany.com/shard"
> 
> I would assume that the billboard ad still has just a hostname
> or plain http://where.ever.com address, and that the traditional
> homepage holds the swmp: link at a prominent place, or even tries
> to open a new browser window for displaying it.
> 
> > 2. [...]
> 
> Thanks for the rest of the description. The distinction between static,
> non-SWMP data and dynamic SWMP data is a piece I was missing. I'll
> re-think my ideas based on that.
> 
> cheers,
>   Roland
> 
> 
> 
> 
> _______________________________________________
> SWMP mailing list
> SWMP@ietf.org
> https://www1.ietf.org/mailman/listinfo/swmp

--=_alternative 000AA9D385257343_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Roland:</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I think you are probably right about the http URL being the published one.
&nbsp;I guess I was trying to highlight the swmp URL and the need to go
there first to find the static world descriptions.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
jfp</font>
<br>
<br><tt><font size=2>Roland Weber &lt;ossfwot@dubioso.net&gt; wrote on
08/25/2007 02:52:43 AM:<br>
<br>
&gt; Re-posting, this time to the mailing list. It is set to &quot;Reply-To&quot;<br>
&gt; the author of mails rather than the list. Probably a safeguard<br>
&gt; against accidental publishing of private communication.<br>
&gt; <br>
&gt; -------- Original Message --------<br>
&gt; Subject: Re: [SWMP] Use Case 1: &nbsp;Initialization from a URL<br>
&gt; Date: Thu, 23 Aug 2007 05:19:23 +0200<br>
&gt; From: Roland Weber &lt;ossfwot@dubioso.net&gt;<br>
&gt; To: john_patterson@us.ibm.com<br>
&gt; References: &lt;OF3916DF06.07A7A413-ON8525733F.007212A0-8525733F.<br>
&gt; 00783317@lotus.com&gt;<br>
&gt; <br>
&gt; Hi John,<br>
&gt; <br>
&gt; &gt; &quot;You look at an ad or a billboard and see a URL for a neat
virtual world. <br>
&gt; &gt; You go back to your browser and enter the URL to arrive at the
virtual <br>
&gt; &gt; world.&quot;<br>
&gt; &gt; <br>
&gt; &gt; 1. &nbsp;I assume that the URL takes the form <br>
&gt; &gt; &quot;swmp://VWServer.VWHostCompany.com/shard&quot;<br>
&gt; <br>
&gt; I would assume that the billboard ad still has just a hostname<br>
&gt; or plain http://where.ever.com address, and that the traditional<br>
&gt; homepage holds the swmp: link at a prominent place, or even tries<br>
&gt; to open a new browser window for displaying it.<br>
&gt; <br>
&gt; &gt; 2. [...]<br>
&gt; <br>
&gt; Thanks for the rest of the description. The distinction between static,<br>
&gt; non-SWMP data and dynamic SWMP data is a piece I was missing. I'll<br>
&gt; re-think my ideas based on that.<br>
&gt; <br>
&gt; cheers,<br>
&gt; &nbsp; Roland<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SWMP mailing list<br>
&gt; SWMP@ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/swmp<br>
</font></tt>
--=_alternative 000AA9D385257343_=--


--===============0008285440==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0008285440==--




From swmp-bounces@ietf.org Wed Aug 29 09:37:09 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQNjJ-0007Uh-3a; Wed, 29 Aug 2007 09:37:09 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQNjH-0007UY-J1
	for swmp@ietf.org; Wed, 29 Aug 2007 09:37:07 -0400
Received: from e1.ny.us.ibm.com ([32.97.182.141])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQNjG-00017v-Ug
	for swmp@ietf.org; Wed, 29 Aug 2007 09:37:07 -0400
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234])
	by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7TDanAL028004
	for <swmp@ietf.org>; Wed, 29 Aug 2007 09:36:49 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7TDalrA671312 for <swmp@ietf.org>; Wed, 29 Aug 2007 09:36:49 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7TDalQ5010576 for <swmp@ietf.org>; Wed, 29 Aug 2007 09:36:47 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7TDalbc010533
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 29 Aug 2007 09:36:47 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7TDal3O009018;
	Wed, 29 Aug 2007 09:36:47 -0400 (EDT)
In-Reply-To: <46CF04CF.7080903@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OFEC8B3B5C.325A7433-ON85257346.00470B2F-85257346.004AC0D4@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 29 Aug 2007 09:37:28 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/29/2007 09:37:30 AM,
	Serialize complete at 08/29/2007 09:37:30 AM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5ebbf074524e58e662bc8209a6235027
Cc: swmp@ietf.org
Subject: [SWMP] Re: faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1286580859=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1286580859==
Content-Type: multipart/alternative;
	boundary="=_alternative 004AC0D385257346_="

This is a multipart message in MIME format.
--=_alternative 004AC0D385257346_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I think I understand the mechanism and I understand that either side of 
the pairwise communication can establish the mapping of an ID to a 
<node,field>.

Perhaps it is a small thing, but in a situation in which one network 
element (say a server) manages the data, it would be helpful if it could 
use the same ID for all the other network elements seeking to use the 
data.  If the other network elements may establish the mapping, then it 
must keep independent mappings for each network element being served.  If, 
on the other hand, we can contrive the protocol, so that the network 
element managing the data establishes the ID mapping, then it could use 
the same mapping for all network elements seeking service.

jfp

"Jay C. Weber" <jweber@mediamachines.com> wrote on 08/24/2007 12:18:23 PM:

> john_patterson@us.ibm.com wrote:
> F)  The use of the fieldId on the SET message as a way to allow 
> faster field references seemed to require modification.  For one 
> thing, it did not seem right that the name/id association was being 
> defined by the requesting network element rather than the network 
> element controlling the state.
> It's really about this:  element A needs to specify a <node,field> 
> in a message to element B.  If A sends B a number of such messages, 
> it's worth setting up a shorthand for that pair.  Thus my SWMP 
> design was to add a message parameter to SET, a non-negative integer
> fieldId, that when non-zero means "if I use this fieldId in the 
> future it means this <node,field> pair".  And I created a SETF 
> message that uses the fieldId.  Thus one SET message would be 
> followed by many SETF messages, the advantage being that SETF 
> messages are much shorter.
> 
> It doesn't matter what the architectural roles are of A and B, it's 
> just a bilateral mechanism to create a shorthand, and it makes sense
> to me that the element that coins the <node,field> pair is the one 
> to coin the shorthand for it.
> 
> jay
> -- 
> Jay C. Weber, Ph.D. 
> CTO, Media Machines Inc. 
> 650-279-2311 
--=_alternative 004AC0D385257346_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I think I understand the mechanism and
I understand that either side of the pairwise communication can establish
the mapping of an ID to a &lt;node,field&gt;.</font>
<br>
<br><font size=2 face="sans-serif">Perhaps it is a small thing, but in
a situation in which one network element (say a server) manages the data,
it would be helpful if it could use the same ID for all the other network
elements seeking to use the data. &nbsp;If the other network elements may
establish the mapping, then it must keep independent mappings for each
network element being served. &nbsp;If, on the other hand, we can contrive
the protocol, so that the network element managing the data establishes
the ID mapping, then it could use the same mapping for all network elements
seeking service.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br><tt><font size=2>&quot;Jay C. Weber&quot; &lt;jweber@mediamachines.com&gt;
wrote on 08/24/2007 12:18:23 PM:<br>
<br>
&gt; john_patterson@us.ibm.com wrote:</font></tt>
<br><tt><font size=2>&gt; F) &nbsp;The use of the fieldId on the SET message
as a way to allow <br>
&gt; faster field references seemed to require modification. &nbsp;For
one <br>
&gt; thing, it did not seem right that the name/id association was being
<br>
&gt; defined by the requesting network element rather than the network
<br>
&gt; element controlling the state.</font></tt>
<br><tt><font size=2>&gt; It's really about this: &nbsp;element A needs
to specify a &lt;node,field&gt; <br>
&gt; in a message to element B. &nbsp;If A sends B a number of such messages,
<br>
&gt; it's worth setting up a shorthand for that pair. &nbsp;Thus my SWMP
<br>
&gt; design was to add a message parameter to SET, a non-negative integer<br>
&gt; fieldId, that when non-zero means &quot;if I use this fieldId in the
<br>
&gt; future it means this &lt;node,field&gt; pair&quot;. &nbsp;And I created
a SETF <br>
&gt; message that uses the fieldId. &nbsp;Thus one SET message would be
<br>
&gt; followed by many SETF messages, the advantage being that SETF <br>
&gt; messages are much shorter.<br>
&gt; <br>
&gt; It doesn't matter what the architectural roles are of A and B, it's
<br>
&gt; just a bilateral mechanism to create a shorthand, and it makes sense<br>
&gt; to me that the element that coins the &lt;node,field&gt; pair is the
one <br>
&gt; to coin the shorthand for it.<br>
&gt; <br>
&gt; jay</font></tt>
<br><tt><font size=2>&gt; -- <br>
&gt; Jay C. Weber, Ph.D. <br>
&gt; CTO, Media Machines Inc. <br>
&gt; 650-279-2311 </font></tt>
--=_alternative 004AC0D385257346_=--


--===============1286580859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1286580859==--




From swmp-bounces@ietf.org Wed Aug 29 11:01:45 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQP3B-0003nA-39; Wed, 29 Aug 2007 11:01:45 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQP3A-0003mz-CT
	for swmp@ietf.org; Wed, 29 Aug 2007 11:01:44 -0400
Received: from mx5.roble.com ([206.40.34.5])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQP39-00049E-Qu
	for swmp@ietf.org; Wed, 29 Aug 2007 11:01:44 -0400
X-Scanned-By: PostConf Email Solutions
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: jay)
	by mail.mediamachines.com (Postfix) with ESMTP id 6C260364440;
	Wed, 29 Aug 2007 08:01:16 -0700 (PDT)
Message-ID: <46D58A41.4040508@mediamachines.com>
Date: Wed, 29 Aug 2007 08:01:21 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OFEC8B3B5C.325A7433-ON85257346.00470B2F-85257346.004AC0D4@lotus.com>
In-Reply-To: <OFEC8B3B5C.325A7433-ON85257346.00470B2F-85257346.004AC0D4@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Cc: swmp@ietf.org
Subject: [SWMP] Re: faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0019153082=="
Errors-To: swmp-bounces@ietf.org

--===============0019153082==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:
<blockquote
 cite="mid:OFEC8B3B5C.325A7433-ON85257346.00470B2F-85257346.004AC0D4@lotus.com"
 type="cite"><font face="sans-serif" size="2">I think I understand the
mechanism and
I understand that either side of the pairwise communication can
establish
the mapping of an ID to a &lt;node,field&gt;.</font>
  <br>
</blockquote>
Yes but as I defined it that mapping only applies in that one direction
of the communication.&nbsp; E.g., element A tells element B that "I will use
the id '2' to represent the pair &lt;node12,positionfield&gt;", which
constrains the meaning of future messages from A, but does not say
anything about what field ids B will use in messages to A.<br>
<blockquote
 cite="mid:OFEC8B3B5C.325A7433-ON85257346.00470B2F-85257346.004AC0D4@lotus.com"
 type="cite"><font face="sans-serif" size="2">Perhaps it is a small
thing, but in
a situation in which one network element (say a server) manages the
data,
it would be helpful if it could use the same ID for all the other
network
elements seeking to use the data. &nbsp;If the other network elements may
establish the mapping, then it must keep independent mappings for each
network element being served. &nbsp;If, on the other hand, we can contrive
the protocol, so that the network element managing the data establishes
the ID mapping, then it could use the same mapping for all network
elements
seeking service.</font>
</blockquote>
The server in my current client/server architecture (and
implementation) does already use the same ID mapping for messages to
all its clients, possible because of this unidirectionality of field
ids.&nbsp; This is indeed very convenient when blasting out an update to all
the clients, not having to customize field ids for each message.&nbsp; (and
this is really important for an architecture that uses multicast.)<br>
<br>
But you are right that my server maintains independent mappings for
each inbound message queue.&nbsp; This requires some bookkeeping but is not
complicated, and it is not any more space inefficient in the typical
case where the clients are frequently changing distinct sets of nodes
and their fields -- e.g., where each client controls his/her avatar and
not others'.<br>
<br>
The main advantages of this fieldid-definition-unidirectionality are
that it avoids architectural limitations (baking in a master-slave
relationship of fieldid-definition wouldn't be appropriate, say, for a
peer-to-peer architecture), race conditions (peers racing to be the
first to define a fieldid), or a centralized fieldid-definition service
(which involves race conditions and either architectural limitations or
a potential bottleneck).<br>
<br>
jay<br>
<br>
</body>
</html>


--===============0019153082==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0019153082==--



From swmp-bounces@ietf.org Wed Aug 29 12:02:31 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQPzy-0003HD-TV; Wed, 29 Aug 2007 12:02:30 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQPzw-0003DS-QW
	for swmp@ietf.org; Wed, 29 Aug 2007 12:02:28 -0400
Received: from e5.ny.us.ibm.com ([32.97.182.145])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQPzv-00075o-V8
	for swmp@ietf.org; Wed, 29 Aug 2007 12:02:28 -0400
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7TG2QeH014323
	for <swmp@ietf.org>; Wed, 29 Aug 2007 12:02:26 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216])
	by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7TG2QRP546316 for <swmp@ietf.org>; Wed, 29 Aug 2007 12:02:26 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1])
	by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7TG2QUO019875 for <swmp@ietf.org>; Wed, 29 Aug 2007 12:02:26 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av02.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7TG2P2n019846
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 29 Aug 2007 12:02:26 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7TG2PwE022267;
	Wed, 29 Aug 2007 12:02:25 -0400 (EDT)
In-Reply-To: <46D58A41.4040508@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 29 Aug 2007 12:03:07 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/29/2007 12:03:08 PM,
	Serialize complete at 08/29/2007 12:03:08 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2a76bcd37b1c8a21336eb0a1ea6bbf48
Cc: swmp@ietf.org
Subject: [SWMP] Re: faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0325199330=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============0325199330==
Content-Type: multipart/alternative;
	boundary="=_alternative 0058166F85257346_="

This is a multipart message in MIME format.
--=_alternative 0058166F85257346_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I think the thing I missed was the unidirectionality of the mapping.

So each side gets to declare its own mapping and the other is obligated to 
keep track of that.  Servers can use the same id for everyone becasue they 
get to declare the id they'll use.  Can I declare a mapping on a reliable 
channel (TCP) and use it on an unreliable channel (UDP)?  That would be 
helpful, since the first use establishing the mapping should be protected 
from loss.

It seems a little complicated, but I am inclined to accept your arguments 
for the ease of implementation and the virtues of the approach in a 
peer-to-peer context.

Thanks for explaining how it works.

jfp



"Jay C. Weber" <jweber@mediamachines.com> 
08/29/2007 11:01 AM

To
john_patterson@us.ibm.com
cc
swmp@ietf.org
Subject
Re: faster field messages






john_patterson@us.ibm.com wrote: 
I think I understand the mechanism and I understand that either side of 
the pairwise communication can establish the mapping of an ID to a 
<node,field>. 
Yes but as I defined it that mapping only applies in that one direction of 
the communication.  E.g., element A tells element B that "I will use the 
id '2' to represent the pair <node12,positionfield>", which constrains the 
meaning of future messages from A, but does not say anything about what 
field ids B will use in messages to A.
Perhaps it is a small thing, but in a situation in which one network 
element (say a server) manages the data, it would be helpful if it could 
use the same ID for all the other network elements seeking to use the 
data.  If the other network elements may establish the mapping, then it 
must keep independent mappings for each network element being served.  If, 
on the other hand, we can contrive the protocol, so that the network 
element managing the data establishes the ID mapping, then it could use 
the same mapping for all network elements seeking service. 
The server in my current client/server architecture (and implementation) 
does already use the same ID mapping for messages to all its clients, 
possible because of this unidirectionality of field ids.  This is indeed 
very convenient when blasting out an update to all the clients, not having 
to customize field ids for each message.  (and this is really important 
for an architecture that uses multicast.)

But you are right that my server maintains independent mappings for each 
inbound message queue.  This requires some bookkeeping but is not 
complicated, and it is not any more space inefficient in the typical case 
where the clients are frequently changing distinct sets of nodes and their 
fields -- e.g., where each client controls his/her avatar and not others'.

The main advantages of this fieldid-definition-unidirectionality are that 
it avoids architectural limitations (baking in a master-slave relationship 
of fieldid-definition wouldn't be appropriate, say, for a peer-to-peer 
architecture), race conditions (peers racing to be the first to define a 
fieldid), or a centralized fieldid-definition service (which involves race 
conditions and either architectural limitations or a potential 
bottleneck).

jay


--=_alternative 0058166F85257346_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I think the thing I missed was the unidirectionality
of the mapping.</font>
<br>
<br><font size=2 face="sans-serif">So each side gets to declare its own
mapping and the other is obligated to keep track of that. &nbsp;Servers
can use the same id for everyone becasue they get to declare the id they'll
use. &nbsp;Can I declare a mapping on a reliable channel (TCP) and use
it on an unreliable channel (UDP)? &nbsp;That would be helpful, since the
first use establishing the mapping should be protected from loss.</font>
<br>
<br><font size=2 face="sans-serif">It seems a little complicated, but I
am inclined to accept your arguments for the ease of implementation and
the virtues of the approach in a peer-to-peer context.</font>
<br>
<br><font size=2 face="sans-serif">Thanks for explaining how it works.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Jay C. Weber&quot;
&lt;jweber@mediamachines.com&gt;</b> </font>
<p><font size=1 face="sans-serif">08/29/2007 11:01 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">john_patterson@us.ibm.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">swmp@ietf.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: faster field messages</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><a href=mailto:john_patterson@us.ibm.com><font size=3 color=blue><u>john_patterson@us.ibm.com</u></font></a><font size=3>
wrote: </font>
<br><font size=2 face="sans-serif">I think I understand the mechanism and
I understand that either side of the pairwise communication can establish
the mapping of an ID to a &lt;node,field&gt;.</font><font size=3> </font>
<br><font size=3>Yes but as I defined it that mapping only applies in that
one direction of the communication. &nbsp;E.g., element A tells element
B that &quot;I will use the id '2' to represent the pair &lt;node12,positionfield&gt;&quot;,
which constrains the meaning of future messages from A, but does not say
anything about what field ids B will use in messages to A.</font>
<br><font size=2 face="sans-serif">Perhaps it is a small thing, but in
a situation in which one network element (say a server) manages the data,
it would be helpful if it could use the same ID for all the other network
elements seeking to use the data. &nbsp;If the other network elements may
establish the mapping, then it must keep independent mappings for each
network element being served. &nbsp;If, on the other hand, we can contrive
the protocol, so that the network element managing the data establishes
the ID mapping, then it could use the same mapping for all network elements
seeking service.</font><font size=3> </font>
<br><font size=3>The server in my current client/server architecture (and
implementation) does already use the same ID mapping for messages to all
its clients, possible because of this unidirectionality of field ids. &nbsp;This
is indeed very convenient when blasting out an update to all the clients,
not having to customize field ids for each message. &nbsp;(and this is
really important for an architecture that uses multicast.)<br>
<br>
But you are right that my server maintains independent mappings for each
inbound message queue. &nbsp;This requires some bookkeeping but is not
complicated, and it is not any more space inefficient in the typical case
where the clients are frequently changing distinct sets of nodes and their
fields -- e.g., where each client controls his/her avatar and not others'.<br>
<br>
The main advantages of this fieldid-definition-unidirectionality are that
it avoids architectural limitations (baking in a master-slave relationship
of fieldid-definition wouldn't be appropriate, say, for a peer-to-peer
architecture), race conditions (peers racing to be the first to define
a fieldid), or a centralized fieldid-definition service (which involves
race conditions and either architectural limitations or a potential bottleneck).<br>
<br>
jay<br>
</font>
<br>
--=_alternative 0058166F85257346_=--


--===============0325199330==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0325199330==--




From swmp-bounces@ietf.org Wed Aug 29 12:09:24 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQQ6e-0002KO-Cx; Wed, 29 Aug 2007 12:09:24 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQQ6c-0002KJ-UI
	for swmp@ietf.org; Wed, 29 Aug 2007 12:09:22 -0400
Received: from mx5.roble.com ([206.40.34.5])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQQ6c-0007JT-JS
	for swmp@ietf.org; Wed, 29 Aug 2007 12:09:22 -0400
X-Scanned-By: PostConf Email Solutions
Received: from [192.168.1.101] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: jay)
	by mail.mediamachines.com (Postfix) with ESMTP id 913A936441D;
	Wed, 29 Aug 2007 09:09:13 -0700 (PDT)
Message-ID: <46D59A2D.1010404@mediamachines.com>
Date: Wed, 29 Aug 2007 09:09:17 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: john_patterson@us.ibm.com
References: <OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com>
In-Reply-To: <OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: ffa9dfbbe7cc58b3fa6b8ae3e57b0aa3
Cc: swmp@ietf.org
Subject: [SWMP] Re: faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0477691540=="
Errors-To: swmp-bounces@ietf.org

--===============0477691540==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:john_patterson@us.ibm.com">john_patterson@us.ibm.com</a> wrote:<br>
<blockquote
 cite="mid:OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com"
 type="cite"><font face="sans-serif" size="2">So each side gets to
declare its own
mapping and the other is obligated to keep track of that. &nbsp;Servers
can use the same id for everyone becasue they get to declare the id
they'll
use. &nbsp;Can I declare a mapping on a reliable channel (TCP) and use
it on an unreliable channel (UDP)? &nbsp;That would be helpful, since the
first use establishing the mapping should be protected from loss.</font>
</blockquote>
Exactly the way I was thinking, the first message gets sent reliably
and enables a stream of very-low-latency, potentially-unreliable,
updates.<br>
<br>
jay<br>
<br>
</body>
</html>


--===============0477691540==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0477691540==--



From swmp-bounces@ietf.org Wed Aug 29 14:38:38 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQSR1-0003St-Iq; Wed, 29 Aug 2007 14:38:35 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQSQs-0003Pm-8Y
	for swmp@ietf.org; Wed, 29 Aug 2007 14:38:28 -0400
Received: from e31.co.us.ibm.com ([32.97.110.149])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQSQr-0003ob-JY
	for swmp@ietf.org; Wed, 29 Aug 2007 14:38:26 -0400
Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com
	[9.17.195.227])
	by e31.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7TIcEKb001486
	for <swmp@ietf.org>; Wed, 29 Aug 2007 14:38:14 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7TIcEJ5465278 for <swmp@ietf.org>; Wed, 29 Aug 2007 12:38:14 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7TIcEdv029029 for <swmp@ietf.org>; Wed, 29 Aug 2007 12:38:14 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7TIcDhs028999
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 29 Aug 2007 12:38:13 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7TIcCT0004711;
	Wed, 29 Aug 2007 14:38:12 -0400 (EDT)
In-Reply-To: <46D59A2D.1010404@mediamachines.com>
To: "Jay C. Weber" <jweber@mediamachines.com>
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF22534BB3.30CEF69F-ON85257346.00657073-85257346.0066585C@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 29 Aug 2007 14:38:51 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/29/2007 02:38:55 PM,
	Serialize complete at 08/29/2007 02:38:55 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c3a18ef96977fc9bcc21a621cbf1174b
Cc: swmp@ietf.org
Subject: [SWMP] Re: faster field messages
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1659825212=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1659825212==
Content-Type: multipart/alternative;
	boundary="=_alternative 0066585A85257346_="

This is a multipart message in MIME format.
--=_alternative 0066585A85257346_=
Content-Type: text/plain; charset="US-ASCII"

Jay:

I have not been thinking about the whole issue of doing something on one 
channel and using it on another.  This will require careful thought, but 
it could be very important.

As I mentioned elsewhere 
(http://www1.ietf.org/mail-archive/web/swmp/current/msg00045.html) we 
might need to subscribe on a reliable channel for notifications that will 
be delivered on an unreliable channel.  This sort of semantic mixing of 
the multiple channels was not spelled out in the paper, nor is it 
addressed in my follow up.  (In fact, I assumed the channels were 
independent and could not use each other's information.)

We need to think this through.  It is likely to be difficult to get right. 
 Nevertheless, it might be exactly the sort of innovation that would make 
swmp invaluable.

jfp

"Jay C. Weber" <jweber@mediamachines.com> wrote on 08/29/2007 12:09:17 PM:

> john_patterson@us.ibm.com wrote:
> So each side gets to declare its own mapping and the other is 
> obligated to keep track of that.  Servers can use the same id for 
> everyone becasue they get to declare the id they'll use.  Can I 
> declare a mapping on a reliable channel (TCP) and use it on an 
> unreliable channel (UDP)?  That would be helpful, since the first 
> use establishing the mapping should be protected from loss. 

> Exactly the way I was thinking, the first message gets sent reliably
> and enables a stream of very-low-latency, potentially-unreliable, 
updates.
> 
> jay

--=_alternative 0066585A85257346_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jay:</font>
<br>
<br><font size=2 face="sans-serif">I have not been thinking about the whole
issue of doing something on one channel and using it on another. &nbsp;This
will require careful thought, but it could be very important.</font>
<br>
<br><font size=2 face="sans-serif">As I mentioned elsewhere (http://www1.ietf.org/mail-archive/web/swmp/current/msg00045.html)
we might need to subscribe on a reliable channel for notifications that
will be delivered on an unreliable channel. &nbsp;This sort of semantic
mixing of the multiple channels was not spelled out in the paper, nor is
it addressed in my follow up. &nbsp;(In fact, I assumed the channels were
independent and could not use each other's information.)</font>
<br>
<br><font size=2 face="sans-serif">We need to think this through. &nbsp;It
is likely to be difficult to get right. &nbsp;Nevertheless, it might be
exactly the sort of innovation that would make swmp invaluable.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br><tt><font size=2>&quot;Jay C. Weber&quot; &lt;jweber@mediamachines.com&gt;
wrote on 08/29/2007 12:09:17 PM:<br>
<br>
&gt; john_patterson@us.ibm.com wrote:</font></tt>
<br><tt><font size=2>&gt; So each side gets to declare its own mapping
and the other is <br>
&gt; obligated to keep track of that. &nbsp;Servers can use the same id
for <br>
&gt; everyone becasue they get to declare the id they'll use. &nbsp;Can
I <br>
&gt; declare a mapping on a reliable channel (TCP) and use it on an <br>
&gt; unreliable channel (UDP)? &nbsp;That would be helpful, since the first
<br>
&gt; use establishing the mapping should be protected from loss. </font></tt>
<br>
<br><tt><font size=2>&gt; Exactly the way I was thinking, the first message
gets sent reliably<br>
&gt; and enables a stream of very-low-latency, potentially-unreliable,
updates.<br>
&gt; <br>
&gt; jay<br>
</font></tt>
--=_alternative 0066585A85257346_=--


--===============1659825212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1659825212==--




From swmp-bounces@ietf.org Wed Aug 29 18:55:59 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQWS5-0001zw-5n; Wed, 29 Aug 2007 18:55:57 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQWS1-0001th-QX
	for swmp@ietf.org; Wed, 29 Aug 2007 18:55:53 -0400
Received: from e34.co.us.ibm.com ([32.97.110.152])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQWRz-0007fV-2r
	for swmp@ietf.org; Wed, 29 Aug 2007 18:55:51 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e34.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7TMtna2001390
	for <swmp@ietf.org>; Wed, 29 Aug 2007 18:55:49 -0400
Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168])
	by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7TMtndd352298 for <swmp@ietf.org>; Wed, 29 Aug 2007 16:55:49 -0600
Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1])
	by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7TMtm1i022368 for <swmp@ietf.org>; Wed, 29 Aug 2007 16:55:48 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7TMtklN022044
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 29 Aug 2007 16:55:47 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7TMtZg4025578;
	Wed, 29 Aug 2007 18:55:35 -0400 (EDT)
In-Reply-To: <20070824175624.CCC8446404E@william.mediamachines.com>
To: "Tony Parisi" <tparisi@mediamachines.com>
Subject: RE: [SWMP] introducing RPC to an asynchronous protocol
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OF6D9A1A5C.CE491530-ON85257346.007DE1B0-85257346.007DE9D1@lotus.com>
From: john_patterson@us.ibm.com
Date: Wed, 29 Aug 2007 18:56:16 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/29/2007 06:56:18 PM,
	Serialize complete at 08/29/2007 06:56:18 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0770535483960d190d4a0d020e7060bd
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1764985646=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============1764985646==
Content-Type: multipart/alternative;
	boundary="=_alternative 007DE9CF85257346_="

This is a multipart message in MIME format.
--=_alternative 007DE9CF85257346_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Tony:

I do not see why it would need to be either/or.

The decision to do pub/sub is not really an option.  The paper described=20
an implicit pub-sub.  I am advocating that we be explicit.

The more difficult question is whether a pub-sub approach is sufficient=20
for all needs.  Given all the traffic that ensues when a subscription=20
takes place, it seems unwise to SUBSCRIBE simply to learn a value and then =

turn around and UNSUBSCRIBE once it is known.  If we can identify=20
situations in which it is important to learn the value of a field in order =

to decide whether to SUBSCRIBE, then I think we will want the GET=20
functionality.

Imagine, for example, that we have a server that is managing multiple=20
shards.  We are connecting our client, but we want to subscribe to the=20
shard that is least occupied or that a friend is already in.  In these=20
cases, we might want to query the shards for their load value and=20
subscribe accordingly.  Or, query the shards to find our friend and then=20
subscribe accordingly.  To subscribe to each shard simply to find these=20
values would cause excess load on the server, the client, and the network. =

 It is worth avoiding.

jfp

"Tony Parisi" <tparisi@mediamachines.com> wrote on 08/24/2007 01:58:24 PM:

> If we?re talking about an either/or I prefer pub-sub to readback.
>=20
> Tony
>=20
>=20
> From: Jay C. Weber [mailto:jweber@mediamachines.com]=20
> Sent: Friday, August 24, 2007 9:04 AM
> To: john=5Fpatterson@us.ibm.com
> Cc: swmp@ietf.org
> Subject: [SWMP] introducing RPC to an asynchronous protocol
>=20
> john=5Fpatterson@us.ibm.com wrote:

> D)  I believe that swmp will need the full complement of CRUD=20
> (create, read, update, delete) operations.  I think the absence of=20
> read methods derived from the implicit subscription to all state.=20
> Now, that one can subscribe to some, but not all of the state, I=20
> believe it will become desirable to request the values of=20
> unsubscribed state.  This prompted me to add a GETNODE and a=20
> GETFIELD request, which required GETNODEREPLY and GETFIELDREPLY=20
> messages to return the response.=20
> Interesting, but the danger here is "return the response".  There's=20
> a big advantage to resisting the introduction of RPC-style elements=20
> in a context of minimizing latency -- obviously RPC involves a=20
> round-trip of messaging.  Keeping SWMP asynchronous will keep it=20
> mapping simply and efficiently onto datagram transports.
>=20
> I like the PUB-SUB suggestions you've made, especially because PUB-
> SUB can be designed to work well in an asynchronous protocol.
>=20
> jay
> --=20
> Jay C. Weber, Ph.D.=20
> CTO, Media Machines Inc.=20
> 650-279-2311=20
--=_alternative 007DE9CF85257346_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Tony:</font>
<br>
<br><font size=3D2 face=3D"sans-serif">I do not see why it would need to be
either/or.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">The decision to do pub/sub is not re=
ally
an option. &nbsp;The paper described an implicit pub-sub. &nbsp;I am advoca=
ting
that we be explicit.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">The more difficult question is wheth=
er
a pub-sub approach is sufficient for all needs. &nbsp;Given all the traffic
that ensues when a subscription takes place, it seems unwise to SUBSCRIBE
simply to learn a value and then turn around and UNSUBSCRIBE once it is
known. &nbsp;If we can identify situations in which it is important to
learn the value of a field in order to decide whether to SUBSCRIBE, then
I think we will want the GET functionality.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Imagine, for example, that we have a
server that is managing multiple shards. &nbsp;We are connecting our client,
but we want to subscribe to the shard that is least occupied or that a
friend is already in. &nbsp;In these cases, we might want to query the
shards for their load value and subscribe accordingly. &nbsp;Or, query
the shards to find our friend and then subscribe accordingly. &nbsp;To
subscribe to each shard simply to find these values would cause excess
load on the server, the client, and the network. &nbsp;It is worth avoiding=
.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">jfp</font>
<br>
<br><tt><font size=3D2>&quot;Tony Parisi&quot; &lt;tparisi@mediamachines.co=
m&gt;
wrote on 08/24/2007 01:58:24 PM:<br>
<br>
&gt; If we&#8217;re talking about an either/or I prefer pub-sub to readback=
.</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; Tony</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; <br>
&gt; From: Jay C. Weber [mailto:jweber@mediamachines.com] <br>
&gt; Sent: Friday, August 24, 2007 9:04 AM<br>
&gt; To: john=5Fpatterson@us.ibm.com<br>
&gt; Cc: swmp@ietf.org<br>
&gt; Subject: [SWMP] introducing RPC to an asynchronous protocol</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; john=5Fpatterson@us.ibm.com wrote:<br>
</font></tt>
<br><tt><font size=3D2>&gt; D) &nbsp;I believe that swmp will need the full
complement of CRUD <br>
&gt; (create, read, update, delete) operations. &nbsp;I think the absence
of <br>
&gt; read methods derived from the implicit subscription to all state.
&nbsp;<br>
&gt; Now, that one can subscribe to some, but not all of the state, I <br>
&gt; believe it will become desirable to request the values of <br>
&gt; unsubscribed state. &nbsp;This prompted me to add a GETNODE and a
<br>
&gt; GETFIELD request, which required GETNODEREPLY and GETFIELDREPLY <br>
&gt; messages to return the response. </font></tt>
<br><tt><font size=3D2>&gt; Interesting, but the danger here is &quot;return
the response&quot;. &nbsp;There's <br>
&gt; a big advantage to resisting the introduction of RPC-style elements
<br>
&gt; in a context of minimizing latency -- obviously RPC involves a <br>
&gt; round-trip of messaging. &nbsp;Keeping SWMP asynchronous will keep
it <br>
&gt; mapping simply and efficiently onto datagram transports.<br>
&gt; <br>
&gt; I like the PUB-SUB suggestions you've made, especially because PUB-<br>
&gt; SUB can be designed to work well in an asynchronous protocol.<br>
&gt; <br>
&gt; jay</font></tt>
<br><tt><font size=3D2>&gt; -- <br>
&gt; Jay C. Weber, Ph.D. <br>
&gt; CTO, Media Machines Inc. <br>
&gt; 650-279-2311 </font></tt>
--=_alternative 007DE9CF85257346_=--


--===============1764985646==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1764985646==--




From swmp-bounces@ietf.org Thu Aug 30 01:29:09 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IQcaa-0006UJ-Md; Thu, 30 Aug 2007 01:29:08 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IQcaZ-0006UC-8E
	for swmp@ietf.org; Thu, 30 Aug 2007 01:29:07 -0400
Received: from mx5.roble.com ([206.40.34.5])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IQcaY-0001iZ-Ez
	for swmp@ietf.org; Thu, 30 Aug 2007 01:29:06 -0400
X-Scanned-By: PostConf Email Solutions
Received: from NEO (adsl-67-113-133-74.dsl.sntc01.pacbell.net [67.113.133.74])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested) (Authenticated sender: tony)
	by mail.mediamachines.com (Postfix) with ESMTP id 03FBF36441D;
	Wed, 29 Aug 2007 22:28:52 -0700 (PDT)
From: "Tony Parisi" <tparisi@mediamachines.com>
To: <john_patterson@us.ibm.com>
Subject: RE: [SWMP] introducing RPC to an asynchronous protocol
Date: Wed, 29 Aug 2007 22:28:52 -0700
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
In-Reply-To: <OF6D9A1A5C.CE491530-ON85257346.007DE1B0-85257346.007DE9D1@lotus.com>
thread-index: Acfqj81dqOPwoIopQ3O8TDDS12xiKAANtKOQ
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Message-Id: <20070830052853.03FBF36441D@mail.mediamachines.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: df1883a27a831c1ea5e8cfe5eb3ad38e
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1979662961=="
Errors-To: swmp-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1979662961==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_006B_01C7EA8B.FB2AD330"

This is a multi-part message in MIME format.

------=_NextPart_000_006B_01C7EA8B.FB2AD330
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

John

 

Agreed

 

Tony

 

  _____  

From: john_patterson@us.ibm.com [mailto:john_patterson@us.ibm.com] 
Sent: Wednesday, August 29, 2007 3:56 PM
To: Tony Parisi
Cc: 'Jay C. Weber'; swmp@ietf.org
Subject: RE: [SWMP] introducing RPC to an asynchronous protocol

 


Tony: 

I do not see why it would need to be either/or. 

The decision to do pub/sub is not really an option.  The paper described an
implicit pub-sub.  I am advocating that we be explicit. 

The more difficult question is whether a pub-sub approach is sufficient for
all needs.  Given all the traffic that ensues when a subscription takes
place, it seems unwise to SUBSCRIBE simply to learn a value and then turn
around and UNSUBSCRIBE once it is known.  If we can identify situations in
which it is important to learn the value of a field in order to decide
whether to SUBSCRIBE, then I think we will want the GET functionality. 

Imagine, for example, that we have a server that is managing multiple
shards.  We are connecting our client, but we want to subscribe to the shard
that is least occupied or that a friend is already in.  In these cases, we
might want to query the shards for their load value and subscribe
accordingly.  Or, query the shards to find our friend and then subscribe
accordingly.  To subscribe to each shard simply to find these values would
cause excess load on the server, the client, and the network.  It is worth
avoiding. 

jfp 

"Tony Parisi" <tparisi@mediamachines.com> wrote on 08/24/2007 01:58:24 PM:

> If we're talking about an either/or I prefer pub-sub to readback. 
>   
> Tony 
>   
> 
> From: Jay C. Weber [mailto:jweber@mediamachines.com] 
> Sent: Friday, August 24, 2007 9:04 AM
> To: john_patterson@us.ibm.com
> Cc: swmp@ietf.org
> Subject: [SWMP] introducing RPC to an asynchronous protocol 
>   
> john_patterson@us.ibm.com wrote:

> D)  I believe that swmp will need the full complement of CRUD 
> (create, read, update, delete) operations.  I think the absence of 
> read methods derived from the implicit subscription to all state.  
> Now, that one can subscribe to some, but not all of the state, I 
> believe it will become desirable to request the values of 
> unsubscribed state.  This prompted me to add a GETNODE and a 
> GETFIELD request, which required GETNODEREPLY and GETFIELDREPLY 
> messages to return the response. 
> Interesting, but the danger here is "return the response".  There's 
> a big advantage to resisting the introduction of RPC-style elements 
> in a context of minimizing latency -- obviously RPC involves a 
> round-trip of messaging.  Keeping SWMP asynchronous will keep it 
> mapping simply and efficiently onto datagram transports.
> 
> I like the PUB-SUB suggestions you've made, especially because PUB-
> SUB can be designed to work well in an asynchronous protocol.
> 
> jay 
> -- 
> Jay C. Weber, Ph.D. 
> CTO, Media Machines Inc. 
> 650-279-2311 


------=_NextPart_000_006B_01C7EA8B.FB2AD330
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:sans-serif;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
tt
	{font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>John<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Agreed<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Tony<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
john_patterson@us.ibm.com [mailto:john_patterson@us.ibm.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, August =
29, 2007
3:56 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Tony Parisi<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> 'Jay C. Weber'; =
swmp@ietf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [SWMP] =
introducing
RPC to an asynchronous protocol</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
</span></font><font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;
font-family:sans-serif'>Tony:</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>I
do not see why it would need to be either/or.</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>The
decision to do pub/sub is not really an option. &nbsp;The paper =
described an
implicit pub-sub. &nbsp;I am advocating that we be =
explicit.</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>The
more difficult question is whether a pub-sub approach is sufficient for =
all
needs. &nbsp;Given all the traffic that ensues when a subscription takes =
place,
it seems unwise to SUBSCRIBE simply to learn a value and then turn =
around and
UNSUBSCRIBE once it is known. &nbsp;If we can identify situations in =
which it
is important to learn the value of a field in order to decide whether to
SUBSCRIBE, then I think we will want the GET =
functionality.</span></font> <br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>Imagine,
for example, that we have a server that is managing multiple shards. =
&nbsp;We
are connecting our client, but we want to subscribe to the shard that is =
least
occupied or that a friend is already in. &nbsp;In these cases, we might =
want to
query the shards for their load value and subscribe accordingly. =
&nbsp;Or,
query the shards to find our friend and then subscribe accordingly. =
&nbsp;To
subscribe to each shard simply to find these values would cause excess =
load on
the server, the client, and the network. &nbsp;It is worth =
avoiding.</span></font>
<br>
<br>
<font size=3D2 face=3Dsans-serif><span =
style=3D'font-size:10.0pt;font-family:sans-serif'>jfp</span></font>
<br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&quot;Tony
Parisi&quot; &lt;tparisi@mediamachines.com&gt; wrote on 08/24/2007 =
01:58:24 PM:</span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt><font face=3D"Courier New">&gt; If we&#8217;re talking about an =
either/or I
prefer pub-sub to readback.</font></tt></span></font> <br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; Tony</span></font></tt>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; </span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">&gt; From: Jay C. Weber
[mailto:jweber@mediamachines.com] </font></tt><br>
<tt><font face=3D"Courier New">&gt; Sent: Friday, August 24, 2007 9:04 =
AM</font></tt><br>
<tt><font face=3D"Courier New">&gt; To: =
john_patterson@us.ibm.com</font></tt><br>
<tt><font face=3D"Courier New">&gt; Cc: swmp@ietf.org</font></tt><br>
<tt><font face=3D"Courier New">&gt; Subject: [SWMP] introducing RPC to =
an
asynchronous protocol</font></tt></span></font> <br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; &nbsp;</span></font></tt>
<br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt;
john_patterson@us.ibm.com wrote:</span></font></tt><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
</span></font><br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; D)
&nbsp;I believe that swmp will need the full complement of CRUD =
</span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">&gt; (create, read, update, delete) =
operations.
&nbsp;I think the absence of </font></tt><br>
<tt><font face=3D"Courier New">&gt; read methods derived from the =
implicit
subscription to all state. &nbsp;</font></tt><br>
<tt><font face=3D"Courier New">&gt; Now, that one can subscribe to some, =
but not
all of the state, I </font></tt><br>
<tt><font face=3D"Courier New">&gt; believe it will become desirable to =
request
the values of </font></tt><br>
<tt><font face=3D"Courier New">&gt; unsubscribed state. &nbsp;This =
prompted me to
add a GETNODE and a </font></tt><br>
<tt><font face=3D"Courier New">&gt; GETFIELD request, which required =
GETNODEREPLY
and GETFIELDREPLY </font></tt><br>
<tt><font face=3D"Courier New">&gt; messages to return the response. =
</font></tt></span></font><br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt;
Interesting, but the danger here is &quot;return the response&quot;.
&nbsp;There's </span></font></tt><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">&gt; a big advantage to resisting the =
introduction
of RPC-style elements </font></tt><br>
<tt><font face=3D"Courier New">&gt; in a context of minimizing latency =
--
obviously RPC involves a </font></tt><br>
<tt><font face=3D"Courier New">&gt; round-trip of messaging. =
&nbsp;Keeping SWMP
asynchronous will keep it </font></tt><br>
<tt><font face=3D"Courier New">&gt; mapping simply and efficiently onto =
datagram
transports.</font></tt><br>
<tt><font face=3D"Courier New">&gt; </font></tt><br>
<tt><font face=3D"Courier New">&gt; I like the PUB-SUB suggestions =
you've made,
especially because PUB-</font></tt><br>
<tt><font face=3D"Courier New">&gt; SUB can be designed to work well in =
an
asynchronous protocol.</font></tt><br>
<tt><font face=3D"Courier New">&gt; </font></tt><br>
<tt><font face=3D"Courier New">&gt; jay</font></tt></span></font> <br>
<tt><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&gt; -- </span></font></tt><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face=3D"Courier New">&gt; Jay C. Weber, Ph.D. </font></tt><br>
<tt><font face=3D"Courier New">&gt; CTO, Media Machines Inc. =
</font></tt><br>
<tt><font face=3D"Courier New">&gt; 650-279-2311 =
</font></tt></span></font><o:p></o:p></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_006B_01C7EA8B.FB2AD330--



--===============1979662961==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1979662961==--





From swmp-bounces@ietf.org Fri Aug 31 12:33:44 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IR9RI-0006XB-2H; Fri, 31 Aug 2007 12:33:44 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IR9RG-0006Wt-Ic
	for swmp@ietf.org; Fri, 31 Aug 2007 12:33:42 -0400
Received: from moutng.kundenserver.de ([212.227.126.179])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IR9RF-0003Dr-UR
	for swmp@ietf.org; Fri, 31 Aug 2007 12:33:42 -0400
Received: from e180008012.adsl.alicedsl.de [85.180.8.12] (helo=[85.180.8.12])
	by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis),
	id 0MKwtQ-1IR9R73Lkm-0006xC; Fri, 31 Aug 2007 18:33:37 +0200
Message-ID: <46D842E1.4050201@dubioso.net>
Date: Fri, 31 Aug 2007 18:33:37 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: swmp@ietf.org
Subject: Re: [SWMP] Re: faster field messages
References: <OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com>
In-Reply-To: <OF95516987.80B2064B-ON85257346.00579557-85257346.00581671@lotus.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX19R4HVb3rzySSN10CN4eqL8Ztmlqh0CxnphuWf
	skSdRMBFDGSkrjKXDhZGt+jMtNI8h3H5Pc+yNMmjjVaOv3WT8t
	3YUgyTI7Tz0EcwDFduKzeEVTLJd9qxZ
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

> 
> So each side gets to declare its own mapping and the other is obligated to 
> keep track of that.

What are the limits, like a maximum number of mappings, or a
maximum guaranteed lifetime of mappings? Unlimited mappings
that each peer needs to keep track of open the gate for easy
DoS attacks. Negotiated limits with each peer would not allow
a server to use the same mappings for each client.
One approach would be that a peer advertises how many mappings
it is going to use, so that the partner can decide on whether
to accept that number or cancel the connection. Another is to
define a maximum number in the protocol, like 255 or 256. That
may be too restrictive, but allowing two bytes and more than
65000 mappings will trigger memory problems, in particular on
a server.

>From the paper (I've read it by now) I perceived it rather
as an ad hoc technique used to shrink the size of a group of
messages in an UDP packet. In that case, the lifetime of a
mapping could be restricted to the packet. But that doesn't
map to TCP connections, or your discussion of defining the
mappings on a separate channel.
In the extreme case of ad hoc, you'd have only one mapping
which is defined at the beginning of a sequence of messages
referring to the same node, and overwritten by the next
definition. Actually, that's not even a mapping anymore,
but an implicit argument.

cheers,
  Roland

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Fri Aug 31 13:05:00 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IR9vY-00027o-Ii; Fri, 31 Aug 2007 13:05:00 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IR9vW-0001s0-Eu
	for swmp@ietf.org; Fri, 31 Aug 2007 13:04:58 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IR9vV-00040F-RP
	for swmp@ietf.org; Fri, 31 Aug 2007 13:04:58 -0400
Received: from e180008012.adsl.alicedsl.de [85.180.8.12] (helo=[85.180.8.12])
	by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis),
	id 0ML2xA-1IR9vU3T8b-0002KV; Fri, 31 Aug 2007 19:04:57 +0200
Message-ID: <46D84A4C.6070007@dubioso.net>
Date: Fri, 31 Aug 2007 19:05:16 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: swmp@ietf.org
Subject: Re: [SWMP] My understanding so far
References: <OFE08B3427.B3EA5603-ON8525732C.0077710F-85257333.0024F03B@lotus.com>
	<46BC9717.4060103@dubioso.net>
In-Reply-To: <46BC9717.4060103@dubioso.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX18WW2eoD5ristNVSjtSRTYHWEofkomZ1yk0bCG
	/5xtY1g1Rs2nmZAP/+iLZ0WYlfuuK0qvN+eBQYjgXmEbjeGipn
	BPr+jZZVJPxSP0fyyuQ4RRoQAHcd/dO
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 8b431ad66d60be2d47c7bfeb879db82c
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Hi all,

I've read the paper[1] by now, and it answered some of
my questions while raising new ones.

A question that is answered is about tickets. They are
representing peers rather than connection, so a ticket
is sent once over the initial channel, then received
later over all side channels too. Sending an unmodifiable
ticket as an authentication token with every UDP packet
sounds somehow like HTTP basic auth. Once somebody has
intercepted the ticket, that entity can generate new
messages that will look genuine. Some hashing technique
including a secret value that is exchanged only once in
advance could improve on both security and message size,
but it's probably too early to discuss security now.

The paper mentions limited support for multicast, but
does not elaborate. There's some more background reading
I'll have to do, but for now I imagine that a multicast
channel is unidirectional, and typically from a server
to many clients. There are two problems with that:
- no HELLO message exchange, because a client can't
  send back (over that side channel)
- no client-specific ticket in the messages sent
I understand that multicast has a low priority here, but
maybe it is still useful to give it a thought occasionally.

Then there are the message IDs. In the paper, they are
per channel and used for UDP packets only. All messages
in a packet share the same message ID. In John's summary,
message IDs are suggested for two purposes:
  a) to identify requests in FAILNOTIFY
  b) as a replacement for timestamps in SUBSCRIBE
The former has the problem that a message ID as presented
in the paper is not unique for a request, and requests via
TCP will not even have a message ID. There is a huge gap
between the interpretations in the paper and the summary.
Did I miss some discussion on that?
The latter has the problem that it is impossible to map
message IDs to unique points in (virtual) time because
they are per-channel, non-persistent, and not unique even
on a single channel. In order to implement a mechanism like
"send all changes since my last login from this machine",
a server will need some kind of timestamp, probably based
on a virtual time in the model.

cheers,
  Roland

[1] www.mediamachines.com/hydra/swampweb3d2007.pdf

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Fri Aug 31 15:36:24 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IRCI3-00052J-Ox; Fri, 31 Aug 2007 15:36:23 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IRCI2-00051r-3F
	for swmp@ietf.org; Fri, 31 Aug 2007 15:36:22 -0400
Received: from e3.ny.us.ibm.com ([32.97.182.143])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IRCI1-00016V-9M
	for swmp@ietf.org; Fri, 31 Aug 2007 15:36:21 -0400
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236])
	by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7VJaKoH013482
	for <swmp@ietf.org>; Fri, 31 Aug 2007 15:36:20 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64])
	by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7VJaK28436170 for <swmp@ietf.org>; Fri, 31 Aug 2007 15:36:20 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7VJaKle015865 for <swmp@ietf.org>; Fri, 31 Aug 2007 15:36:20 -0400
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7VJaJl1015852
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 31 Aug 2007 15:36:20 -0400
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7VJaJVO018667;
	Fri, 31 Aug 2007 15:36:19 -0400 (EDT)
In-Reply-To: <46D842E1.4050201@dubioso.net>
To: Roland Weber <ossfwot@dubioso.net>
Subject: Re: [SWMP] Re: faster field messages
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OFC6875CFE.853A1ECD-ON85257348.006A3554-85257348.006BAB09@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 31 Aug 2007 15:36:59 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/31/2007 03:37:03 PM,
	Serialize complete at 08/31/2007 03:37:03 PM
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ff9c467ad7f19c2a6d058acd7faaec8
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0420418756=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============0420418756==
Content-Type: multipart/alternative;
	boundary="=_alternative 006BAB0885257348_="

This is a multipart message in MIME format.
--=_alternative 006BAB0885257348_=
Content-Type: text/plain; charset="US-ASCII"

Roland:

I assumed that the IDs are valid for a session, i.e., the messages between 
the HELLO and the BYE.

I also assume that any network element wishing to use an ID must first 
send a SET message establishing the mapping for that node, which can be 
followed by later SETF messages that use the ID.

I assume that at any time a SET message may be issued to change the ID 
that is being used even if there have been prior SETF messages using an 
earlier ID.

I assume that if a network element cannot formulate a legitimate ID that 
SET messages may be used in lieu of a SETF message.  This would mean that 
a pre-established limit would be acceptable, if large enough to cover most 
situations.

I believe it is an ad hoc mechanism, but I assumed it was to make the 
processing more efficient.  I'm not sure whether the focus was on 
networking issues or lookup efficiency on the network elements.  I assume 
the technique was introduced because the X3D data model has within-node 
names for fields. 

jfp

Roland Weber <ossfwot@dubioso.net> wrote on 08/31/2007 12:33:37 PM:

> > 
> > So each side gets to declare its own mapping and the other is 
obligated to 
> > keep track of that.
> 
> What are the limits, like a maximum number of mappings, or a
> maximum guaranteed lifetime of mappings? Unlimited mappings
> that each peer needs to keep track of open the gate for easy
> DoS attacks. Negotiated limits with each peer would not allow
> a server to use the same mappings for each client.
> One approach would be that a peer advertises how many mappings
> it is going to use, so that the partner can decide on whether
> to accept that number or cancel the connection. Another is to
> define a maximum number in the protocol, like 255 or 256. That
> may be too restrictive, but allowing two bytes and more than
> 65000 mappings will trigger memory problems, in particular on
> a server.
> 
> >From the paper (I've read it by now) I perceived it rather
> as an ad hoc technique used to shrink the size of a group of
> messages in an UDP packet. In that case, the lifetime of a
> mapping could be restricted to the packet. But that doesn't
> map to TCP connections, or your discussion of defining the
> mappings on a separate channel.
> In the extreme case of ad hoc, you'd have only one mapping
> which is defined at the beginning of a sequence of messages
> referring to the same node, and overwritten by the next
> definition. Actually, that's not even a mapping anymore,
> but an implicit argument.
> 
> cheers,
>   Roland
> 
> _______________________________________________
> SWMP mailing list
> SWMP@ietf.org
> https://www1.ietf.org/mailman/listinfo/swmp

--=_alternative 006BAB0885257348_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Roland:</font>
<br>
<br><font size=2 face="sans-serif">I assumed that the IDs are valid for
a session, i.e., the messages between the HELLO and the BYE.</font>
<br>
<br><font size=2 face="sans-serif">I also assume that any network element
wishing to use an ID must first send a SET message establishing the mapping
for that node, which can be followed by later SETF messages that use the
ID.</font>
<br>
<br><font size=2 face="sans-serif">I assume that at any time a SET message
may be issued to change the ID that is being used even if there have been
prior SETF messages using an earlier ID.</font>
<br>
<br><font size=2 face="sans-serif">I assume that if a network element cannot
formulate a legitimate ID that SET messages may be used in lieu of a SETF
message. &nbsp;This would mean that a pre-established limit would be acceptable,
if large enough to cover most situations.</font>
<br>
<br><font size=2 face="sans-serif">I believe it is an ad hoc mechanism,
but I assumed it was to make the processing more efficient. &nbsp;I'm not
sure whether the focus was on networking issues or lookup efficiency on
the network elements. &nbsp;I assume the technique was introduced because
the X3D data model has within-node names for fields. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br><tt><font size=2>Roland Weber &lt;ossfwot@dubioso.net&gt; wrote on
08/31/2007 12:33:37 PM:<br>
<br>
&gt; &gt; <br>
&gt; &gt; So each side gets to declare its own mapping and the other is
obligated to <br>
&gt; &gt; keep track of that.<br>
&gt; <br>
&gt; What are the limits, like a maximum number of mappings, or a<br>
&gt; maximum guaranteed lifetime of mappings? Unlimited mappings<br>
&gt; that each peer needs to keep track of open the gate for easy<br>
&gt; DoS attacks. Negotiated limits with each peer would not allow<br>
&gt; a server to use the same mappings for each client.<br>
&gt; One approach would be that a peer advertises how many mappings<br>
&gt; it is going to use, so that the partner can decide on whether<br>
&gt; to accept that number or cancel the connection. Another is to<br>
&gt; define a maximum number in the protocol, like 255 or 256. That<br>
&gt; may be too restrictive, but allowing two bytes and more than<br>
&gt; 65000 mappings will trigger memory problems, in particular on<br>
&gt; a server.<br>
&gt; <br>
&gt; &gt;From the paper (I've read it by now) I perceived it rather<br>
&gt; as an ad hoc technique used to shrink the size of a group of<br>
&gt; messages in an UDP packet. In that case, the lifetime of a<br>
&gt; mapping could be restricted to the packet. But that doesn't<br>
&gt; map to TCP connections, or your discussion of defining the<br>
&gt; mappings on a separate channel.<br>
&gt; In the extreme case of ad hoc, you'd have only one mapping<br>
&gt; which is defined at the beginning of a sequence of messages<br>
&gt; referring to the same node, and overwritten by the next<br>
&gt; definition. Actually, that's not even a mapping anymore,<br>
&gt; but an implicit argument.<br>
&gt; <br>
&gt; cheers,<br>
&gt; &nbsp; Roland<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SWMP mailing list<br>
&gt; SWMP@ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/swmp<br>
</font></tt>
--=_alternative 006BAB0885257348_=--


--===============0420418756==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============0420418756==--




From swmp-bounces@ietf.org Fri Aug 31 16:29:11 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IRD79-00063z-23; Fri, 31 Aug 2007 16:29:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IRD78-000629-FO
	for swmp@ietf.org; Fri, 31 Aug 2007 16:29:10 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IRD76-00026v-PY
	for swmp@ietf.org; Fri, 31 Aug 2007 16:29:10 -0400
Received: from e180008012.adsl.alicedsl.de [85.180.8.12] (helo=[85.180.8.12])
	by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis),
	id 0MKwpI-1IRD751OK1-00029X; Fri, 31 Aug 2007 22:29:07 +0200
Message-ID: <46D87A26.5040408@dubioso.net>
Date: Fri, 31 Aug 2007 22:29:26 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: john_patterson@us.ibm.com
Subject: Re: [SWMP] Re: faster field messages
References: <OFC6875CFE.853A1ECD-ON85257348.006A3554-85257348.006BAB09@lotus.com>
In-Reply-To: <OFC6875CFE.853A1ECD-ON85257348.006A3554-85257348.006BAB09@lotus.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX1/DBdBWHtinYpqpYt+cYyuGyyobF89la4ACMSG
	jFxHb2ujpopdRrOaecj0ZPItQ35YnA3YSa4EuSviqEx/bvgipG
	WO7MhnjdLuh0q1U/kEZXulwrqtJ+P12
X-Spam-Score: 1.7 (+)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Hello John,

> I assume that if a network element cannot formulate a legitimate ID that 
> SET messages may be used in lieu of a SETF message.  This would mean that 
> a pre-established limit would be acceptable, if large enough to cover most 
> situations.

Let's take an example: a server is sending SET/SETF messages to clients.
Is the pre-established limit imposed by the protocol, or negotiated with
each client separately?
In the first case, the server can use the same mappings for all clients,
since they are all required to support that number of mappings. In that
case, the server can build the set of messages once and send it out to
all clients, wrapping it in a client-specific envelope. I believe that
was the idea, but on the other hand a protocol imposed limit reduces the
flexibility of the protocol.
In the second case, let's say that client 1 supports 100 mappings and
client 2 supports 300 mappings. Then the server has the option of main-
taining separate outgoing mappings for each client, or of only using the
smallest number supported. The separate mappings can at least be kept
overlapping, but they will require to build separate messages for the
clients. Using only the smallest number degrades potential performance
for all clients that support more.

> I believe it is an ad hoc mechanism, but I assumed it was to make the 
> processing more efficient.  I'm not sure whether the focus was on 
> networking issues or lookup efficiency on the network elements.

The paper suggests it was introduced to reduce message size. If this
is handled ad hoc with a strictly limited lifetime of the mapping,
it is quite efficient. A network element realizes that the set of
messages to be sent can be efficiently encoded by defining a few
mappings, and does so. The receiver takes the mapping, processes the
messages, and forgets the mapping again. No problem.
But as soon as you're introducing mappings with a longer lifetime,
as was implied in your discussion, you raise the memory question.
The mapping moves from temporary memory (during message processing)
to session memory. In the example above, each client can define
independent mappings, and the server will have to store those somehow.
If there is no limit, a single malicious client can take down the
server simply by defining an ever-growing set of mappings.
If a limit is imposed by the protocol, the worst-case memory consumption
on the server will grow linearly with the number of clients. Negotiation
would allow the server to set a lower limit than the client, allowing
for efficient sending (with many mappings) while limiting the memory
consumption on the receiving side. But the price of negotiation is to
create separate messages for each client with a differing number of
supported mappings.

Jay says that maintaining per-client mappings on the server is not
complicated. That is surely true as long as the server has the memory
to spare. But what happens when the server has to refuse storing more
mappings in order to keep the memory consumption in check? Throwing
out old mappings is an option of course, but the client needs to be
told which mappings are available for message encoding and which can
no longer be used.

Jay, maybe you can tell us how you are handling this situation
in your implementation?

cheers,
  Roland


_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Fri Aug 31 16:32:52 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IRDAi-0005Pp-2T; Fri, 31 Aug 2007 16:32:52 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IRDAh-0005Me-20
	for swmp@ietf.org; Fri, 31 Aug 2007 16:32:51 -0400
Received: from e35.co.us.ibm.com ([32.97.110.153])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IRDAf-0002DV-DN
	for swmp@ietf.org; Fri, 31 Aug 2007 16:32:51 -0400
Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com
	[9.17.195.227])
	by e35.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7VKWcRe027015
	for <swmp@ietf.org>; Fri, 31 Aug 2007 16:32:38 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id
	l7VKWc3h497592 for <swmp@ietf.org>; Fri, 31 Aug 2007 14:32:38 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id
	l7VKWcI9016247 for <swmp@ietf.org>; Fri, 31 Aug 2007 14:32:38 -0600
Received: from internet1.lotus.com (internet1.lotus.com [9.33.9.11])
	by d03av01.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	l7VKWbbU016195
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 31 Aug 2007 14:32:38 -0600
Received: from wtfmail02.edc.lotus.com (wtfmail02.lotus.com [9.33.9.69])
	by internet1.lotus.com (8.14.1/8.14.1) with ESMTP id l7VKWbuO022900;
	Fri, 31 Aug 2007 16:32:37 -0400 (EDT)
In-Reply-To: <46D84A4C.6070007@dubioso.net>
To: Roland Weber <ossfwot@dubioso.net>
Subject: Re: [SWMP] My understanding so far
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 August 18, 2005
Message-ID: <OFFA72042F.751DC694-ON85257348.006F170E-85257348.0070D266@lotus.com>
From: john_patterson@us.ibm.com
Date: Fri, 31 Aug 2007 16:33:17 -0400
X-MIMETrack: Serialize by Router on WTFMAIL02/WTF/M/Lotus(Build
	V703_08192007|August 19, 2007) at 08/31/2007 04:33:20 PM,
	Serialize complete at 08/31/2007 04:33:20 PM
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 16c9da4896bf5539ae3547c6c25f06a0
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2135977442=="
Errors-To: swmp-bounces@ietf.org

This is a multipart message in MIME format.
--===============2135977442==
Content-Type: multipart/alternative;
	boundary="=_alternative 0070D26485257348_="

This is a multipart message in MIME format.
--=_alternative 0070D26485257348_=
Content-Type: text/plain; charset="US-ASCII"

Roland:

My responses are mixed in.

jfp

Roland Weber <ossfwot@dubioso.net> wrote on 08/31/2007 01:05:16 PM:

> Hi all,
> 
> I've read the paper[1] by now, and it answered some of
> my questions while raising new ones.
> 
> A question that is answered is about tickets. They are
> representing peers rather than connection, so a ticket
> is sent once over the initial channel, then received
> later over all side channels too. Sending an unmodifiable
> ticket as an authentication token with every UDP packet
> sounds somehow like HTTP basic auth. Once somebody has
> intercepted the ticket, that entity can generate new
> messages that will look genuine. Some hashing technique
> including a secret value that is exchanged only once in
> advance could improve on both security and message size,
> but it's probably too early to discuss security now.
> 

I did not understand that about tickets.  The security concern seems 
legitimate.  The solution sounds sensible, especially because it will 
apply to all channels.  I agree that it might be too early to worry deeply 
about security, but it can't hurt to have it in mind.

> The paper mentions limited support for multicast, but
> does not elaborate. There's some more background reading
> I'll have to do, but for now I imagine that a multicast
> channel is unidirectional, and typically from a server
> to many clients. There are two problems with that:
> - no HELLO message exchange, because a client can't
>   send back (over that side channel)
> - no client-specific ticket in the messages sent
> I understand that multicast has a low priority here, but
> maybe it is still useful to give it a thought occasionally.
> 

I share the impression that multicast was a bit of an afterthought in the 
paper.  Nevertheless, the sentiment to support it is a good one.  It 
sounds like we need to think more deeply about how that might happen.

> Then there are the message IDs. In the paper, they are
> per channel and used for UDP packets only. All messages
> in a packet share the same message ID. In John's summary,
> message IDs are suggested for two purposes:
>   a) to identify requests in FAILNOTIFY
>   b) as a replacement for timestamps in SUBSCRIBE
> The former has the problem that a message ID as presented
> in the paper is not unique for a request, and requests via
> TCP will not even have a message ID. There is a huge gap
> between the interpretations in the paper and the summary.
> Did I miss some discussion on that?

No, you didn't miss any discussion on that.  My adoption of the message 
IDs to solve some of the problems I was encountering was rather "glib".  I 
did not understand that message IDs were per packet and not per message. I 
also did not understand that they were only used with UDP.  The paper did 
not anticipate using message IDs in this way because it does not support 
queries, failure notifications, or subscriptions with an indication of the 
relative completeness of the current state.  As I have mentioned 
elsewhere, I no longer believe that message IDs are a good idea for 
subscriptions.  I still think that failure notifications and queries will 
be needed.

> The latter has the problem that it is impossible to map
> message IDs to unique points in (virtual) time because
> they are per-channel, non-persistent, and not unique even
> on a single channel. In order to implement a mechanism like
> "send all changes since my last login from this machine",
> a server will need some kind of timestamp, probably based
> on a virtual time in the model.
> 

I agree with your point about using message IDs on subscriptions.  We 
could just say that all subscriptions are followed by a full accounting of 
the state.  Or, if we want to manage the traffic better, we will need some 
notion of time to account for how far back the subscriber's state is 
valid.  If we can figure out how to use time in this fashion, it might 
decrease the traffic a lot.

> cheers,
>   Roland
> 
> [1] www.mediamachines.com/hydra/swampweb3d2007.pdf
> 
> _______________________________________________
> SWMP mailing list
> SWMP@ietf.org
> https://www1.ietf.org/mailman/listinfo/swmp

--=_alternative 0070D26485257348_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Roland:</font>
<br>
<br><font size=2 face="sans-serif">My responses are mixed in.</font>
<br>
<br><font size=2 face="sans-serif">jfp</font>
<br>
<br><tt><font size=2>Roland Weber &lt;ossfwot@dubioso.net&gt; wrote on
08/31/2007 01:05:16 PM:<br>
<br>
&gt; Hi all,<br>
&gt; <br>
&gt; I've read the paper[1] by now, and it answered some of<br>
&gt; my questions while raising new ones.<br>
&gt; <br>
&gt; A question that is answered is about tickets. They are<br>
&gt; representing peers rather than connection, so a ticket<br>
&gt; is sent once over the initial channel, then received<br>
&gt; later over all side channels too. Sending an unmodifiable<br>
&gt; ticket as an authentication token with every UDP packet<br>
&gt; sounds somehow like HTTP basic auth. Once somebody has<br>
&gt; intercepted the ticket, that entity can generate new<br>
&gt; messages that will look genuine. Some hashing technique<br>
&gt; including a secret value that is exchanged only once in<br>
&gt; advance could improve on both security and message size,<br>
&gt; but it's probably too early to discuss security now.<br>
&gt; </font></tt>
<br>
<br><tt><font size=2>I did not understand that about tickets. &nbsp;The
security concern seems legitimate. &nbsp;The solution sounds sensible,
especially because it will apply to all channels. &nbsp;I agree that it
might be too early to worry deeply about security, but it can't hurt to
have it in mind.</font></tt>
<br><tt><font size=2><br>
&gt; The paper mentions limited support for multicast, but<br>
&gt; does not elaborate. There's some more background reading<br>
&gt; I'll have to do, but for now I imagine that a multicast<br>
&gt; channel is unidirectional, and typically from a server<br>
&gt; to many clients. There are two problems with that:<br>
&gt; - no HELLO message exchange, because a client can't<br>
&gt; &nbsp; send back (over that side channel)<br>
&gt; - no client-specific ticket in the messages sent<br>
&gt; I understand that multicast has a low priority here, but<br>
&gt; maybe it is still useful to give it a thought occasionally.<br>
&gt; </font></tt>
<br>
<br><tt><font size=2>I share the impression that multicast was a bit of
an afterthought in the paper. &nbsp;Nevertheless, the sentiment to support
it is a good one. &nbsp;It sounds like we need to think more deeply about
how that might happen.</font></tt>
<br><tt><font size=2><br>
&gt; Then there are the message IDs. In the paper, they are<br>
&gt; per channel and used for UDP packets only. All messages<br>
&gt; in a packet share the same message ID. In John's summary,<br>
&gt; message IDs are suggested for two purposes:<br>
&gt; &nbsp; a) to identify requests in FAILNOTIFY<br>
&gt; &nbsp; b) as a replacement for timestamps in SUBSCRIBE<br>
&gt; The former has the problem that a message ID as presented<br>
&gt; in the paper is not unique for a request, and requests via<br>
&gt; TCP will not even have a message ID. There is a huge gap<br>
&gt; between the interpretations in the paper and the summary.<br>
&gt; Did I miss some discussion on that?</font></tt>
<br>
<br><tt><font size=2>No, you didn't miss any discussion on that. &nbsp;My
adoption of the message IDs to solve some of the problems I was encountering
was rather &quot;glib&quot;. &nbsp;I did not understand that message IDs
were per packet and not per message. &nbsp;I also did not understand that
they were only used with UDP. &nbsp;The paper did not anticipate using
message IDs in this way because it does not support queries, failure notifications,
or subscriptions with an indication of the relative completeness of the
current state. &nbsp;As I have mentioned elsewhere, I no longer believe
that message IDs are a good idea for subscriptions. &nbsp;I still think
that failure notifications and queries will be needed.</font></tt>
<br><tt><font size=2><br>
&gt; The latter has the problem that it is impossible to map<br>
&gt; message IDs to unique points in (virtual) time because<br>
&gt; they are per-channel, non-persistent, and not unique even<br>
&gt; on a single channel. In order to implement a mechanism like<br>
&gt; &quot;send all changes since my last login from this machine&quot;,<br>
&gt; a server will need some kind of timestamp, probably based<br>
&gt; on a virtual time in the model.<br>
&gt; </font></tt>
<br>
<br><tt><font size=2>I agree with your point about using message IDs on
subscriptions. &nbsp;We could just say that all subscriptions are followed
by a full accounting of the state. &nbsp;Or, if we want to manage the traffic
better, we will need some notion of time to account for how far back the
subscriber's state is valid. &nbsp;If we can figure out how to use time
in this fashion, it might decrease the traffic a lot.</font></tt>
<br><tt><font size=2><br>
&gt; cheers,<br>
&gt; &nbsp; Roland<br>
&gt; <br>
&gt; [1] www.mediamachines.com/hydra/swampweb3d2007.pdf<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SWMP mailing list<br>
&gt; SWMP@ietf.org<br>
&gt; https://www1.ietf.org/mailman/listinfo/swmp<br>
</font></tt>
--=_alternative 0070D26485257348_=--


--===============2135977442==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============2135977442==--




From swmp-bounces@ietf.org Fri Aug 31 16:55:35 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IRDWh-0000qp-Ky; Fri, 31 Aug 2007 16:55:35 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IRDWg-0000nq-6f
	for swmp@ietf.org; Fri, 31 Aug 2007 16:55:34 -0400
Received: from moutng.kundenserver.de ([212.227.126.177])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IRDWf-0003TH-Jt
	for swmp@ietf.org; Fri, 31 Aug 2007 16:55:34 -0400
Received: from e180008012.adsl.alicedsl.de [85.180.8.12] (helo=[85.180.8.12])
	by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis),
	id 0MKwpI-1IRDWe215z-0002MK; Fri, 31 Aug 2007 22:55:33 +0200
Message-ID: <46D88058.8070008@dubioso.net>
Date: Fri, 31 Aug 2007 22:55:52 +0200
From: Roland Weber <ossfwot@dubioso.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.8.1.6) Gecko/20070807 SeaMonkey/1.1.4
MIME-Version: 1.0
To: john_patterson@us.ibm.com
Subject: Re: [SWMP] My understanding so far
References: <OFFA72042F.751DC694-ON85257348.006F170E-85257348.0070D266@lotus.com>
In-Reply-To: <OFFA72042F.751DC694-ON85257348.006F170E-85257348.0070D266@lotus.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V01U2FsdGVkX19v5RKQJxFtG+nuwlQ9r8MfYYpd34KkvlPMHcB
	8/lvXOWZsg+/MVS8seKgc5O8CalrSL5bglrYcQ/rE9uXF5kp4c
	7vwLFXftfBdCem8GxMyuZWlEL3j/8LD
X-Spam-Score: 1.7 (+)
X-Scan-Signature: 4adaf050708fb13be3316a9eee889caa
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Errors-To: swmp-bounces@ietf.org

Hi John,

> I did not understand that about tickets.

Tickets are used similar to session cookies. When a network
element X opens the initial channel to Y, it sends a message
"HELLO, I am X and here is your ticket YtoX for contacting me".
>From then on, Y is expected to use the ticket YtoX whenever it
sends a packet to X, on any UDP (side) channel. Likewise, X
gets a ticket XtoY in the HELLO message from Y.
There must be some mechanism to ensure that HELLO messages
exchanged on side channels use the same tickets as on the
main channel. Or else different HELLO messages could be used
for side channels, without tickets.

> As I have mentioned 
> elsewhere, I no longer believe that message IDs are a good idea for 
> subscriptions.

That was in a mail you didn't copy to the list, that's
why I came back on this topic.

> I still think that failure notifications and queries will 
> be needed.

They make a lot of sense to me.


> I agree with your point about using message IDs on subscriptions.  We 
> could just say that all subscriptions are followed by a full accounting of 
> the state.

Good point. Not the first time that I am overlooking the
most simple solution to a problem :-)

> Or, if we want to manage the traffic better, we will need some 
> notion of time to account for how far back the subscriber's state is 
> valid.  If we can figure out how to use time in this fashion, it might 
> decrease the traffic a lot.

Yes. It pulls in a lot of complexity though.

cheers,
  Roland



_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp



From swmp-bounces@ietf.org Fri Aug 31 18:23:53 2007
Return-path: <swmp-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IREu9-0005OG-1A; Fri, 31 Aug 2007 18:23:53 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IREu7-0005OB-Vx
	for swmp@ietf.org; Fri, 31 Aug 2007 18:23:52 -0400
Received: from mx5.roble.com ([206.40.34.5])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IREu7-0005Cm-IY
	for swmp@ietf.org; Fri, 31 Aug 2007 18:23:51 -0400
X-Scanned-By: PostConf Email Solutions
Received: from [192.168.1.100] (h-66-134-93-202.snvacaid.covad.net
	[66.134.93.202])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: jay)
	by mail.mediamachines.com (Postfix) with ESMTP id C632A364444;
	Fri, 31 Aug 2007 15:23:48 -0700 (PDT)
Message-ID: <46D894F6.1090901@mediamachines.com>
Date: Fri, 31 Aug 2007 15:23:50 -0700
From: "Jay C. Weber" <jweber@mediamachines.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Roland Weber <ossfwot@dubioso.net>
Subject: Re: [SWMP] My understanding so far
References: <OFFA72042F.751DC694-ON85257348.006F170E-85257348.0070D266@lotus.com>
	<46D88058.8070008@dubioso.net>
In-Reply-To: <46D88058.8070008@dubioso.net>
X-Spam-Score: 1.7 (+)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: swmp@ietf.org
X-BeenThere: swmp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion of a Simple Wide-area Multiuser-3D Protocol <swmp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/swmp>
List-Post: <mailto:swmp@ietf.org>
List-Help: <mailto:swmp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/swmp>,
	<mailto:swmp-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1239729904=="
Errors-To: swmp-bounces@ietf.org

--===============1239729904==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Roland Weber wrote:
<blockquote cite="mid:46D88058.8070008@dubioso.net" type="cite">
  <blockquote type="cite">
    <pre wrap="">I did not understand that about tickets.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Tickets are used similar to session cookies. When a network
element X opens the initial channel to Y, it sends a message
"HELLO, I am X and here is your ticket YtoX for contacting me".</pre>
</blockquote>
Yes and tickets usually have an expiration time/date (a date is part of
the ticket and the whole thing is digitally-signed to prevent
tampering) in order to address the man-in-the-middle attacks to which
you alluded before.<br>
<br>
jay<br>
<div class="moz-signature">-- <br>
Jay C. Weber, Ph.D.
<br>
CTO, Media Machines Inc.
<br>
650-279-2311
</div>
</body>
</html>


--===============1239729904==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SWMP mailing list
SWMP@ietf.org
https://www1.ietf.org/mailman/listinfo/swmp

--===============1239729904==--



