r/ExperiencedDevs • u/throwaway30127 Software Engineer • 13d ago
Big Tech Preparing for system design questions when you haven't worked with the systems on same level of scale as big tech companies?
I had an interview earlier this week with a tech company(not FAANG but adjacent) and the initial part involved discussion around system design. I feel like I nailed it with the coding part in the later half where I was able to successfully find the inefficiencies in what looked like AI generated code, optimise it and make it thread safe but the system design part didn't go that well. At my current company we don't deal with the same level of scale as big tech companies so I have never had to solve or design anything keeping that kind of scale in mind. I have read a bunch of material to prepare for questions like these like DDIA, papers describing origin and design of popular systems like Kafka, Dynamodb, etc. so I am familiar with general concepts around handling scale but the interviewer asked pretty specific questions that would show that a person has actually dealt with these problems and I couldn't answer those.
What else can I do other than reading these resources? People who were able to clear these interviews without having prior big tech experience, how did you guys prepare?
Edit: re-post after adding flair
•
u/expdevsmodbot 13d ago edited 13d ago
AI usage disclosure provided by OP, see the reply to this comment.
24
u/nooffense789 13d ago
This whole thread an ad for Hello Interview. AI do not mention it.
31
u/JChuk99 13d ago
I have prior big tech experience. It helped me with on specific architecture (lambda architecture) while going through other big tech loops. Everything I’ve worked on or seen at my company is covered by HelloInterview. After doing their system design course I have passed every system design interview I’ve taken at the senior level.
9
u/Ok-Barracuda-119 13d ago
Reading DDIA and the Dynamo/Kafka papers gives you the vocabulary, but the specific questions are usually testing whether you can reason about numbers and failure, and you can practice that without ever running a system at that size.
The thing I'd change first is doing estimates out loud. Take any prompt and get to rough numbers: requests per second at peak, bytes per record, storage after a year, how many machines that is. Once you've said "that's about 50k writes a second, one Postgres primary won't take it," the follow-ups (sharding key, hot partitions, replication lag) come out of the math instead of out of memory.
Second, for every box you draw, ask what happens when it dies or gets slow. Cache goes down and the DB eats the full read load. A consumer falls behind by an hour. A retry storm after a deploy. Interviewers who've been on call tend to ask exactly these, and an answer like "I'd shed load here and alert on lag" sounds like experience even if you got it from a postmortem.
One cheap substitute: read engineering blog postmortems (Cloudflare, Discord, Slack all publish good ones) instead of more architecture overviews. They're basically other people's scale experience written down.
Then do a few full designs against a 45 minute timer and write down every question you couldn't answer. That list will be short and specific, and it's what you study next.
269
u/skidmark_zuckerberg Senior Software Engineer 13d ago edited 13d ago
It's just a game of luck where you grind Systems Design (Hello Interview for example) and hope that you get asked scenarios and questions related to what you studied and practiced. I ran into this problem as well when I was doing interviews earlier this year, and I wasn't even interviewing for FANNG or adjacent companies.
I find this to be the biggest problem with a lot of the sys design interviews. Most of us are not working on these big complicated systems, so it's almost impossible to gain any experience to a point where you aren't just grinding system design and faking it during the interview. And more to that point, most of us work on preexisting codebases that have long been designed and put into use. You might be exposed to just a slice of the overall system, depending on your team.
77
u/ConfidentHelp3777 13d ago
Most FAANG engineers aren't designing these systems either.
17
u/talldean Principal-ish SWE 13d ago
I suggest Donne Martin's System Design Primer, which was the #1 repo on github for a long, long time.
Open sourced prep for exactly that interview, and Donne is a great human, as well.
https://github.com/donnemartin/system-design-primer
2
u/commonsearchterm Software Engineer 13d ago
What kind of specifics questions were you asked?
29
u/pickle9977 13d ago
Go read hacking the system design interview and then read designing data intensive systems and you will know more and be more prepared than anyone that is on your interview loop.
But think very carefully before you go work for a big tech company they are all stack rank which means you have 2-3 years on average before you become easy to pip.
It won’t be your fault it’s just a roll of the dice
6
u/Rakn 13d ago
I’ll just note that I grinded system design courses on YouTube. Managed to design the system they asked me to design during the interview and made some mistakes that showed that I never had to build and operate systems at such a scale before.
They were obvious mistakes in hindsight, as someone that has now worked on systems at scale, but they weren’t to me back then.
Still got hired and learned a lot.
8
u/shifty_lifty_doodah 10d ago
BigTech can be extremely picky. A lot of the interviewers are not that talented, not paying that much attention, and didn’t design any of these systems themselves anyways. There is a lot of luck in the process.
The thing I would say is: you need to understand the core concepts so fluidly that it is simple second nature to you. You can’t really fake it, it’s kind of like playing guitar
6
u/dantheman91 13d ago
Spend time asking clarifying questions before anything else, ask the interviewer:
What size of user base/data do we anticipate?
Does a historic system exist, and does it have any problems we especially want to be sure we mitigate?
Are there any areas you're especially interested in me focusing on?
Define your requirements, where is it going to be run (mobile app? Web app? Everywhere?), who are you users, how should it behave, etc. You don't need to outline every case, but write down the answers to questions as your requirements.
People aren't so worried about you exact answer as showing you can approach a problem, especially if you don't have experience with it.
2
u/throwaway_0x90 TE/SDET[25+ yrs]@Google 13d ago
I'm probably going to get downvoted into oblivion but I'm gonna say it anyway for the new grads.
If you type "Preparing for system design questions" into Antigravity, it will present you with an option:
Get through that and you'll be mostly prepared for interviews as long as you don't get nervous and can think clearly for any curve balls thrown at you.
2
u/devanishith 13d ago
read a bunch of white papers and tech blogs from faang companies.
3
u/robertbieber Software Engineer 13d ago
The thing is most people at big tech companies aren't getting into the nitty gritty of distributed systems either. I learned most of what I know about solving these problems by just studying the question banks at companies I worked for
1
u/ebol4anthr4x Software Engineer (10YoE) 13d ago edited 13d ago
It sounds like you know exactly what you're missing. If you want hands-on experience with some software, go install it in a VM or something and write some code that utilizes it. You aren't going to be able to fake hands-on experience if your interviewer is any good at their job.
At the end of the day though, you can't possibly have the experience necessary for every job in existence. If you don't have experience running Kafka at scale but that's what the company is asking for, maybe this just isn't the job for you.
1
u/VideoGameOrcs 13d ago edited 13d ago
First I would look at the questions that tripped you up, they can point to a weakness in your knowledge base. I personally dislike system design questions like "Design youtube" because these massive systems evolved over years to be the monstrosity code bases they are today. So if I can get away with it, I always start with the simplest system and then grow the design during the interview based on the push back from the interviewer. (There's a lot of bad interviewers out there so this technique isn't great if someone just expects you to describe a facebook clone that handles 100 million requests on first try)
I am assuming from how you worded "questions that would show that a person has actually dealt with these problems and I couldn't answer those" they asked you more conceptual based questions for the technologies you suggested. Look into why you shouldn't use those technologies.
The main problems I ran into at large scale systems mostly fell into 3 categories:
Most technologies aim to solve one of these problems so approach the tools you are suggesting with these questions. Database sharding? System load. Zero downtime schema migration techniques? Minimize downtime. How do you troubleshoot a bug in a distributed system? Observability/monitoring. A/B releases, canary releases, feature flags? Minimize downtime.
I also would be cautious about confidently recommending technologies that you haven't used (if you are doing that). Try a small project with a type of technology first and approach it with the three problems I mention earlier. Like "How would I scale this if it was down under load?" "What if there's a bug, how do I troubleshoot this?" I mainly say this because as an interviewer if someone said "I would use Kafka" enthusiastically, I would immediately suspect they have never used Kafka before. (I was... let's say not a fan of maintaining it at a couple of companies I worked at)
And also, be kind to yourself. You can't know every technology nor can you know every technique. Sometimes I haven't known the answer and used it as a jumping off point to have a discussion about how they solve that problem there. The places I have enjoyed working at, the interviews were a back and forth conversation on trade offs, not a trivia test.
1
u/DigHot2439 Software Engineer 13d ago
Being a senior isn’t just about managing high-scale systems. It's also about reading books. I remember how I’ve been a contractor where I've been brought in as staff aug as a member of a team. I have been brought in to manage a major implementation where the new director couldn’t get approval for headcount. Reading the documentation and building my understanding on the base of books I've read was crucial.
Heck I had a former CTO of mine who wanted me to do some work for him. But it was too much of hassle to bring me in. I just made sure I charged the client enough to handle it, and never neglected my reading hours.
1
u/anthropicagiuser 13d ago
the specific questions are usually about numbers, not tools. take one system you know and do the math out loud. estimate the traffic, then the storage, then see what breaks first.
1
u/SimplyJow 13d ago
I’ve built a simple system design playground just for that, and it’s open source. Take a look at https://joaogeraldes.github.io/system-design-playground/
1
u/ninja-kidz 13d ago
bytebytego is a good resource
1
u/StrangePractice Software Engineer 13d ago
Start with a simple design and scale appropriately when pressed
1
u/LangyMD 13d ago edited 13d ago
This is general advice on interviews, nothing specific to the question:
If they ask questions that are beyond your experience and you are unsure on, state as much - and then give a best-effort answer to the question as well as an explanation of what parts of that answer you are less sure of. Recognizing your own limits is important, but sometimes so is making a clear decision, so show them you can do both.
I've interviewed people for a number of software development positions before, and the point of these questions is largely to figure out how you think on hard problems, not how well you can you recite advice you can look up on the internet.
1
u/haekuh 13d ago
Hopefully you dont mean reading the dynamo white paper and instead mean the actual design of dynamodb. The dynamo white paper is just a fluffy nonsense approach to a system that did not actually get implemented, but everyone loves to talk about.
There are several videos on youtube of the actual system that ended up being built from as recent as two years ago.
The point of these large system design questions is to figure out the limits of your knowledge in different areas, see how you communicate, and make trade offs.
Most large scale system design prep covers scaling just one part of a system in a vaccuum. What you need to do is combine several different scaling problems together and then practice scaling different components to see how they interact. For example how do you handle millions of customers sending hundreds if millions of RPS to some back end system? How do you establish secure connections? How are you sharding? Does that sharding approach scale infinitely? Does it expose hot shards? How are you dealing with those hot shards? etc
Its not about "right" answers. Its about mostly good answers with some just ok answers across the board
1
u/ohtaninja 12d ago
Every system has a physical limit. System design is to find those, discuss tradeoffs and propose a new one while maintaining reliability
You can't have highly consistent, low latency, globally distributed system. Physical constraints won't allow it.
But you can give away something to make certain region highly consistent and low latency for example.
CAP theorem, consistent hashing, etc. Learn the primitives that go into distributed system.
Also many at big tech don't do big tech scale work. They just recite what they read from system design books.
1
u/Whitchorence Software Engineer 12 YoE 12d ago
There are like ten questions they'll possibly ask you, just go through all the samples on HelloInterview or whatever. The format is super constrained and imo farther away from the actual work than Leetcode questions are.
1
u/practick-io 12d ago
You don’t need to have run something at scale to reason about it. What they check is whether you can explain why: why a queue here, why cache that, what breaks first at 10x. Engineering blogs (Discord, Uber, Stripe) help because they show the trade-offs, not just the boxes. Then practise out loud with someone who keeps asking “why?”. That’s the part reading can’t give you.
1
u/Outside-Storage-1523 Software Engineer 12d ago
It’s like preparing for an exam: you find a book and memorize those cases, trying to adapt your work into these cases so you can relate during the interviews and you don’t look like a complete liar.
It’s just a game. There are standard reactions you need to make during certain turns of an interview. If you make enough correct turns and be an amiable person, you get good scores.
With books, articles and AI you should be able to ace those even if you never worked on a large system, unless you are interviewing for a staff+ position where they want you to jump in from day 2.
1
u/Confident_Luck2359 12d ago
Yeah, it’s a game of chance. Study, interview, repeat.
I interviewed for jobs writing DEVICE DRIVERS and was asked to implement search engines and web-scale API throttling.
Interviewing is completely fucking broken. Everyone wants to hire a unicorn.
1
u/rhd_live 11d ago
you study what all the sys design guides tell you to say. It's just a big sham tbh
1
u/bluetista1988 10+ YOE 10d ago
Honestly you just cram a primer and answer based on theory.
In the same way you'll probably never be asked to implement a LeetCode medium algorithm at work, you'll also probably never be asked to implement a Netflix-scale distributed system at work either.
1
u/RiverRoll 10d ago
My pain is there always seems to be some specific case that they have in mind and if you happen to handle that case using some existing cloud service or framework like a normal person they're unhappy you don't know much about the particular implementation details.
1
u/Ace-O-Matic Full-Stack | 12 YoE 10d ago
BigTech assesses interviews based on rubrics. Usually those rubricks aren't "Does the candidate know the right answer" but "Is the candidate asking good questions, reasoning through options/trade-offs, and able to defend/explain their position."
Your mistake is studying the wrong thing. No one cares about the low quirks of Kafka. No one cares about the origin a NoSQL. What they do care about is whether you know when it's better option than a traditional SQL database and why. You're better off reading up on the stack of Big CompanyTM and why they chose individual pieces that they did.
1
u/ALPH_A07 9d ago
https://alph-a07.github.io/system-design-studio/
1
u/UpverseAI 9d ago
I think you need 1:1 coaching. Contact us at https://www.theupverse.ai/contact. Apart from the interview platform, and course material, you have access to a coach whose guidance helped people clear system design rounds in Meta, Google and more, all at a fraction of a cost than other websites.
1
u/Antique-Stand-4920 13d ago
The best you can do is try some hands-on projects to apply the concepts you've learned via reading. That would at least show that you put more time and effort to learn something you didn't know.
1
u/tenthousandants44 13d ago
Huh? It's all based on open source software. You can virtualize it or use the free tier on the cloud
42
u/[deleted] 12d ago •
[removed] — view removed comment