Principal Engineer · 16+ years

Helping senior engineers think and design like architects.

I write about system design, mentor engineers moving toward staff and principal, and teach what I've learned the hard way.

Or go deeper: the live cohort
Live cohorts on Maven500+ articlesThe Breakpoint podcast

What engineers say

29+ engineers and colleagues, sharing what changed after we worked together.

Working with Ehsan has been a blast! Ehsan has done an excellent job as the JavaScript Developer at Round Table Apps. He is also very attentive to details and creative in creating an engaging experience. I would highly recommend Ehsan as an invaluable asset to any organisation or team.
Hoda Hadian Dehkordi
Software Quality Assurance Tester at Jibit
Ehsan consistently delivers the best in company projects on time and to high standards. I have always admired his ability to stay calm and perform under pressure. He is a great asset to the team both on a professional and personal level. I would not hesitate to recommend Ehsan.
Payam Mousavi, Software Developer at Thoughtworks | AWS Certified
I've been working with Ehsan in Netbarg. He has always proved to be a results-oriented teammate who has great technical skills. I would like to recommend Ehsan as a key co-worker to whom to trust any critical work.
Ali Fazeli, VP of Engineering at Snapp! Express
Read all 29+ testimonials →

More ways to learn

Latest writing

View all →
Semantic Caching for AI Requests, Explained Simply
Artificial Intelligence

Semantic Caching for AI Requests, Explained Simply

Your users ask the same question in different words, and you pay for every one. A semantic cache answers from meaning instead of exact text. Here is how it works, in plain language, with a working version you can build in an afternoon.

The Algorithms Worth Knowing in Code Review: Cutting Big O Without Being Clever
Algorithm

The Algorithms Worth Knowing in Code Review: Cutting Big O Without Being Clever

The small set of algorithm changes that actually come up in code review, each one shown as before and after, with the Big O it removes.

TypeScript Anti-Patterns That Cost You Twice: Build Time, Runtime, and the Interview
TypeScript

TypeScript Anti-Patterns That Cost You Twice: Build Time, Runtime, and the Interview

The TypeScript patterns I keep deleting in code review, what to write instead, where the cost lands, and the interview question each one turns into.

How I Find Problems Worth Solving
Leadership

How I Find Problems Worth Solving

Staff engineers are judged on whether a problem was worth solving, not just whether they solved it. I do not find those problems by thinking hard. I collect them, let them pile up, and wait for the shape.

Everything Is Being Rewritten in Rust. Is It Time You Learned It?
System Design

Everything Is Being Rewritten in Rust. Is It Time You Learned It?

The kernel dropped the experimental label, Cloudflare rewrote its proxy, and your JavaScript build is already Rust underneath. That is the case for learning it. The case against is that the most important TypeScript tool of the decade picked Go. Here is how I read the trade-off, and where I would still not leave TypeScript.

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner
Reviews

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner

A short, simple review of Leopold Aschenbrenner essay. He says AI will reach human-level smarts around 2027. Here is what he gets right, what he gets wrong, and what it means for you.

Popular this week

What other engineers have been reading in the last seven days.

oxlint vs ESLint: Why I Replaced ESLint with oxlint
TypeScript

oxlint vs ESLint: Why I Replaced ESLint with oxlint

Replaced ESLint with oxlint in a React TypeScript project and cut lint time from 12 seconds to under one. What I traded away and whether it was worth it.

OAuth2 Sequence Diagrams, Demystified
System Design

OAuth2 Sequence Diagrams, Demystified

OAuth2 stops being black magic once you draw it. The authorization code flow explained step by step as a sequence diagram, with every token and redirect.

Lefthook vs Husky: Why I Switched and Never Looked Back
DevOps

Lefthook vs Husky: Why I Switched and Never Looked Back

Lefthook replaces Husky and lint-staged with a single Go binary, parallel hook execution, and built-in file filtering. Here is why I switched and kept going.

How I Find Problems Worth Solving
Leadership

How I Find Problems Worth Solving

Staff engineers are judged on whether a problem was worth solving, not just whether they solved it. I do not find those problems by thinking hard. I collect them, let them pile up, and wait for the shape.

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner
Reviews

Situational Awareness: The Decade Ahead to AGI by Leopold Aschenbrenner

A short, simple review of Leopold Aschenbrenner essay. He says AI will reach human-level smarts around 2027. Here is what he gets right, what he gets wrong, and what it means for you.

Everything Is Being Rewritten in Rust. Is It Time You Learned It?
System Design

Everything Is Being Rewritten in Rust. Is It Time You Learned It?

The kernel dropped the experimental label, Cloudflare rewrote its proxy, and your JavaScript build is already Rust underneath. That is the case for learning it. The case against is that the most important TypeScript tool of the decade picked Go. Here is how I read the trade-off, and where I would still not leave TypeScript.

Where to start

The deep dives I'd point a senior engineer at first, grouped by topic.

All 16 topics →