Puneet Patwari (@system_monarch)

Puneet Patwari @system_monarch 2026-07-13T10:41:12.000Z

A month ago, I told everyone: "I've been a backend Engineer for 12+ years. Today, I'm a Principal Engineer at Atlassian. I've designed systems that handle millions of requests. Sat on both sides of system design interviews. Reviewed more architecture docs than I can count. Starting today, I'm breaking down the fundamentals of scaling for the next 25 days. If you're learning system design bookmark this thread, you're going to get a lot of learning from this." FYI, the series has concluded. Here are all the concepts, please bookmark, share, learn and the most important build from the learnings you get. Also, if you have any ideas on what you'd like to see from me, please let me know, any other series or concepts to be broken down.

1395 109 140409 34 2
Puneet Patwari @system_monarch 2026-11-25T15:00:02.000Z

"A message got processed twice." Junior: adds "if already processed, skip." Mid: stores processed message IDs. Senior: adds a unique constraint so two workers racing on the same message can't both win. Staff: asks which side effects can't be undone (emails, payouts) and sends them through an outbox.

9 0 1219 3 1
Puneet Patwari @system_monarch 2026-11-25T13:06:30.000Z

See i have already clarified that the above is not exactly an interview question. But in general interviews are testing whether you understand the problem and the solution, doesn't matter if you have seen it or not. Do you expect candidates to invent answers for all the problems? πŸ˜…

0 0 36 1 0
Puneet Patwari @system_monarch 2026-11-25T11:30:01.000Z

Back-of-the-envelope math for system design rounds: 1 day β‰ˆ 86,400 seconds (round to 100,000) 1 million requests/day β‰ˆ 12/second 100 million/day β‰ˆ 1,200/second Peak β‰ˆ 2–5x the average 1 KB Γ— 1 million = 1 GB 1 million users Γ— 10 KB = 10 GB (fits in RAM on one box) One Postgres box: thousands of simple queries a second One Redis box: ~100,000 operations a second 3 replicas = 3x the storage Do this out loud in the first 5 minutes. Half your design falls out of it.

44 4 2245 5 0
Jenish Togadiya @jenish1235 2026-11-25T09:11:01.000Z

@dillon_mulroy I am loving the work you are doing to keep the social place clean from slop 😭 just fed with lots of this psychosis, also can you consider thinking about blocking the same old tech puns this people post taking it from claude and gemini also one phrase to block : "under the hood"

0 0 85 1 0
Puneet Patwari @system_monarch 2026-11-25T08:00:00.000Z

Every read is a separate trip: a system call, the driver, the SSD controller looking up where the block lives, then the flash read itself. That's roughly 50–100 Β΅s per read. 262,144 reads one after another at ~80 Β΅s β‰ˆ 20 seconds. One sequential read at 2+ GB/s β‰ˆ half a second. Sequential reads also get read-ahead and big transfers. That's why databases read whole pages, B-trees keep fat nodes, and LSM trees append.

6 0 383 0 0
Nisarg Joshi @NJnisarg1 2026-11-24T21:16:09.000Z

The skills that I care about when I hire senior engineers (no strict order here) 1. Critical thinking - Can they derive requirements. Not just design systems. Can they reason about the tradeoffs of the requirements itself. Why to build something or not to build something. 2. Product thinking - Are they able to define the problem like a product manager would do? 3. Working with agents - not just AI assisted coding but can they really use an army of agents in a structured way to get an outcome. Can they define the problem with the angle of behavioral testing, Evals and verification? How do they reason with agents to simplify and creating executive summaries, design documentation etc. 4. Communication and articulation - Can you convey your ideas in a concise and precise manner. Can you reason out loud. Very very important marker for good collaboration and agent management skills! 4. Engineering skills - stuff that the above person mentioned. Important to test and varies according to the specific area you work on - backend, real time systems, AI, low level systems etc. Still important somewhat but can take a backseat if other areas are good!

2 0 107 3 0
Puneet Patwari @system_monarch 2026-11-25T04:20:27.000Z

All these are assessment criteria, but what about the interview format relevant in the market today? You can belittle anyone in social media but be aware of the reality. Especially in Indian market you have to be ready for the subjects mentioned in the post. And the post is at a high level.

0 0 34 0 0
Puneet Patwari @system_monarch 2026-11-25T04:18:07.000Z

@anishbistaa @coolcoder56 The point is not about getting fired. Anyone can get fired in this market, you too. πŸ™‚ The significant aspect is to be prepared for the next job. And yes please don't take any advice, you are probably already the best. Good luck!

0 0 90 1 0
Puneet Patwari @system_monarch 2026-11-12T12:23:23.000Z

Interviewer: In 2016, Uber moved its core data from Postgres to MySQL. Instagram scaled to billions of users on Postgres. Same database. Opposite decisions. What did Uber see that Instagram didn't?

576 24 132106 25 1
Dale Hurley @dalehurley 2026-11-13T09:13:48.000Z

@system_monarch What a useless interview question, trivia like this only proves you waste time on irrelevant knowledge. A better question would be asking about how you would evaluate the tradeoffs of one database over another and what factors would you consider.

0 0 44 1 0
Puneet Patwari @system_monarch 2026-11-24T15:00:01.000Z

Mock interview mistake #5: "If the payment service times out, we retry." And charge the user twice. A timeout means "I don't know what happened." The first request may have gone through. Retry only with an idempotency key, or check the status first.

27 0 2176 5 0