I keep hearing that lua is lighter weight / more scalable than javascript.
I'd love to see some data that shows how big the difference really is. I
could port all my scripts from javascript to lua, but it would require a lot
of overhead (me learning lua + actually porting the scripts). I want to know
how much benefit there really is to that.

--Stephen

On Thu, May 14, 2009 at 10:01 AM, Brian West <br...@freeswitch.org> wrote:

> The script has a javascript interpreter allocated sitting there eating up
> ram for no reason... so to scale better its wise to exit the script and do
> your conference.
> Lua is lighter weight but still having the interpreter hang around when not
> needed isn't wise.
>
> /b
>
> On May 14, 2009, at 11:32 AM, Mike Fedyk wrote:
>
> Why is initiating a conference from a dial plan entry better than
> directly from an internal script?  Is there a page that details what
> is and isn't script abuse?
>
> On 5/5/09, Anthony Minessale <anthony.miness...@gmail.com> wrote:
>
> You should rule out the network problems first, which sound more likely.
>
>
> you can reduce the overuse of JS if you transfer the call to a regular
>
> extension with a dynamic regex.
>
>
> session.execute("transfer", "conf-xyz");
>
>
> then make a regex in your xml dialplan to pick up ^conf-(.*) and execute
>
> conference $1
>
>
> Brian West
> br...@freeswitch.org
>
> -- Meet us at ClueCon!  http://www.cluecon.com
>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to