[Freeswitch-dev] ODBC pooling
Peter Olsson
peter.olsson at visionutveckling.se
Sun Mar 11 10:45:26 MSK 2012
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 at lists.freeswitch.org [freeswitch-dev-bounces at lists.freeswitch.org] för Erjan Tylepov [e.tylepov at btcom.kz]
Skickat: den 11 mars 2012 07:39
Till: freeswitch-dev at 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 at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev at 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!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list