Files

59 lines
1.3 KiB
TeX

\section{Evaluation}
\subsection{Performance Benchmarks}
\begin{table}[h]
\centering
\caption{Gateway Performance}
\begin{tabular}{lcccc}
\toprule
\textbf{Metric} & \textbf{P50} & \textbf{P95} & \textbf{P99} & \textbf{Max} \\
\midrule
REST Latency & 8ms & 15ms & 23ms & 89ms \\
GraphQL Latency & 12ms & 28ms & 45ms & 156ms \\
Rate Limit Check & 0.3ms & 0.8ms & 1.2ms & 3ms \\
Cache Lookup & 0.5ms & 1.1ms & 2.0ms & 8ms \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Throughput}
Peak sustained throughput: 180,000 requests/second
\begin{table}[h]
\centering
\caption{Throughput by Request Type}
\begin{tabular}{lc}
\toprule
\textbf{Request Type} & \textbf{Throughput (req/s)} \\
\midrule
REST GET (cached) & 85,000 \\
REST GET (uncached) & 42,000 \\
REST POST/PUT & 28,000 \\
GraphQL Query & 18,000 \\
GraphQL Mutation & 7,000 \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Cache Performance}
\begin{itemize}
\item Overall cache hit rate: 94\%
\item Product data hit rate: 97\%
\item Order data hit rate: 23\% (low due to high write frequency)
\item Average cache entry TTL: 5 minutes
\end{itemize}
\subsection{Availability}
Over 18-month production period:
\begin{itemize}
\item Uptime: 99.99\%
\item Total downtime: 52 minutes
\item Incidents: 3 (all resolved within 20 minutes)
\end{itemize}