[asterisk-users] Concurrent calls including mysql taking lot oftime for execution
Matt Riddell
lists at venturevoip.com
Wed Oct 21 15:58:26 CDT 2009
On 22/10/09 9:16 AM, Jeff LaCoursiere wrote:
>
> On Wed, 21 Oct 2009, Danny Nicholas wrote:
>
>> Not my cup of tea, but I think I'd be trying an ODBC connection to reduce
>> some overhead here.
>>
>>
>>
> [snip]
>
> Does that reduce overhead or add it? Seems that direct mysql-client code
> should be more efficient than adding ODBC in the middle...
Yep, ODBC would add overhead - you may want to look at using FastAGI and
keeping a MySQL connection open inside your script (i.e. connection
pooling).
--
Cheers,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
More information about the asterisk-users
mailing list