I don't get the whole concept of FastAGI. It's nothing special. Asterisk just opens a connection to a TCP port instead of executing a binary.
-----Original Message----- From: Mike Fedyk [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 4:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Re: Nested MySQL Commands Tony Mountifield wrote: >In article <[EMAIL PROTECTED]>, >Douglas Garstang <[EMAIL PROTECTED]> wrote: > > >>Peter, >> >>Too slow! We're going to potentially be doing several MySQL lookups for >>routing even the >>most basic of calls, and if every one of those queries has to make a call out >>to an AGI >>script, it would become a performance problem. >> >> > >AGI is only slow if you're calling it repeatedly and implementing it in >a scripting language that needs a big interpreter. > >I have had great success writing AGIs in C and interfacing to MySQL >from within them. They end up nice and small and fast. A single AGI >invocation does all the database transactions necessary to decide >on the disposition of the call, and then jumps to the appropriate >extension and priority in the dialplan. > And if you like writing your AGIs in interpreted languages, there is always FastAGI. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
