[jdev] The future of Jabber/XMPP?
xramtsov at gmail.com
Fri Aug 27 21:34:22 CDT 2010
28.08.2010 02:36, Waqas Hussain wrote:
> 2. A table of local accounts mapped to list of subscriptions. Each
> subscription is just two pointers (one to a shared caps hash table,
> and one to a JID). 1M * 64 bytes = 64MB (just roughly picked 64
Let me clarify if you don't mind ;) Do you mean 'recipients' table here?
If yes, then I have some questions:
1) is it shared/mutable/global table?
2) I see only one deletion there, in line 128 of mod_pep.lua (I'm
looking at 0.7.0 release). Does that mean recipients[user] is deleted
somewhere else when the corresponding user's session terminates?
3) Do you limit the number of recipients you cached for local user?
> 3. The caps hash table, mapping caps hashes to a list of +notify
I guess you are talking about hash_map table. Do you care about the size of this table? I don't see any checks in the code :)
Evgeniy Khramtsov, ProcessOne.
xmpp:xram at jabber.ru.
More information about the JDev