[Standards] s2s and gracelessly broken streams

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Mon Apr 2 16:24:10 CDT 2007


On Monday 02 April 2007 1:04 pm, JD Conley wrote:
> > Let me rephrase that:
> >
> > The reason why we do not want to keep high number of open connections
> > is
> > that the number of open connections would be high.
> >
> >
> > This really does not answer my question. :-)
>
> I think this is best answered in the form of a question: How well do you
> think SMTP would scale if it held open connections for every domain that
> is in your address book?

Suppose we decide to probe every 10 minutes.  The system would scale no worse 
than if every active user signed off/on every 10 minutes.  Is that too much 
load on the server?  If it is, maybe it is a price we have to pay to have a 
working presence system?

Anyway, it is important to keep in mind that end-users can just sign off/on 
with their XMPP client to refresh everything, regardless of whether the 
server probes periodically or not.  Every morning, when I sign off/on to 
clear away dead presence in my roster, I ask myself: "Why isn't the server 
doing this for me?"  This could be a simple rule: if newPresence != away && 
oldPresence == away && timeDifference(newPresence, oldPresence) > 8 hours, 
reprobe.  That one would be harmless, at least. :)

-Justin


More information about the Standards mailing list