Performance Benchmarks

On this page, we collect performance benchmarks of Kieker monitoring and other instrumentation frameworks, such as OpenTelemetry and inspectIT, for comparison utilizing MooBench.

Details of the comparison of OpenTelemetry, inspectIT and Kieker can be found in https://oceanrep.geomar.de/id/eprint/55367/1/SSP2021overhead.pdf


Kieker Observability Framework – Java

These are the performance benchmark results for Kieker 4 Java probes utilizing different writer back end.

  • No instrumentation serves as a baseline value indicating how much execution time can be contributed to the benchmark program itself.
  • Deactivated probe as above, but with woven in probes that do not produce any output and do not aggregate information.
  • No logging are activated probes, but the collected data is not send utilizing a null writer.
  • Text File utilizes the text file logging. This is usually slow, as data is written in text files and getting more irrelevant in the performance benchmarks. The diagram below, therefore, does not show the results.
  • Binary File utilizes the binary file logging without compression.
  • Binary TCP utilizes a TCP connection to send the monitoring data to a logging service.
setup run mean ci sd 1.quartile median 3.quartile max min
No instrumentation current 0.073 0.000 0.055 0.072 0.072 0.073 105.517 0.068
No instrumentation past 0.073 0.000 0.296 0.072 0.072 0.073 880.862 0.068
Deactivated probe current 0.096 0.000 0.381 0.094 0.095 0.097 857.071 0.085
Deactivated probe past 0.096 0.000 0.070 0.094 0.095 0.096 123.325 0.085
No collection current 1.133 0.005 7.837 1.086 1.094 1.105 10535.440 1.047
No collection past 1.133 0.005 8.048 1.089 1.096 1.109 10342.493 1.053
Binary file current 3.584 0.003 4.754 1.809 3.161 4.230 3849.686 1.385
Binary file past 3.889 0.003 4.421 1.947 3.370 4.519 3794.605 1.373
Binary TCP current 3.162 0.005 7.978 2.125 3.002 3.596 7405.394 1.299
Binary TCP past 3.342 0.005 8.022 2.146 3.067 3.846 7850.545 1.292

Kieker Observability Framework – Python

Kieker 4 Python is the reimplementation of the probe and monitoring side of Kieker addressing programs written in Python. Here we also want to know how well certain parts perform.

  • No instrumentation is the baseline execution time of the benchmark program.
  • Deactivated probe is the execution time with integrated probes, but these are deactivated.
  • No logging is with active probes, but with a null writer.
  • Text File is with an activated probe logging to a text file.
  • Binary TCP is with an activated probe logging to a remote logging server.

Each of these setups, except of no instrumentation, are tested utilizing two different probe introduction methods (here labeled A and B).

setup run mean ci sd 1.quartile median 3.quartile max min
No instrumentation current 0.906 0.000 0.669 0.888 0.900 0.915 1418.235 0.844
No instrumentation past 0.901 0.000 0.292 0.885 0.896 0.910 467.752 0.843
Deactivated probe - A current 2.154 0.001 0.850 2.132 2.146 2.161 1418.103 2.061
Deactivated probe - A past 2.158 0.000 0.683 2.136 2.149 2.165 1425.207 2.067
Deactivated probe - B current 2.182 0.001 0.820 2.153 2.169 2.191 1419.327 2.083
Deactivated probe - B past 2.191 0.000 0.587 2.159 2.182 2.208 1275.468 2.085
No logging - A current 63.082 0.002 3.380 62.361 63.037 63.620 2174.725 59.291
No logging - A past 63.117 0.002 3.552 62.332 62.791 63.452 2270.559 60.189
No logging - B current 17.766 0.001 1.430 17.550 17.708 17.896 2066.338 17.107
No logging - B past 17.642 0.001 1.573 17.438 17.576 17.749 1976.263 16.901
Text file - A current 426.538 0.019 30.328 421.445 424.918 429.073 44506.880 406.126
Text file - A past 418.694 0.018 28.504 410.561 414.021 419.724 38349.448 397.660
Text file - B current 337.647 0.021 33.495 328.633 331.440 336.300 46739.390 319.220
Text file - B past 327.107 0.015 24.610 320.358 322.859 326.936 37210.566 311.646
Binary TCP - A current 219.236 0.006 9.209 212.860 217.936 224.587 2423.916 134.434
Binary TCP - A past 216.075 0.006 9.060 209.914 214.922 221.012 2301.446 135.100
Binary TCP - B current 151.880 0.008 12.749 141.767 151.424 161.801 2272.287 82.634
Binary TCP - B past 149.994 0.008 12.666 140.273 148.601 159.760 1795.180 81.848

OpenTelemetry

OpenTelemetry (https://opentelemetry.io/) is a widely used monitoring tool, compatible with many programming languages. MooBench measures the overhead of OpenTelemetry using the following configurations:

  • No instrumentation is the baseline execution time of the benchmark program.
  • No Logging measures the execution time of the benchmark program with OpenTelemetry instrumentation, but without measuring or
    logging anything.
  • Logging measures the execution time of the benchmark program with OpenTelemetry instrumentation and writing every output to the standard output. Text file logging is slow and getting more irrelevant in the performance benchmarks. The diagram below, therefore, does not show the results.
  • Zipkin measures the execution time of the benchmark program with obtaining every method invocation and sending them to a local Zipkin instance.
  • Prometheus measures the execution time of the benchmark program with obtaining only aggregated execution times, which are stored by a local Prometheus instance.
setup run mean ci sd 1.quartile median 3.quartile max min
No instrumentation current 0.073 0.000 0.063 0.072 0.072 0.073 109.727 0.068
No instrumentation past 0.073 0.000 0.091 0.072 0.072 0.073 195.613 0.068
No logging current 4.418 0.006 10.126 4.245 4.308 4.385 5489.321 4.035
No logging past 4.433 0.006 10.179 4.234 4.306 4.434 5335.511 4.037
Zipkin current 7.017 0.011 17.239 6.555 6.675 6.958 11777.500 6.284
Zipkin past 6.967 0.010 16.342 6.543 6.650 6.952 8447.483 6.328
Prometheus current 6.322 0.008 12.210 6.080 6.179 6.296 7826.284 5.938
Prometheus past 6.280 0.007 11.403 6.076 6.130 6.239 4902.909 5.910

InspectIT

InspectIT (https://www.inspectit.rocks/) is a widely used monitoring tool, which is allows to trace the execution of Java programs. MooBench
measures the overhead of InspectIT using the following configurations:

  • No instrumentation is the baseline execution time of the benchmark program.
  • Deactivated processing measures the execution time of the benchmark program with inspectIT instrumentation, but without measuring or logging
    anything.
  • No Logging measures the execution time of the benchmark program with inspectIT instrumentation and just discarding the measurement results.
  • Zipkin measures the execution time of the benchmark program with obtaining every method invocation and sending them to a local Zipkin instance.
  • Prometheus measures the execution time of the benchmark program with obtaining only aggregated execution times, which are stored by a local Prometheus instance.
setup run mean ci sd 1.quartile median 3.quartile max min
No instrumentation current 0.073 0.000 0.082 0.072 0.072 0.073 154.803 0.068
No instrumentation past 0.073 0.000 0.084 0.072 0.072 0.073 195.773 0.068
Deactivated probe current 2.033 0.014 22.664 2.196 2.420 2.487 13570.080 0.068
Deactivated probe past 2.258 0.015 23.538 2.100 2.477 2.530 15571.624 0.357
No logging current 12.524 0.009 14.653 11.626 12.387 12.638 6008.400 11.191
No logging past 10.698 0.009 14.409 11.372 11.868 12.351 7730.702 0.417
Zipkin current 10.841 0.013 20.271 11.374 11.519 12.046 8353.124 0.068
Zipkin past 10.127 0.013 20.306 8.484 11.457 11.898 10344.642 2.457
Prometheus current 4.394 0.012 19.811 5.026 5.271 5.478 14274.250 0.068
Prometheus past 4.322 0.012 19.669 2.092 5.289 5.534 14167.860 0.068