RE: [EME] Re: transport recovery at the APP layer ?

"Paul Francis" <francis@cs.cornell.edu> Thu, 16 November 2006 14:19 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Gki5v-0005o1-Qj; Thu, 16 Nov 2006 09:19:59 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Gki5u-0005hm-3x for eme@irtf.org; Thu, 16 Nov 2006 09:19:58 -0500
Received: from exchfenlb-2.cs.cornell.edu ([128.84.97.34] helo=exchfe2.cs.cornell.edu) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Gki5s-0001L0-Ni for eme@irtf.org; Thu, 16 Nov 2006 09:19:58 -0500
Received: from EXCHANGE2.cs.cornell.edu ([128.84.96.44]) by exchfe2.cs.cornell.edu with Microsoft SMTPSVC(6.0.3790.1830); Thu, 16 Nov 2006 09:19:56 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [EME] Re: transport recovery at the APP layer ?
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 16 Nov 2006 09:19:55 -0500
Message-ID: <E6F7A586E0A3F94D921755964F6BE00662592C@EXCHANGE2.cs.cornell.edu>
In-Reply-To: <455C38AC.1090306@rd-iptech.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [EME] Re: transport recovery at the APP layer ?
Thread-Index: AccJZzwH19xhHuERRjetWmVL9Cgb6wAIgc+Q
From: Paul Francis <francis@cs.cornell.edu>
To: Rémi Després <remi.despres@rd-iptech.com>, Joe Touch <touch@ISI.EDU>
X-OriginalArrivalTime: 16 Nov 2006 14:19:56.0331 (UTC) FILETIME=[4A7ECFB0:01C7098A]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 156eddb66af16eef49a76ae923b15b92
Cc: eme@irtf.org
X-BeenThere: eme@irtf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: end-middle-end research group <eme.irtf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/eme>, <mailto:eme-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/eme>
List-Post: <mailto:eme@irtf.org>
List-Help: <mailto:eme-request@irtf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/eme>, <mailto:eme-request@irtf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0592359404=="
Errors-To: eme-bounces@irtf.org

I have long held the view that the application should assume very little from
TCP.  If the app needs an ack of some sort, then the app should provide it.
If the app really really cares about in-order bytes, it should do its own
checksums.   To do anything else is to ignore the end-to-end principle.  If
nothing else, writing apps this way saves you from having to understand the
minute details of TCP implementations!  
 
PF

________________________________

From: Rémi Després [mailto:remi.despres@rd-iptech.com] 
Sent: Thursday, November 16, 2006 5:09 AM
To: Joe Touch
Cc: eme@irtf.org
Subject: [EME] Re: transport recovery at the APP layer ?


Joe Touch wrote: 

	Rémi Després wrote:
	  

		... A transport layer acknowledgement (TCP ACK) doesn't mean
that the
		destination application has seen the data.
		    

	It never did. But receiving an ACK to a FIN does.
	  

However regrettable it may be :'( , it's no true in all cases either.
 If a FIN is received by a TCP stack, it MUST be acked within 0.5 s to
conform to RFC1122  -  4.2.3.2.
 It MAY be acked long before that. .
 If the application hasn't absorbed all buffered data before the ACK is sent,
remaining data MAY never be received by the app.

 Since changing all TCP stacks would not be realistic, this fact of life has
to be faced.


	

		I guess what is meant by "E2E" should be clarified: transport
stack to transport stack, or app to app?
		
		 TCP provides only the former.
		 What TCP does guarantee is that all received data have been
sent, in
		the same order and with no intermediate omission.
		    

	when the connection closes, the app HAS received the data.
	  

 See above. 



	... if the TCP
	connection closes it knows that the other application has received
the
	data. That's no longer true in spliced connections.
	  

It's NEVER true (see above).
Making clearer in IETF what the apps can expect from the TCP transport
service would IMO be useful.

RD

_______________________________________________
EME mailing list
EME@irtf.org
https://www1.ietf.org/mailman/listinfo/eme