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.

Ehsan is a great asset to any team. He is very knowledgeable and a team player. He goes the extra mile to get the job done and is always looking for ways to improve team dynamics. It was a pleasure working with him on several projects.
Soroush Masoudi
Project Manager at RTA
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
The session was amazing and so informative covering a lot of topics like reviewing linked profile, CV and GitHub profile. Thank you so much for your time, Gaz.
Ahmed Abdelhamed, Software Engineer
Read all 29+ testimonials →

More ways to learn

Latest writing

View all →
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.

Why I Route Every AI Call Through OpenRouter Instead of Direct Endpoints
Artificial Intelligence

Why I Route Every AI Call Through OpenRouter Instead of Direct Endpoints

I migrated gazar.dev off direct Gemini and OpenAI endpoints onto OpenRouter as a single gateway. One key, one request shape, one bill, and switching models is now a string change. Here is what that bought me and what it cost.

Popular this week

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

Where to start

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

All 16 topics →