[asterisk-bugs] [JIRA] (ASTERISK-22488) CDR performance bottleneck

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Sep 12 18:59:04 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210219#comment-210219 ] 

Matt Jordan commented on ASTERISK-22488:
----------------------------------------

Creating the candidates from the channels in the bridge could certainly be done more efficiently.

This really needs a two pass look-up: One to get the channels that are in the bridge, the next to get their CDRs from the existing container. That really should prevent the O(n) iteration that occurs currently.
                
> CDR performance bottleneck
> --------------------------
>
>                 Key: ASTERISK-22488
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22488
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: SVN
>            Reporter: Richard Mudgett
>
> Repeatedly doing a local channel chain of 300 eventually causes the system to be bogged down doing CDR processing.
> It would appear that create_candidates_for_bridge() needs to be improved since the number of buckets in the the active_cdrs_by_channel container was increased.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list