[asterisk-dev] "Asterisk cmd MYSQL" app_addon_sql_mysql /performance ?

Julien Chavanton jc at atlastelecom.com
Tue May 5 09:52:10 CDT 2009


I was not sure about anything, your answer is very helpfull, much appreciated
 

________________________________

From: asterisk-dev-bounces at lists.digium.com on behalf of Tilghman Lesher
Sent: Tue 05/05/2009 3:53 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] "Asterisk cmd MYSQL" app_addon_sql_mysql /performance ?



On Tuesday 05 May 2009 08:58:28 Julien Chavanton wrote:
> I was looking for a (http socket module / mysql module) not using
> AGI(perl/php/shell) for asterisk in order to do intensive database / web
> server interactions as needed without performance to much overhead.
>
> Is there a real benefit in using : "Asterisk cmd MYSQL" app_addon_sql_mysql
> , I see it require perl DBD so it is not using Mysql C API, then there must
> be an instance of the perl interpreter for every query ?

You are quite mistaken.  The MYSQL app addon uses native MySQL calls, not
Perl.  However, we recommend that you use func_odbc, both because it supports
multiple databases as well as because its usage won't cause resource leaks
(the usage of the MYSQL app addon may cause resource leaks, if you aren't
careful).  If you want an HTTP socket module, please see func_curl.

--
Tilghman

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

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090505/fa1a1719/attachment.htm 


More information about the asterisk-dev mailing list