AI engineering · Backend · Production
Engineering beyond CRUD.
AI engineering, taught from zero in plain English, with diagrams that move. Plus a dev blog on how production systems really work, and a daily note on what's new in AI.
Learning
all →One topic at a time, in order. Free, no sign-up.

1 part so far · 7 min
AI engineering, from zero
- Where the AI engineer sits among AI jobs
- RAG, guardrails, tools and evals, with real cases
- What companies ask for when they hire
coming soon
Full stack AI engineering
coming soon
Backend engineering
Latest
- Learning· AI
AI engineers don't build AI models
A new job arrived with ChatGPT. What changed, where the AI engineer sits among AI jobs, and what they actually build, explained from zero with animated diagrams.
6 Nov 20267 min▶ 7 to play with
Blog· Inside LLM inferenceWhat is KV cache? How AI chatbots answer fast
A plain-English guide to the KV cache, the trick that stops AI chatbots from redoing the same work for every word they write. What it is, how it works, why it's safe, what it costs and where you meet it when you build with AI.
#llm#inference#kv-cache5 Nov 202612 min
Blog· DatabasesExactly-once is a lie: idempotency is a database design problem
Your payment endpoint will get the same request twice. A SELECT-then-INSERT check still double-charges under load. Here is the table design that doesn't, measured in a lab.
#postgres#idempotency#payments4 Nov 202615 min▶ 2 to play with
Blog· ScalingNoisy neighbours: when one customer's spike takes everyone down
One tenant sends 10x its normal traffic for ten seconds and five quiet tenants see p99 go from 28 ms to 4.1 s. A lab that measures shared FIFO, a global rate limit, per-tenant token buckets and fair queuing, plus the shuffle sharding maths.
#multi-tenancy#rate-limiting#queues4 Nov 202614 min▶ 1 to play with
Blog· DatabasesThe 4 ms migration that stopped every query on the table
An ALTER TABLE that needs an ACCESS EXCLUSIVE lock waits behind one open transaction, and every new query on that table waits behind it. A lab that shows the pile-up, the queries that find it, and the lock_timeout retry loop that keeps the API up.
#postgres#migrations#locks4 Nov 202616 min▶ 2 to play with
Blog· ReliabilityRetries are a DDoS you wrote yourself
Three services that each retry three times turn one failing request into 27 calls on the service that is already struggling. A lab that measures it, and the six fixes that stop it.
#reliability#retries#microservices4 Nov 202616 min▶ 3 to play with
Blog· ScalingThe p99 tax: why fan-out makes everything slow
Every backend is fast 99% of the time. Call 100 of them per request and 63% of your users get the slow 1%. The maths, a lab that measures it, and what hedged requests, deadlines and smaller fan-out cost.
#latency#tail-latency#distributed-systems4 Nov 202617 min▶ 2 to play with
Blog· SecurityHow $6.3 billion walked out of Binance in 20 minutes
On 29 October, attackers emptied Binance's hot wallets on ten blockchains. What happened, explained from zero: wallets, keys, signatures, and the one signed note that turned a wallet against its owner.
#security#crypto#binance3 Nov 202611 min▶ 7 to play with
Blog· open sourceREA lets AI agents reverse engineer apps. Here's both sides of it
An open source tool that plugs Claude Code, Codex or Cursor into Ghidra and IDA. Where it helps backend engineers, why indie developers are worried, and how to try it safely.
#ai-agents#reverse-engineering#security25 Oct 20263 min
Blog· DatabasesOne word keeps your table writable while an index builds
CREATE INDEX vs CREATE INDEX CONCURRENTLY in Postgres, and the four things that bite people when they switch.
#postgres#migrations21 Oct 20262 min

Why I started Beyond CRUD
Most tutorials stop at CRUD. Real apps break somewhere else: a retry storm, a migration that locks a table, a queue that never drains, an AI call that times out. After about ten years of building backends, I wanted one place where that part is written down plainly, for anyone shipping to production.
Ashwani Kumar · more about me
Get new posts by email
One email when a new post goes live, and nothing else.
