[asterisk-dev] Asterisk modules in C++
Steve Edwards
asterisk.org at sedwards.com
Sun May 9 10:39:54 CDT 2010
On Sun, 9 May 2010, Deepesh D wrote:
> Performance is the main reason for switching from AGI to module. Will a
> FastAGI running on the same server as asterisk give me improved
> performance?
Yes.
If your AGI, FastAGI, or module are all written in c[++], the code that
implements your logic will execute at the same speed.
If implementing your code as a module allows you to access internal
Asterisk data or code more efficiently, it may improve performance. But
implementing a module will be far more expensive (in $$$) over the life of
the project.
While creating a new process is typically a very "expensive" (in CPU
resources) process, any reasonably modern processor can create hundreds of
processes per second.
Before switching to FastAGI, why do you think process creation is the
limiting factor in your quest for improved performance?
How about some details about exactly what you are doing and what your AGIs
are doing?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-dev
mailing list