[Freeswitch-dev] ODBC pooling
Hi all, Do I correctly understand, that mod_nibblebill (as of Feb 17 commit: b05ca56adf2dd8f9b0bbf114827de98aec8313ae) have a bottle neck with db connections? I.e. when there will be a number of calls bill_event and get_balance functions will hangup until after all the threads, executing the functions, will do their jobs with db or, even worse, negatively influence each other? Is this sequence is a right one in the aforesaid functions: switch_odbc_handle_new switch_odbc_handle_connect switch_odbc_handle_exec (in bill_event) switch_odbc_statement_handle_free (in bill_event) switch_odbc_handle_callback_exec (in get_balance) switch_odbc_handle_disconnect? If yes, where can I set pool size? Regards, YT.
I'm not sure what you mean, and the commit you're describing has nothing to do with mod_nibblebill - and it wasn't even commited on Feb 17..? Please describe the problem you're seeing, and why you think ODBC pooling is a bottle neck.. /Peter ________________________________________ Från: freeswitch-dev-bounces@lists.freeswitch.org [freeswitch-dev-bounces@lists.freeswitch.org] för Erjan Tylepov [e.tylepov@btcom.kz] Skickat: den 11 mars 2012 07:39 Till: freeswitch-dev@lists.freeswitch.org Ämne: [Freeswitch-dev] ODBC pooling Hi all, Do I correctly understand, that mod_nibblebill (as of Feb 17 commit: b05ca56adf2dd8f9b0bbf114827de98aec8313ae) have a bottle neck with db connections? I.e. when there will be a number of calls bill_event and get_balance functions will hangup until after all the threads, executing the functions, will do their jobs with db or, even worse, negatively influence each other? Is this sequence is a right one in the aforesaid functions: switch_odbc_handle_new switch_odbc_handle_connect switch_odbc_handle_exec (in bill_event) switch_odbc_statement_handle_free (in bill_event) switch_odbc_handle_callback_exec (in get_balance) switch_odbc_handle_disconnect? If yes, where can I set pool size? Regards, YT. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:4f5c46ee32761685258691!
participants (2)
-
Erjan Tylepov
-
Peter Olsson