mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-22 17:20:17 +00:00
24 lines
593 B
TeX
24 lines
593 B
TeX
\section{Implementation}
|
|
|
|
|
|
\subsection{Technology Stack}
|
|
|
|
\begin{itemize}
|
|
\item \textbf{Gateway}: Go with net/http
|
|
\item \textbf{GraphQL}: gqlgen for schema-first development
|
|
\item \textbf{Cache}: Redis Cluster
|
|
\item \textbf{Load Balancing}: HAProxy with consistent hashing
|
|
\item \textbf{Observability}: Prometheus, Jaeger, structured logging
|
|
\end{itemize}
|
|
|
|
\subsection{Horizontal Scaling}
|
|
|
|
Gateway instances are stateless and horizontally scalable:
|
|
|
|
\begin{equation}
|
|
throughput = n \times throughput_{single}
|
|
\end{equation}
|
|
|
|
where $n$ is the number of gateway instances.
|
|
|