[SR-Users] event_route[core:msg-received] native vs kemi/lua

GG GG ggcoding at gmail.com
Tue Nov 12 17:36:06 CET 2019


Hi!

I just made a simple test performance between native script and kemi/lua
with the event_route[core:msg-received] callback.

# lua script children=1 cpu.process=100%
function ksr_core_received()
  exit;
end

# native script children=1 cpu.process=70%
event_route[core:msg-received] {
  exit;
}

# tested with udp 5060, 1000 Mbits/sec
iperf -c 127.0.0.1 -p 5060 -u -b1000m

I don't know if it's normal and what we should expect from kemi, but I
would like to share this with you. Maybe someone could confirm the
performance difference.

Have a good day !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191112/aeefed3b/attachment.html>


More information about the sr-users mailing list