[Freeswitch-users] FS and MySQL
mgg at giagnocavo.net
Wed Nov 5 11:24:01 PST 2008
With mod_managed, you should get "near native" performance. (Depending on which platform, version of the runtime Win/Linux,32/64.) Mono 2.2 has some JIT improvements, MS CLR 3.5 SP1 does too.
The overhead is a few MB of RAM for the runtime, but that's mostly fixed. I.e., after you load and run your code once, it'll be calling native x86/64 code. You don't have much/any per-call overhead.
Compared to certain interpreted scripting languages, the difference can be 10-50x or more.
On the other hand, you need to actually have a performance goal in mind; I'd guess most bottlenecks in system performance are gonna be related to networking, transcoding, accessing the database, etc, and not the few lines that send a few commands to FreeSWITCH. For let's say you use F# and download some HTML and parse it, then read it back to the user. The parsing is probably going to be so fast that it your performance is totally dominated by the downloading of the HTML. So the fact that it takes, say, 1ms in F# versus 10ms in "other language" is probably not relevant.
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Helmut Kuper
Sent: Wednesday, November 05, 2008 9:10 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] FS and MySQL
-----BEGIN PGP SIGNED MESSAGE-----
what is the performance penalty for FS using one of those languages?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
More information about the FreeSWITCH-users