[
https://issues.apache.org/jira/browse/CASSANDRA-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720737#action_12720737
]
Jonathan Ellis commented on CASSANDRA-174:
------------------------------------------
Thinking about it some more, I think our rule of thumb should be to only add
this boilerplate to debug lines that are going to add overhead on the
read/write path. No sense in cluttering things up with the extra If when it
only executes once in a blue moon.
I'll apply the patch with that change.
> reduce logging overhead
> -----------------------
>
> Key: CASSANDRA-174
> URL: https://issues.apache.org/jira/browse/CASSANDRA-174
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jonathan Ellis
> Priority: Critical
> Fix For: 0.4
>
> Attachments: 0001-Cleaned-up-logger_.debug-with-isDebugEnabled.patch
>
>
> Logging overhead dominates workload for small column values. This can be
> mitigated by switching to INFO but you still have the overhead of throwing
> all those strings together. Some ideas here:
> http://surguy.net/articles/removing-log-messages.xml
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.