[ 
https://issues.apache.org/jira/browse/AURORA-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15692614#comment-15692614
 ] 

Stephan Erb commented on AURORA-1825:
-------------------------------------

Cool! In addition:

* 
http://blog.takipi.com/how-to-instantly-improve-your-java-logging-with-7-logback-tweaks/
 indicates that we can use {{%logger}} as a much cheaper replacement for the 
class/line reflection.
* Switching from STDERR to STDOUT could probably also yield a small performance 
improvement. The first one is unbuffered, the second one is buffered.


> Enable async logging by default
> -------------------------------
>
>                 Key: AURORA-1825
>                 URL: https://issues.apache.org/jira/browse/AURORA-1825
>             Project: Aurora
>          Issue Type: Task
>            Reporter: Zameer Manji
>            Assignee: Jing Chen
>            Priority: Minor
>
> Based on my experience while working on AURORA-1823 and [~StephanErb]'s work 
> on logging recently, I think it would be best if we enabled async logging.
> For example if one attempts to parallelize the work inside 
> {{StateManagerImpl}} there isn't much benefit because all of the state 
> transitions are logged and all of the threads would contend for the lock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to