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