[Standards] XEP-0115 redux
Dave Cridland
dave at cridland.net
Thu Jan 17 13:58:31 CST 2008
On Thu Jan 17 18:08:54 2008, Kevin Smith wrote:
> I confess that I'm starting to wonder what the difference is between
> iq version floods and presence floods when you log on.
>
>
I thought about this, too.
Let us suppose a user with N contacts in the roster who are online at
the moment the user comes online. With a presence-based versioning
system, you're looking at N inbound, 1 outbound. (That's stanzas, of
course)
With an iq based system, you're looking at 2*N outbound, 2*N inbound,
since for every online buddy, you send one iq:version to them, they
send one to you, and you both return results.
So it's actually 4 times the number of stanzas, plus one additional
RTT. (I think - I've not given RTT counts much thought, I admit).
> > Honestly, I think the best bet is an optional n='whatever' as a
> > display name in the caps field; takes up very little additional
> space,
> > and if it's there you use that for a display. That can say
> 'MyClient'
> > or 'MyClient 1.0 (Win32)' or whatever. You just use the string.
> > Otherwise, you just don't query.
>
> The string seems fine, although we probably don't want to mandate
> not
> querying, since clients may withhold it from global presence, but
> let
> some people iq:version.
>
>
I'm in broad agreement with this.
> > I do agree that this bit can be pulled out of the caps discussion
> at
> > this point, though; the only bearing it had on caps was that
> > previously the node#ver values of the original caps meant that you
> > could map that to a specific disco#info identity string as well,
> so
> > the functionality had (unintentionally) rolled into the old caps.
>
> I think it's pertinent in as far as if it drops from caps, the
> replacement needs to appear at the same time, but other than that,
> sure.
I have a vague feeling that we need to consider both issues together.
Dave.
--
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at jabber.org
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
More information about the Standards
mailing list