[OpenSIPS-Users] Mi_datagram perfomance.

Răzvan Crainea razvan at opensips.org
Wed Dec 21 04:02:56 EST 2016

Hi, Kirill!

If you want to get info from OpenSIPS remotely, you have two choices:
1. mi_xmlrpc - this goes over TCP and delivers information in XML 
format. There are a couple of libraries that implement this protocol, so 
it should be pretty easy to develop a connector.
2. mi_datagram - this goes over UDP and it is more lightweight. The 
payload is a bit smaller (because there is no xml tags overhead), but it 
is a bit harder to parse.

In terms of performance, the impact on OpenSIPS is not that huge (unless 
you are doing >1000 queries per second).

Hope this helps,
Best regards,

Răzvan Crainea
OpenSIPS Solutions

On 12/21/2016 10:36 AM, Kirill Galinurov wrote:
> Hello all. we want to get some statistic from our opensips. We want to 
> use http://www.opensips.org/html/docs/modules/2.2.x/mi_datagram.html 
> module to send some fifo commands like ul_show, reg_list, dlg_lists 
> and others. What is the right way to get statistics from opensips in 
> realtime. Are there any performance issues in mi_datagram module?
> I see that mi_datagram module used for visualizing OpenSIPS performance in
> https://www.youtube.com/watch?v=kfa6NuW7vgk presentation on last 
> opensips summit.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161221/8a4ca038/attachment.html>

More information about the Users mailing list