[Freeswitch-users] FS and MySQL

Helmut Kuper helmut.kuper at ewetel.de
Thu Nov 6 01:04:52 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,


I tried to compile mod_managed on centos 5.2/32bit, mono 1.2.4 and
mono-devel files. I get this error:

making all mod_managed
Loader.cs(63,58): error CS1026: Expecting ')'
Loader.cs(63,67): error CS1002: Expecting `;'
Loader.cs(69,14): error CS1518: Expected `class', `delegate', `enum',
`interface', or `struct'
Loader.cs(81,28): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(105,41): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(106,51): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(107,37): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(108,46): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(111,28): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(114,38): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(120,21): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(152,27): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(171,28): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(189,21): error CS0116: A namespace can only contain types and
namespace declarations
Loader.cs(201,45): error CS1031: Type expected
Demo.cs(48,46): error CS1026: Expecting ')'
Demo.cs(48,51): error CS1002: Expecting `;'
Demo.cs(51,14): error CS1518: Expected `class', `delegate', `enum',
`interface', or `struct'
Demo.cs(58,14): error CS0116: A namespace can only contain types and
namespace declarations
Compilation failed: 19 error(s), 0 warnings
make[5]: *** [mod_managed_lib.dll] Fehler 1
make[4]: *** [local_depend] Fehler 2
make[3]: *** [all] Fehler 1
make[2]: *** [mod_managed-all] Fehler 1
make[1]: *** [mod_managed] Fehler 2
make: *** [mod_managed] Fehler 2


regards
Helmut


Michael Giagnocavo schrieb:
> 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.
> 
> -Michael
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkSszQACgkQ4tZeNddg3dxXUgCeNoIY871Yuk7xB/TX1DqCs+qB
JtcAoLxN7OwVUGTXjIu50v0zQIFLzsOF
=yiBA
-----END PGP SIGNATURE-----




More information about the FreeSWITCH-users mailing list