Hello,
I have Kamailio servers that generate CDR in files using the "flatstore" module for each SIP packet handled. I have noticed that this can sometimes have performances impact on high traffic: the disk I/O might get temporarily saturated, which blocks the Kamailio worker until the write operation is done.
New SIP packets can then get delayed (they remain in the UDP reception buffer) because no worker is available at a given moment.
I'm looking for a way to improve this, perhaps by handling CDR writing in an asynchronous fashion. I see there is a rabbitmq module in Kamailio, but it does not support async (if the notes are correct): https://www.kamailio.org/docs/modules/devel/modules/rabbitmq.html https://github.com/alanxz/rabbitmq-c/issues/370
So probably this won't help me...
If someone has suggestions on how I could achieve this, it would be most welcome :)
Simply using a faster disk could help but I'm worried this would not make the issue completely go away...
Regards, Nicolas.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.