[Freeswitch-users] help with mod_conference stability

Stephen Crosby stevecrozz at gmail.com
Thu May 14 10:24:35 PDT 2009


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 <brian at 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.minessale at 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
> brian at freeswitch.org
>
> -- Meet us at ClueCon!  http://www.cluecon.com
>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090514/56c4cec4/attachment-0002.html 


More information about the FreeSWITCH-users mailing list