I am a newbie to Jabber. It seems a user can have numerous (possibly unlimited) resources and can send receive messages among its resources. If this is correct, for my very specialized client application that doesn’'t require authentication, it may be helpful for me to have a single user with a large number (thousands or more) of resources communicating among themselves.
Does it (wildfire) work the way I am describing?
Is the message passing performance among large number of users (with a single resource each) essentially same as a single user with large number of resources?
Thanks in advance.
I wonder why foo@bar/a should send a message to foo@bar/b but this works with Wildfire. I didn’'t test it with 1000 resources but it should work fine (except that the cache is limited to 1000 identifiers, so you may want to patch the code or use only 998 different resources (foo and bar are the 2 to reach 1000).
I have no idea about the performance.
Thanks for answering. But I need a further clarification.
Does the cache you mention relate to resources of a user or all user-resource combinations?
If a user logs in from resources more than the size of the cache (e.g. 2000), would all excess resources (and their sessions) be lost?
the cache contains node, domain and resource identifiers (node@domain/resource) and it’‘s size is 1000. It’‘s used to verify the identifiers more quickly, so the “only” thing you’'ll see is a significant performance drop as the verification process (stringprep) takes long compared to the cache lookup.
I did recently create JM-855 to improve the cache as it has a little bug and to address the 1000 item issue.
Wildfire an excellent product with a very helpful community. I appreciate all the help.