The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: xPL announcement/description protocol -- was xPLDiag


  • Subject: Re: Re: xPL announcement/description protocol -- was xPLDiag
  • From: Gerry Duprey <gerry@xxxxxxxxxxx>
  • Date: Fri, 23 Sep 2005 11:12:13 -0400
  • References: <200509230935.j8N9Zf022185@mail.cdp1802.org>

Howdy,

>>already configured and starts straight away, if it starts
>>before the hub it could be up to 9 minutes before the hub
>>receives the next hbeat from the app and starts sending xPL
>>messages to it - and that is not good.
>
>
> I agree it's not good, but I also think it's incorrect?
>
> 1) if hub starts after the app, the next hbeat is at most 5 minutes
away (so
> 5 minutes max wait, assuming default interval)?

But for the duration of that wait, the application will not be able to
receive xPL messages (until the hub hears from it, the hub doesn't know to
forward messages to it).

The idea of the quick heartbeat is that 1) in 99% of the cases, there is a
hub already running with the xPL app starts so there really is only one
heartbeat sent and immediately replied to (after which things go back to
normal) and 2) that when the app is running before the hub, this will
generally be a short duration issue (like a system rebooting and devices
not
starting in the most optimal/predictable order), so even then, the quick
heartbeat rate will likely only run for a few shots before the hub echoes
and things get back to normal.

In a bad case where there is no hub ever, one packet every 3 seconds is not
very much network traffic (a small fraction of a 1% percent of bandwidth)
and after some period of time, even that dies down a bit.

I really feel that with the separate hubs and the new hub discovery stuff
(rapid heartbeats), xPL has made an important step forward in being
responsive and robust.

Gerry

--
Gerry Duprey
Ann Arbor, MI 48103
http://www.cdp1802.org



xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.