Inference engineering, in depth
The Serving Stack explains how AI models are served, from the engineer's side: what happens between a request and its tokens, what each stage costs, and what to do about it. Every mechanism is drawn or simulated, then checked on real hardware.
How it is made
For most of my career I built and ran software: backend systems first, then teams, as a CTO and later as Head of Engineering, where the work became mostly infrastructure.
Models arrived the way they did for many teams, as features the product needed, and someone had to run them. That job grew until it became my full-time work. I write The Serving Stack to explain what happens between a model's weights and the tokens it returns, so that when serving a model gets hard, you know where to look.
Who writes it
I came to inference the long way round. My career started in backend development and went on through a decade of consulting, from the web to the cloud and then to data. I then went through different leadership roles, as CTO and as engineering manager for a large content-moderation platform, before spending three years as Head of Engineering and AI/ML at a small software company, where much of my focus went to DevOps, reliability and infrastructure.
Inference started there, as an infrastructure problem. The product needed AI features, the models needed somewhere to run, and running things was my job, so GPU nodes went onto our Kubernetes clusters. Each step pulled me further in: the features first, then retrieval and chatbots, with embedding models, rerankers and guardrails around the LLM, and finally the engines themselves, llama.cpp to get started and vLLM when it had to scale. What began as plumbing slowly became the part of the job I liked most. At some point I bought hardware to keep exploring at home, which says a lot about where my curiosity was going.
Today I work full time on AI inference and agentic systems. Nothing from the Kubernetes and SRE years is lost: serving models at scale builds directly on them. The field moves faster than anyone can follow, and I have accepted that I will never master all of it. Strangely, that is what keeps me going. This site is the notebook I wanted when I started: how the models, the engines and the GPUs actually work, written down as I take them apart.