Blog

Notes from building production AI.

Long-form write-ups on RAG, agents, backend, cloud and DevOps, with real numbers and diagrams.

· 6 min read

Build a multi-tenant SaaS on AWS · Lesson 1 of 5

A Multi-Tenant SaaS Starter on AWS: What's in It and Who It's For

What a multi-tenant SaaS starter on AWS includes, how it fits together, who it's for and what it can't claim yet.

Read

· 6 min read

Build a multi-tenant SaaS on AWS · Lesson 2 of 5

From Clone to a Running Stack: Deploying the SaaS Template on AWS

Deploying a fresh copy of the template to an empty AWS account: the exact steps, what broke, and what the test didn't cover.

Read

· 6 min read

Build a multi-tenant SaaS on AWS · Lesson 3 of 5

How Multi-Tenancy Works in a Serverless SaaS on AWS

How the template keeps customers apart in shared tables: choosing a model, the login token and tenant keys.

Read

· 6 min read

Build a multi-tenant SaaS on AWS · Lesson 4 of 5

Build Your First Module: Copy, Change and Connect with Events

Copying the orders sample into a new module, adding a feature, and connecting modules with events.

Read

· 6 min read

Build a multi-tenant SaaS on AWS · Lesson 5 of 5

Add Your Own AI Agent to a Multi-Tenant SaaS

Adding an agent as a Markdown file, giving it a tool, and keeping it safe.

Read

· 10 min read

Designing ChatGPT for 800M Users — on One Primary Database

A system design walkthrough in 17 diagrams: scoping, capacity, architecture, the read/write split that keeps OpenAI on a single unsharded Postgres primary, and where the $58.6M monthly bill actually goes.

Read

· 8 min read

Claude Code Deep Dive: Skills, Agents, MCP Tools — What They Are and How to Build Them

A practical guide to Claude Code components — MCP Tools, Skills, and Agents. Learn what each does, how to build them, and the critical access rules sub-agents follow.

Read

· 7 min read

Python Async vs Sync: 6 Benchmarks That Will Change How You Think About Concurrency

Async Python is not always faster. We ran 6 real benchmarks comparing async vs sync — I/O, CPU, SQLAlchemy, memory, latency — and the results may surprise you.

Read

· 3 min read

Preparing for the AWS Certified AI Practitioner (AIF-C01) Exam

Resources and study guide for the AWS Certified AI Practitioner (AIF-C01) exam.

Read