Hello Hector, just answering about the performance part of the question – the performance impact is for the large majority of deployments outside not noticeable (for Lua, Python). Lua is comparable to native script, python is a bit slower. But you should not need to worry about it until you are going into the +100.000s subscriber range. 😉 In most of the cases you will wait for IO (DB, DNS etc..) anyway.
There has been some presentation from Daniel on past Kamailio World editions about it, you find the details e.g. at https://www.kamailio.org/wiki/kemi/performance-tests/5.2.x and also the scripts to do some benchmarking by yourself. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com<https://gilawa.com/> From: sr-users <sr-users-boun...@lists.kamailio.org> On Behalf Of BenjamÃn Visón Sent: Wednesday, June 3, 2020 6:45 PM To: sr-users@lists.kamailio.org Cc: Hector Ventura Reyes <hectorv...@gmail.com> Subject: [SR-Users] Trouble loading multiple javascripts with KEMI I am using the module app_jsdt with KEMI and I am having trouble loading multiple javascript files. The interpreter only notices the last file that's loaded. What I am trying to do is separate my logic so that everything is not inside the kamailio.conf.js (or the main file the contains the necessary functions if you will). modparam("app_jsdt", "load", "/etc/kamailio/file1.js") modparam("app_jsdt", "load", "/etc/kamailio/file2.js") cfgengine "jsdt" In the example above, only functions in file2 are recognized. I am aware that I can use jsdt_run or jsdt_load but from KEMI I don't see a clear way to link this with things like events and timers or replies that don't necessarily go through the request_route. (As a plus, I am wondering on performance on Javascript vs Python/Lua and if it's viable on high load, if anyone can throw 2 cents on that it would be helpful!) Saludos, [cid:image001.png@01D639E1.502316B0] [cid:image002.png@01D639E1.502316B0] [cid:image003.png@01D639E1.502316B0] BenjamÃn Visón / IT Engineer / Software Developer bvis...@gmail.com<mailto:bvis...@gmail.com> / (829)-664-5163
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users