10 min read
How to Design a Payment API That's Safe to Retry (A Senior Interview Answer)
"Add an idempotency key" is where a senior answer starts. The rest is where the key comes from, and what the database refuses.
19 articles in Architecture.
10 min read
"Add an idempotency key" is where a senior answer starts. The rest is where the key comes from, and what the database refuses.
10 min read
It finished in a millisecond, and the API timed out for 15 seconds anyway. What went wrong, and 5 migrations to write differently on a big table.
9 min read
Every tutorial stops at the typed event bus. Here are the 3 production failures it skips, and the fix for each in Node.js.
9 min read
Save-then-publish drops messages without a single error in your logs. Here's the outbox + inbox pair that stops it, in plain Postgres and Node.js.
9 min read
Timeout, retry with backoff, and circuit breaker — what each one actually does, and the order to stack them.
9 min read
You don't need event sourcing or a second database. Just split reads from writes, and finally fix the 20-method service nobody wants to open.
9 min read
Idempotency in plain English: HTTP, message queues, and the one detail that decides whether it's real.
11 min read
Why organizing by domain module isn't enough and what to do instead.
10 min read
Learn the hidden costs about importing everything directly and the structural change you need to make.
6 min read
Learn why you should organize your code by what your app actually does, not by technical roles.
7 min read
Here's what most backend engineers get wrong about schema design and how to fix it before you hit production.
6 min read
A real-world case study of migrating a two-tier architecture to a three-tier architecture.
7 min read
Learn more about modular monoliths, their benefits, and the challenges with microservices.
6 min read
Learn proven best practices and key principles for designing robust GraphQL Schemas.
4 min read
A deep dive into the SoundCloud's journey from monolith to BFF, Microservices, and DDD. (5 minutes)
5 min read
A conscious introduction to the GraphQL World, part 2.
5 min read
A conscious introduction to the GraphQL World, part 1.
4 min read
In this article, I will share my opinion on how to structure your next Node.js project. In the past, I’ve worked on various projects both with Node.js and other technologies. A well-structured project is crucial for the developer experience (DE), scalability and maintainability of the application, testing, and much more.
4 min read
Many software developers do not think a lot before picking either Bootstrap or Tailwind CSS. They go with Bootstrap when Tailwind CSS is more appropriate or vice versa. However, picking the right tool and technology for solving a problem is crucial.