Hello,

for practical scenarios it does not really matter, if you use one of the modern 
KEMI variants (e.g. not mono, java, perl). Just pick one that you are familiar 
with and/or have already some substantial other source code in your 
infrastructure written for it.

You can of course try to answer the question empirically for an example 
scenario:

https://www.kamailio.org/w/2018/12/performance-tests-for-kemi-scripting-languages/

You can probably find more benchmark result by searching, there were also some 
talks a conference about it

Cheers,

Henning


-- 
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com

-----Original Message-----
From: Alex Balashov <abalas...@evaristesys.com> 
Sent: Sunday, December 18, 2022 1:57 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] Re: Which KEMI-language has the lowest runtime overhead?

That's a very complicated question. Much depends on the nature of the code 
you're running! 

A general principle is that compiled languages are faster to execute than 
interpreted ones, but it is common to front-load the interpreting process 
nowadays, i.e. JIT compilation. 

It's probably fair to say that the JVM has a higher memory footprint than some 
more economical runtimes, but a lot of that cost is reclaimed in performance.

This question touches on a rather expansive and broad theme in computer science 
and compiler innards. It's not easy to answer at all.

> On Dec 17, 2022, at 8:29 AM, Дилян Палаузов <dpa-kamai...@bapha.be> wrote:
> 
> Hello,
> 
> KEMI can be programmed in Java, JavaScript, Lua(sr), Squirrel, Mono, Perl, 
> Python(2,3,3s), Ruby.
> 
> Which language binding has the lowest runtime overhead in CPU-terms?  How 
> about lowest overhead in terms of RAM?
> 
> Kind regards
>  Дилян
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions To 
> unsubscribe send an email to sr-users-le...@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!
> Edit mailing list options or unsubscribe:

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send 
an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to