Skip to content

Commit

Permalink
Add demo cpu and memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ahornace committed Jul 19, 2018
1 parent 090d92f commit 315f64c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Binary file added img/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions text/chap05.tex
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,27 @@ \subsection{Disk Usage}
\label{comp_suggester_size_demo}
\end{figure}

\subsection{Impact on CPU and Memory Usage}
Impact on the CPU and memory usage along with the number of HTTP hits can be seen in the Figure \ref{demo}.
In the figure there are multiple colored areas which signify:
\begin{itemize}
\item The \textbf{red} area signifies the period during which the suggester functionality was enabled.
\item The \textbf{purple} area signifies a peak that occurred because the timeout functionality has not been
implemented yet and multiple users were writing the worst possible queries.
\item The \textbf{green} areas signify the minimum values.
\item The \textbf{blue} areas signify the maximum values.
\end{itemize}
It can be noted that the number of HTTP hits stayed roughly the same. There was not much traffic
on the demo instance so the results might not be as accurate as would be desired. The memory usage did not change very much.
However, it can be seen that the CPU usage maximum values increased.

\begin{figure}[htbp]
\centering
\includegraphics[width=145mm]{../img/demo.png}
\caption{CPU usage, used memory, and HTTP hits metrics provided by JavaMelody during a month time period}
\label{demo}
\end{figure}

\section{Load Testing}
Apache JMeter\footnote{\url{https://jmeter.apache.org}} was used for load testing.
The testing was performed on the same machine as described in Attachment \ref{benchmark_attachment}.
Expand Down

0 comments on commit 315f64c

Please sign in to comment.