You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/05/03 19:54:42 UTC

logging-log4j2 git commit: LOG4J2-1179 performance page added graph & paragraph on service time vs response time

Repository: logging-log4j2
Updated Branches:
  refs/heads/master f342618a9 -> c5669e454


LOG4J2-1179 performance page added graph & paragraph on service time vs response time


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/c5669e45
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/c5669e45
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/c5669e45

Branch: refs/heads/master
Commit: c5669e45456003568e7c41a6d1c4631f103d123e
Parents: f342618
Author: rpopma <rp...@apache.org>
Authored: Wed May 4 02:55:04 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Wed May 4 02:55:04 2016 +0900

----------------------------------------------------------------------
 .../ResponseTimeVsServiceTimeAsyncLoggers.png      | Bin 0 -> 34779 bytes
 src/site/xdoc/performance.xml                      |   8 ++++++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c5669e45/src/site/resources/images/ResponseTimeVsServiceTimeAsyncLoggers.png
----------------------------------------------------------------------
diff --git a/src/site/resources/images/ResponseTimeVsServiceTimeAsyncLoggers.png b/src/site/resources/images/ResponseTimeVsServiceTimeAsyncLoggers.png
new file mode 100644
index 0000000..7aff300
Binary files /dev/null and b/src/site/resources/images/ResponseTimeVsServiceTimeAsyncLoggers.png differ

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/c5669e45/src/site/xdoc/performance.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/performance.xml b/src/site/xdoc/performance.xml
index f7087aa..16ac240 100644
--- a/src/site/xdoc/performance.xml
+++ b/src/site/xdoc/performance.xml
@@ -70,6 +70,14 @@
           <p>
             What is often measured and reported as <em>latency</em> is actually <em>service time</em>,
             which unfortunately hides the wait time.
+            The below graph shows response time and service time of the same system under a load of 100,000 messages
+            per second. Out of 25 million measurements, only ~50 are more than 200 microseconds, less than 0.001%.
+            In a service time-only graph this would hardly be visible.
+            However, the wait time adds up and the response time graph shows that in reality many more events are impacted
+            by these delays.
+          </p>
+          <p><img src="images/ResponseTimeVsServiceTimeAsyncLoggers.png" /></p>
+          <p>
             To learn more, watch Gil Tene's
             <a href="http://www.infoq.com/presentations/latency-response-time">How NOT to measure latency</a>
             (and prepare to be shocked).