[ 
https://issues.apache.org/jira/browse/FELIX-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J.W. Janssen updated FELIX-3623:
--------------------------------

    Attachment: lock-granularity.patch

Attached a patch that will fix the lock contention and improves the performance 
by flushing multiple entries to all interested listeners.
                
> LogService lock contention under heavy load
> -------------------------------------------
>
>                 Key: FELIX-3623
>                 URL: https://issues.apache.org/jira/browse/FELIX-3623
>             Project: Felix
>          Issue Type: Bug
>          Components: Log Service
>    Affects Versions: log-1.0.1
>            Reporter: J.W. Janssen
>         Attachments: lock-granularity.patch
>
>
> Under heavy load, the LogService has severe lock contention in its 
> LogListenerThread due to too coarse locks on m_entriesToDeliver and 
> m_listeners. Also due to the 'single delivery' strategy, the performance of 
> this service isn't that well under heavy load, it would be better to flush 
> all available entries to all listeners in a single shot...

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

        

Reply via email to