[jdev] Routing
Pedro Melo
melo at co.sapo.pt
Mon Jun 23 10:10:08 CDT 2008
Hi,
On Jun 23, 2008, at 2:40 PM, Norman Rasmussen wrote:
> On Mon, Jun 23, 2008 at 3:19 PM, Pedro Melo <melo at co.sapo.pt> wrote:
> Get an Google Account. Log into Google Talk. Look at the resource you
> get back from the server. It ends with 8 char hex string. Its the
> server that is handling this connection. So each router can find the
> correct server just by looking at the last 8 chars of the destination
> jid.
>
> As you sure that the suffix is used to route the stanza's? If you
> use non-sasl login, you can force the server's to not use the
> suffix. Also the suffix is random. As far as I knew if was so
> that you can never cause a resource conflict.
No, I'm not sure. I've seen it referenced somewhere and I'll try to
find the source of the reference. It makes sense to me though, and I
would use it if I needed to scale to that number of connected resources.
I don't understand, using a non-sasl login part. I always get the
extra bytes myself. As for being "random", how can you tell? How can
you tell if you are not being sent to a different server?
Best regards,
--
HIId: Pedro Melo
SMTP: melo at co.sapo.pt
XMPP: pedro.melo at sapo.pt
More information about the JDev
mailing list