Please disregard this and the other message. For some reason I didn't
notice that this thread was already closed. My client failed to show
me those messages for some time.
My apologies.
Best regards,
On 2009/07/17, at 08:24, Pedro Melo wrote:
On 2009/07/16, at 14:07, Jonathan Schleifer wrote:
Am 16.07.2009 um 14:59 schrieb Pedro Melo:
2.) You know when you got all presences and then definitely know
if somebody is online without waiting 10 minutes just in case you
didn't get the initial presence yet.
[…]
the 2) is possible today. <presence> with jabber:x:delay are
"initial" presences, in response to presence probes. Without a jabber:x:delay
, they are not.
Not exactly - you still don't know whether you have received all
initial presences yet or if there are still initial presences to
come.
And this is important why?
You are assuming that the server can even have access to all
presences at any point in time...
Think about server restarts. I think Jabber.org has around 500k
accounts. Is the server expected to send a presence probe to each
distinct contact in those 500k roster just to have a clear picture
of each user roster presence just so you can have your single
stanza?
It would only need to do that on startup, so not a real problem.
I think you underestimate the size of the roster table in some
deployments.
Sending 50 million presence probes on restart just so the usual 20
or 30k users (with less than a million unique contacts amongst them)
seems to me pretty inefficient.
Do you really think this is a good idea?
Servers shouldn't be restarted all the time anyway, so yes, I think
this won't be a big problem.
Well, we just disagree here. :)
Best regards,