On 10/24/10 9:17 PM, Alex Balashov wrote:
On 10/24/2010 03:16 PM, Daniel-Constantin Mierla wrote:
If you use the perl module, then the perl interpreter is embedded, nothing is spawn. Same is with app_lua module and Lua scripts - execution should be very fast.
If you invoke other applications via exec() (exec module) then is spawning.
I did not mean the invocation of the interpreter; I just meant that there is always overhead when data interchange to an outside process is involved.
what do you mean by outside process?
For example, with app_lua, the interpreter is linked to the code, so is no external process, it is like cfg interpreter, just that it resides in a module, not in core.
Cheers. Daniel
On the other hand, it gives you the ability to use the full capabilities of Perl, of course, instead of being limited to Kamailio script.