[Asterisk-Users] Fast AGI Options. Eeeek!

Script Head scripthead at gmail.com
Wed Jan 25 20:31:40 MST 2006


On 1/25/06, Sig Lange <sig.lange at gmail.com> wrote:
>
> On 1/25/06, Douglas Garstang <dgarstang at oneeighty.com> wrote:
> >
> > Some questions regarding calling Fast AGI from the dial plan.
> >
> > Considering that the server side of the Fast AGI has to be able to a)
> > use threading and b) connect to MySQL, this causes some serious limitations.
> > I'm not a C programmer, so development options are either perl or python.
>
>
> In ref to using perl, You can't connect to the database for each thread?
>

you would have to connect to the database from each thread, i strongly
suggest you use something like sqlproxy (for mysql) or pgpool for postgres
and actually have a thread close the connection once it's done, otherwise
you're going to have a very large number of idle connections to the
database.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060125/1a7aafc2/attachment.htm


More information about the asterisk-users mailing list