I was wondering if anyone has used php caching (eg. apc) with freepbx as a way to speed things up. For example, everytime res_agi runs, a fresh php interpretter is started to run the module, and I suspect that using apc should speed this up.
. agi must be able to run any executable, so that modules can be run in
whatever approach is beat for them.
. In practice a lot of modules will then be written in php as that world
will for many of them.
So my question was whatever using a form of php caching to speed things
up was appropriate, such as APC.
In the absence of any hints on this out there, I installed APC to see.
The admin web pages are significantly faster (down from 5-10 seconds to
1-2). I have yet to do the analysis on phone calls.
Given this level of improvement, I’m wondering why this module isn’t a
standard part of the raspbx distro.
However, I’m also wondering why it isn’t at least suggested ass a standard part of freepbx generally as I would assume that anyone who uses freepbx would benefit from it!