On Fri, 17 Jul 2009, Steve Totaro wrote:

> Just use FastAGI to hit a little process that queries a database and returns
> the extensions of the "most skilled"

If you need to keep the agent status in memory to avoid the database 
latency, FastAGI (since it connects to a daemon) make sense.

If you keep status in the database, the database latency will dwarf the 
load and execute time of an AGI written in a compiled real language like 
C.

In my informal benchmarking, a C AGI will load and execute in 1/xxx[x]'th 
of a second. Writing an AGI is easier than a FastAGI daemon.
-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to