I am the OP. I actually have a solution running now, using JSON-RPC as the connector between Kamailio and the Java EE business logic. I am looking for an alternate solution to resolve the limitations with the RPC mechanism. Performance is not an issue at all. In-fact performance is barely a consideration for this application -- busy hour traffic is around 5 transactions per second, with the majority of the transactions being SIP MESSAGE request/response.
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Alex Balashov Sent: November-24-12 3:01 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio-Java Integration
On 11/24/2012 05:56 PM, Jeremy Ardley wrote:
A problem with Java is garbage collection. Every now and then the application slows down. This is not good for real-time applications requiring millisecond precision.
While SIP requires sub-second precision, it does not require millisecond precision. :-)
In any case, garbage collection is definitely a problem, but there are ways of optimising the JVM's GC behaviour to be more or less favourable to the task.
There are plenty of other problems with Java as well - startup is usually very slow. Applications are almost always bloated. And the Java programming culture of 'throw more iron at it' inevitably produces yet more bloat.
That is definitely true, though one might argue that this is a cultural problem rather than an innate Java problem.
In any case, I am not a Java programmer and am not defending Java, so please don't misconstrue my stance. I'm just saying that it might not be _wholly_ unsuitable to the task.
I do not think, and have never thought, that Java is an ideal language in which to implement SIP call processing.
-- Alex
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users