[SR-Users] Kamailio-Java Integration
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Sat Nov 24 23:57:48 CET 2012
I don't want to start language holy war, but I can't accept a programming
language which has operator "new", but doesn't provide operator "delete".
Garbage collection? Yes, it runs from time to time. Usually at the worst
moments of time when precious CPU cycles are vital to run actual business
logic code.
On Saturday 24 November 2012 17:49:09 Alex Balashov wrote:
> On 11/24/2012 05:41 PM, Sergey Okhapkin wrote:
> > Slow Java coupled with real-time SIP protocol? Hmm... Not viable to
> > my point of view.
>
> Despite the stereotype, Java actually performs quite well, and is used
> in highly concurrent, real-time environments like telephony extensively.
> I think the stereotype about slow interpreted languages belongs to the
> first era of Java (1996-2000(?)), back when it had green threads and so on.
>
> Having said that, it is true that the JVM consumes a lot of resources
> just to run at all, and that the bureaucratic fashions of Java are
> chiefly an affectation of the enterprise world. However, once it spools
> up and gets going, Java is quite fast, and adequate for SIP. It has
> posted comparable benchmarks to C for many scientific computing
> applications for years now.
>
> Initially, I was as surprised by this as you are.
>
> -- Alex
More information about the sr-users
mailing list