Skip to main content
Tian Pan

Tian Pan

Software Engineer

View all authors

·tian

When to Skip Real-Time LLM Inference: The Production Case for Async Batch Pipelines

Most LLM workloads are batch-compatible, but teams default to synchronous calls because that's what the API makes easy. Here's the break-even analysis and the feature categories where async beats streaming on cost and UX.

llm
production
architecture
cost-optimization
+1
·tian

Snapshot Tests Lie When Your Model Is Stochastic

Snapshot tests assume same input plus same code equals same output. Once an LLM call is in the loop, that contract breaks and the suite quietly turns into a rubber stamp. Here is the testing taxonomy that replaces it.

llm
testing
ai-engineering
evals
+1
·tian

The Tail-Tolerant Retry Policy Your LLM Gateway Doesn't Have

Microservice retry defaults applied to an 8-second LLM call inflate P99, burn tokens during provider incidents, and hide a customer-visible latency cliff that the gateway dashboard never shows.

llm
latency
gateway
reliability
·tian

Why Token Forecasts Drift After Launch — and How to Catch the Spike Before Finance Does

Pre-launch cost models assume a synthetic traffic mix. Post-launch reality shifts the moment the feature actually works. The bill is the worst possible detector — here's how to catch the drift in real time.

insider
llm-ops
finops
ai-engineering
+2
·tian

Tool Schema Design Is Your Blast Radius: When Function Definitions Become Security Boundaries

The tool registry stopped being documentation the moment your agent could call it. Why every parameter type is a security control, and how to design schemas that survive prompt injection.

ai-engineering
security
llm
agents
+1
·tian

The Two Clocks Problem: When Your Model Provider's Cadence Breaks Your Roadmap

AI providers ship capability jumps every quarter while product roadmaps run on six- to twelve-month horizons. The mismatch turns roadmaps into museum pieces — here's a planning structure that keeps up.

ai-product-management
roadmap
model-deprecation
product-strategy
+1
·tian

Why The Weekly Transcript Review Beats Your AI Dashboard

A weekly hour of reading production transcripts catches prompt drift, untaxonomized intent, and lazy phrasing your dashboard averages into invisibility. Here is how to run the meeting, who attends, how to sample, and the privacy discipline that makes it sustainable.

insider
ai-quality
evals
observability
+2
·tian

The Abandon Primitive: Why Your Agent Loop Needs a First-Class Way to Quit a Plan

Most agent harnesses ship continue, return, and retry — but no first-class way to throw out a doomed plan. The missing primitive turns wasted budget into pivots.

ai-agents
agent-architecture
llm
harness-engineering
+1
·tian

Agent IAM Is Not Service IAM: Why OAuth Breaks When Intent Is Constructed at Runtime

OAuth and IAM were designed for callers with stable intent. An agent's intent is composed at runtime from prompts, retrieved documents, and tool outputs — the IAM layer never sees most of the inputs that decide what gets called.

security
iam
agents
oauth
+1
·tian

Why Your AI Roadmap Shouldn't Have a 12-Month Plan

Frontier model capability turns over in 90 days. A 12-month feature roadmap commits you to obsolete bets. Replace it with a capability portfolio with explicit kill criteria.

insider
ai-strategy
product-management
roadmapping
+1
·tian

The Air-Gapped LLM Blueprint: What Egress-Free Deployments Actually Need

Cloud AI stacks treat outbound HTTPS as a free primitive. Pulling the cable forces every layer — model provenance, evals, fleet, telemetry — to grow primitives the cloud version quietly hides.

insider
ai
llm
security
+2
·tian

The Brownout Pattern: When Your LLM Provider Is Slow but Not Down

Provider availability is continuous, not binary. Your fallback chain handles the easy outage and misses the brownout that quietly drains user trust for hours.

reliability
llm-ops
agents
observability
Showing 961–972 of 2314 posts
Prev81 / 193Next