[asterisk-users] AGI asterisk high balance
Martin Smith
martins at bebr.ufl.edu
Mon May 5 07:54:37 CDT 2008
Hello folks,
Someone just asked the same question on our Asterisk-Java users mailing
list. I posted a small blog entry at http://asterisk-java.org/ about
doing AGI (FastAGI) in a JBoss MBean. I think no matter what language,
it is going to be better to do FastAGI than spawn a new process every
time -- in which case a Java daemon may even be able to outperform more
traditional languages as it optimizes at runtime :).
Cheers,
Martin Smith, Systems Developer
martins at bebr.ufl.edu
Bureau of Economic and Business Research
University of Florida
(352) 392-0171 Ext. 221
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
chetherston miles
Sent: Sunday, May 04, 2008 4:22 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] AGI asterisk high balance
Hey Matt,
What make me choice, or thinking in choose JAVA-AGI so far i
know there is a way of using with a container (jboss or something like
that) so the requests come as an servlet request.
Someone had this kind of env?
Thanks
On 5/3/08, Matt Watson <mwatson at becon.org> wrote:
There is really no reason why you cannot.
Personally... I'd avoid using Java for AGI's that you
think are going to receive heavy use... simply because the JVM adds a
lot of overhead, and possibly a very real performance impact from having
the load the JVM everytime. Of course there is overhead as well if you
do PHP instead, as the PHP interpreter has to load everytime... but
that's probably pretty light-weight in comparison to the JVM.
Of course you could compile your Java code to native
binaries to work around that problem, but I have no experience doing
that.
Please keep in mind that I have not actually created or
used any Java AGI's... really just my thoughts without any experience.
--
Matt
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
chetherston miles
Sent: Saturday, May 03, 2008 6:30 PM
To: Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: [asterisk-users] AGI asterisk high balance
Hello,
Is there a problem to use AGI JAVA to write an AGI to
billing calls and customer accounts?
Anyone have experience with it could give me some tips?
Thanks,
_______________________________________________
-- Bandwidth and Colocation Provided by
http://www.api-digital.com <http://www.api-digital.com/> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080505/98c6fe77/attachment.htm
More information about the asterisk-users
mailing list