Am 16.07.2009 um 12:08 schrieb Richard Dobson:

Having your server cache the presence's isn't going to help you and will infact make things far worse in your case as it seems your server if its taking 10 minutes for some of the presence's to pop through is having serious connectivity issues with the other servers in question and no amount of caching is going to solve that problem, caching is going to make the situation far worse for you as even if you receive that initial presence saying the other contact is online if its taking stanzas 10 minutes to come through then even if your contact logged off 8 minutes ago your server and now you are going to think they are online when they arn't.

I would suggest you get the underlying connectivity issues resolved before even thinking about protocol changes that could infact just make the whole situation worse.

Rich

Those are not really network issues, but protocol issues: When I sign in, about 50 s2s connections need to be opened - and TLS needs to be negotiated on a lot of them. As my TLS key is 4096 bits RSA, this can take quite a while. IMO this is a protocol problem, because s2s links are clossed to fast. Instead, they should be kept open and presences cached. This would really solve the issue. It does not take 10 minutes for a stanza to get through, but 5 minutes until all s2s links are opened and all presences probed.

--
Jonathan

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to