~/talk

Scaling LLMs with Go: Prod Patterns for Handling Millions of AI Requests

Talkat GopherCon 2025 · 2025-08-26..08-28· [go, large-language-models]
name:John Wang
links:none on file
slides:none on file

Assembled handles about 450M requests/year (≈2 trillion tokens, peaks ~150 req/s) and uses Go for low-latency, concurrent LLM services. Requests are fallback by category so summaries hit fast cheap models while reasoning tasks route to stronger models with timeouts and per-call fallbacks. Runtime runs three parallel goroutines for escalation detection, adversarial checks and RAG retrieval, held by a goroutine gate that discards unsafe outputs; same pattern extends to voice with streaming, filler messages and a unified channel interface.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28450M LM requests per year in Go
  3. 3:15Reliability with model fallbacks
  4. 6:07Real-time safety guardrails
  5. 12:11Latency and unified interface
  6. 20:29Go over Python for AI
  7. 21:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.