[ejabberd] mod_muc_odbc performance/memory issues with room with massive set of affiliations

Evgeniy Khramtsov xramtsov at gmail.com
Sun Nov 18 06:33:11 MSK 2012


On 17.11.2012 14:57, Michael Amundson wrote:
> Hi again, and apologies for all these ODBC-related questions I keep 
> raising.
>
> I have a MUC with a rather large number of affiliations associated 
> with it (around 95,000). While migrating to mod_muc_odbc, I've noticed 
> that adding new affiliations to this MUC take around 12 to 15 seconds 
> to complete, during which the CPU is spinning at nearly 100%...
>

I did some improvements in the data serialization. Pushed into 
origin/2.1.x. The patch is also attached to this email for those who are 
interested.

-- 
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram at jabber.ru.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: muc_encode_term.patch
Type: text/x-diff
Size: 435 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121118/15be940a/attachment.bin>


More information about the ejabberd mailing list