Aman·Oct 18What Nginx Actually Does Between the Internet and Your CodeThis post explains what Nginx does, why it is called a reverse proxy, how it chooses where to send each request, and how the response finds…
Aman·Oct 18What Really Happens When You Hit an HTTP EndpointYou type http://example.com:8080/users/profile and press Enter. A few milliseconds later, JSON appears. In between, your request goes…
Aman·Oct 18OS Basics Every Backend Engineer Should KnowMost backend bugs that feel mysterious are often operating-system behavior in disguise.
Aman·Sep 6How to Scale and Organize Your Codebase Using the MVC PatternWell, there are lots of blogs and videos already explaining how to manage your codebase using the MVC pattern. So instead of just repeating…
Aman·Sep 6How to Handle a Prisma Migration Conflict in Your Database GracefullyA lot of the time, when you try to migrate your schema into an existing database, you run into a migration issue. Prisma may detect a…
Aman·Jul 24The Outbox Pattern, Explained by a Real Problem (Without Breaking the App)The obvious solution is a database transaction. Here’s why that breaks across two databases, and what I did instead.
Aman·Mar 15The Node.js Event Loop — How Does It Actually Work?So you’ve been writing Node.js code right? Maybe an Express server, some API calls, reading files and all that. But have you ever wondered…
Aman·Mar 11Writing Your Own JavaScript Polyfills: A Deep Dive into Array.prototype.mapSo you’ve been using map, filter, reduce and all those fancy array methods right? But have you ever thought about what’s happening behind…A response icon1A response icon1
Aman·Mar 6Promises and World Peace (mostly Promises)Look, I was trying to write a blog on Promises and halfway through I realized this whole thing sounds like a UN meeting. So here we are.