Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Rob Godfrey
> > > using > > > > > > > a > > > > > > > smaller number that we dont want to use, because we > > > > > > > followed > > > > > > > the > > > > > > > specs > > > >

Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Alan Conway
t; > > > > > > CC'ing user's list > > > > > > > > Given the interpretations of the spec discussed below is the > > > > way > > > > Proton handles this functionality inconsistent with itself? > > > > > > >

Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Ken Giusti
=qpid-proton.git;a=blob;f=proton-c/src/transport/transport.c;h=cdecfd291139acfb1c90698677abc0efc4056f50;hb=HEAD#l2539 - Original Message - > From: "Robbie Gemmell" > To: dev@qpid.apache.org > Cc: us...@qpid.apache.org > Sent: Monday, October 17, 2016 12:32:13 PM > Subject

Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Robbie Gemmell
On 17 October 2016 at 16:57, Alan Conway wrote: > On Fri, 2016-09-30 at 14:40 +0100, Rob Godfrey wrote: >> I don't think it's a bug - it's a completely valid (if chatty) >> choice. >> >> To my mind the semantics of the field are this: >> >> The sender of the open frame is saying "if I do not recei

Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Rob Godfrey
> 2) Proton interprets the idle-timeout in the received open as the > > > actual time out interval, and pessimistically ;) generates > > > heartbeats as 1/2 that value. > > > > > > Is this a bug in the Proton implementation? > > > > > > -K &

Re: API and terms: idle-time-out and heartbeat intervals.

2016-10-17 Thread Alan Conway
1/2 that value. > > > > Is this a bug in the Proton implementation? > > > > -K > > > > - Original Message - > > > > > > From: "Alan Conway" > > > To: dev@qpid.apache.org > > > Sent: Thursday, September 2

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-30 Thread Robbie Gemmell
on? > > -K > > - Original Message - >> From: "Alan Conway" >> To: dev@qpid.apache.org >> Sent: Thursday, September 29, 2016 9:11:51 AM >> Subject: Re: API and terms: idle-time-out and heartbeat intervals. >> >> On Wed, 2016-09-28 at 22:33 +0100

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-30 Thread Rob Godfrey
pen as the actual time > out interval, and pessimistically ;) generates heartbeats as 1/2 that value. > > Is this a bug in the Proton implementation? > > -K > > - Original Message - >> From: "Alan Conway" >> To: dev@qpid.apache.org >> Sent:

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-30 Thread Ken Giusti
t; Off topic: why is this on the dev list? > > > > > > > > > On Wed, Sep 28, 2016 at 12:36 PM, Alan Conway > > > wrote: > > > > > > > > > > > On Wed, 2016-09-28 at 10:13 -0400, Ken Giusti wrote: > > > > > > > >

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-29 Thread Alan Conway
wrote: > > > > > > > > I've had a hand in the way Proton/C interprets the meaning of > > > > 'idle- > > > > timeout' and I've never liked the solution.  I think Proton/C's > > > > behavior is not 'pessimistic' as mu

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Robbie Gemmell
; I've had a hand in the way Proton/C interprets the meaning of >> > > 'idle- >> > > timeout' and I've never liked the solution. I think Proton/C's >> > > behavior is not 'pessimistic' as much as it is 'conservative' for

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Robbie Gemmell
gt; needless idle frame chattiness when both ends are Proton-based. >> > >> > - Original Message - >> > > >> > > From: "Rob Godfrey" >> > > To: "qpid" >> > > Sent: Wednesday, September 28, 2016 6:19:05 AM &

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Robbie Gemmell
uot;Rob Godfrey" >> To: "qpid" >> Sent: Wednesday, September 28, 2016 6:19:05 AM >> Subject: Re: API and terms: idle-time-out and heartbeat intervals. >> >> I agree that specifying that the communicated figure should be "half" >> the "

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Alan Conway
ortunately ends up with a > > > needless idle frame chattiness when both ends are Proton-based. > > > > > > - Original Message - > > > > > > > > > > > > From: "Rob Godfrey" > > > > To: "qpid"

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Justin Ross
ed. > > > > - Original Message - > > > > > > From: "Rob Godfrey" > > > To: "qpid" > > > Sent: Wednesday, September 28, 2016 6:19:05 AM > > > Subject: Re: API and terms: idle-time-out and heartbeat intervals. > >

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Alan Conway
liked the solution.  I think Proton/C's > behavior is not 'pessimistic' as much as it is 'conservative' for the > sake of interoperability.  This, unfortunately ends up with a > needless idle frame chattiness when both ends are Proton-based. > > - Original Messag

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Alan Conway
vative' for the > sake of interoperability.  This, unfortunately ends up with a > needless idle frame chattiness when both ends are Proton-based. > > - Original Message - > > > > From: "Rob Godfrey" > > To: "qpid" > > Sent:

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Ken Giusti
ends up with a needless idle frame chattiness when both ends are Proton-based. - Original Message - > From: "Rob Godfrey" > To: "qpid" > Sent: Wednesday, September 28, 2016 6:19:05 AM > Subject: Re: API and terms: idle-time-out and heartbeat intervals. >

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Rob Godfrey
I agree that specifying that the communicated figure should be "half" the "actual" timeout was a mistake. What the spec should have tried to communicate is that the sender should communicate a value somewhat less than the period it uses to determine that the connection has actually timed-out to al

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-28 Thread Robbie Gemmell
On 27 September 2016 at 22:24, Alan Conway wrote: > On Tue, 2016-09-27 at 15:37 -0400, Alan Conway wrote: >> I want to clarify and document the meaning of these terms for our >> APIs, >> presently I can't find anywhere where they are documented clearly. >> >> The AMQP spec says: "Each peer has its

Re: API and terms: idle-time-out and heartbeat intervals.

2016-09-27 Thread Alan Conway
On Tue, 2016-09-27 at 15:37 -0400, Alan Conway wrote: > I want to clarify and document the meaning of these terms for our > APIs, > presently I can't find anywhere where they are documented clearly. > > The AMQP spec says: "Each peer has its own (independent) idle > timeout. > At connection open e

API and terms: idle-time-out and heartbeat intervals.

2016-09-27 Thread Alan Conway
I want to clarify and document the meaning of these terms for our APIs, presently I can't find anywhere where they are documented clearly. The AMQP spec says: "Each peer has its own (independent) idle timeout. At connection open each peer communicates the maximum period between activity (frames) o