Engineering brief
Napkin Math Exposes the Real Cost of AI Infrastructure
This engineering brief covers Napkin Math Exposes the Real Cost of AI Infrastructure, with practical context for AI and developer-tool decisions.
The Brief
Simon Ericson's napkin math at Shopify exposed misleading database benchmarks. His startup Turbopuffer uses S3 caching to cut vector search costs by 100x, proving first-principles analysis reveals massive infrastructure savings.
Decision relevance
Read this for workflow impact, implementation trade-offs, and the claims that need technical scrutiny before they reach team planning.
Summary
Simon Ericson’s "napkin math" approach—calculating theoretical hardware limits—exposed that many database benchmarks are misleading. At Shopify, he used it to challenge infrastructure decisions, leading to tools like Toxyroxy for failure testing. The lesson: engineering leaders should demand first-principles cost and performance estimates before adopting tools.
After leaving Shopify, Ericson applied napkin math to vector search, realizing S3’s durability could slash costs if latency could be managed. His prototype used simple clustering and Nginx caching, offering $1 per million vectors—undercutting incumbents by 100x. This forced rethinking where AI infrastructure spend goes: from expensive managed services to commodity storage.
Cursor, desperate to fix unit economics, became the first customer after Ericson personally debugged their Postgres issues. The 95% cost reduction proved that reliability and simplicity can win over feature-heavy competitors. The risk: betting on a one-person startup paid off, but only because of deep technical trust built through hands-on help.
Now, Turbopuffer faces new constraints: CPU and NVMe shortages as RL and agent workloads explode. Ericson’s CPU-centric architecture benefits from broad SKU compatibility, but the fight for compute is real. The strategic takeaway: infrastructure bets must account for shifting resource scarcity, not just current pricing.
Why It Matters
Napkin math reveals 100x cost mismatches in vector search; simplicity and first-principles thinking can beat vendor hype for engineering leaders.
Editorial analysis
Key claims
- First-principles cost analysis trumps benchmarks; S3-based architectures can slash AI infrastructure spend dramatically.
Practical use cases
- Use this as input for tooling evaluation, workflow planning, and technical due diligence.
Risks / caveats
- The vape joke and personal backstory; focus on napkin math and infrastructure cost lessons.
Who should care
- Engineering managers, tech leads, and CTOs evaluating AI or developer tooling decisions.
Related topics
Bottom Line
First-principles cost analysis trumps benchmarks; S3-based architectures can slash AI infrastructure spend dramatically.
Watch
This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.
Related breakdowns
Better data is the cheapest compute multiplier you're ignoring
Compute scarcity is real, but data quality is the overlooked multiplier. DatologyAI shows 100x training efficiency gains through smart curation. Engineering…
The Real Scaling Problem for AI Delivery Isn’t Autonomy—It’s Operations
DoorDash’s AI ordering boosts discovery, but their in-house delivery robot reveals hidden ops challenges. Plus, a 20x AI spend spike that forced ROI discipline.
Kernel Ignorance Is a Cloud-Native Liability
Your Kubernetes security is only as strong as your kernel knowledge, and most teams lack it. GPU repurposing for AI creates multi-tenancy dangers.
Get TL;DW
Too Long; Didn't Watch.
A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.
Free. Weekly. No hype.
Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.