mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-29 07:34:31 +00:00
Fix shared/ include paths to ../shared/ for 55 subdirectory papers so
that hanzocover.sty and lstlang.tex resolve when building from each
paper's own directory (the build pattern used by latexmk per paper).
Build fixes:
- hanzo-operative/sections/03-screen-understanding-pipeline.tex: move
\COMMENT from after \FOR{...} onto the \STATE line so the algorithmic
env doesn't mis-parse.
- hanzo-network-architecture (abstract + sections 04, 12, 13): escape
unicode mu (U+03BC) as $\mu$ for pdflatex.
- ntt-transform/sections/08-benchmark-results.tex: same mu escape.
All 55 Tier-2/3 papers now build clean with latexmk -pdf.
72 lines
2.2 KiB
TeX
72 lines
2.2 KiB
TeX
\documentclass[11pt,a4paper]{article}
|
|
\usepackage{../shared/hanzocover}
|
|
|
|
% Packages
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{amsmath,amssymb,amsthm}
|
|
\usepackage{graphicx}
|
|
\usepackage{hyperref}
|
|
\usepackage{algorithm}
|
|
\usepackage{algpseudocode}
|
|
\usepackage{booktabs}
|
|
\usepackage{listings}
|
|
\input{../shared/lstlang}
|
|
\usepackage{xcolor}
|
|
\usepackage[numbers]{natbib}
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{arrows,shapes,positioning,calc}
|
|
|
|
|
|
% Theorem environments
|
|
\newtheorem{theorem}{Theorem}[section]
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
|
\newtheorem{proposition}[theorem]{Proposition}
|
|
\newtheorem{definition}[theorem]{Definition}
|
|
\newtheorem{corollary}[theorem]{Corollary}
|
|
|
|
% Code listing style
|
|
\lstset{
|
|
basicstyle=\ttfamily\small,
|
|
keywordstyle=\color{blue},
|
|
commentstyle=\color{gray},
|
|
stringstyle=\color{red},
|
|
breaklines=true,
|
|
frame=single,
|
|
numbers=left,
|
|
numberstyle=\tiny\color{gray}
|
|
}
|
|
|
|
\title{\textbf{Event-Driven Commerce:\\A Webhook Architecture for Real-Time Integration}}
|
|
|
|
\author{
|
|
Zach Kelling\\
|
|
Hanzo Industries\\
|
|
\texttt{[email protected]}
|
|
}
|
|
|
|
\date{November 2019}
|
|
|
|
\begin{document}
|
|
|
|
\hanzocoverpage
|
|
|
|
\begin{abstract}
|
|
We present Hanzo Webhooks, an event-driven architecture for real-time commerce integration. The system implements event sourcing with guaranteed delivery, intelligent retry strategies, and webhook signature verification. Our architecture processes 2.3 million events daily with 99.7\% first-attempt delivery success and 99.99\% eventual delivery guarantee. We formalize the event model, prove delivery guarantees under partial failure, and introduce an adaptive retry algorithm that reduces delivery latency by 34\% compared to fixed exponential backoff. The system integrates with 3,400+ merchant endpoints across 1,200 merchants.
|
|
\end{abstract}
|
|
|
|
\input{sections/01-introduction}
|
|
\input{sections/02-event-sourcing-model}
|
|
\input{sections/03-webhook-subscription-model}
|
|
\input{sections/04-delivery-system}
|
|
\input{sections/05-retry-strategy}
|
|
\input{sections/06-security}
|
|
\input{sections/07-event-ordering}
|
|
\input{sections/08-implementation}
|
|
\input{sections/09-monitoring-and-observability}
|
|
\input{sections/10-evaluation}
|
|
\input{sections/11-related-work}
|
|
\input{sections/99-conclusion}
|
|
|
|
\end{document}
|