r/softwarearchitecture • u/Middle_Property5528 • 5d ago
Discussion/Advice Ranting about System Design
Been in this industry for 7+ years and this is one of the most common questions: "How do I prepare for system design interview/how to learn system design."
A lot of books have been recommended around this topic, a lot of YT videos, medium posts, but I hate to break it to you, none of that works. LITERALLY NONE!
Problem:
A good System Design is supposed to solve some problems like scalability, single point of failure, managed dependencies (especially in frontend system design) and so on.
The issue with "learning" or trying to learn sys design is that you won't face those problems in your side projects, heck even in many startups' codebase.
You won't face the consequences, problems of a BAD system design unless you work in a large company, or a big startup with a huge codebase and lots of traffic.
Most likely when you'll try to learn system design, you would have a solution looking for a problem.
Talking from the perspective of an android engineer, NO, your tell a joke application doesn't need Dagger 2, Domain models, data models, Repository layer, CLEAN architecture and what not!! You can create those components to learn how the syntax looks like, but it's a whole different beast when you've to implement that in a larger codebase.
Another problem is that when you're learning sys design, you're doing it solo. No one's depending on your design. Unlike when working in a large corp where you'll have multiple teams depending on you and counting on your SLAs.
Learning for Interviews:
So how do you crack a system design interview if you've never built a big system or worked on one? I don't want to sound overly pessimistic here.
Be clear: You're not learning sys design. You're learning how to crack the interview. Most of what you learn would not be used in your day job. Then, you do like most others do.
You read a lot and memorize a lot!
As silly as it is, system design is taken seriously if you're >=3 YOE, in most companies. And I don't believe most people would've worked on designing a system by that time. It's great if you have though!
Message to interviewers: go easy on the interviewee especially in system design interviews. I've had a lot of interviewers who refuse to provide any hints, or worse, just agree with whatever the candidate is saying. Your job is to identify if the candidate can think big picture and not trick him into failing the interview.
While a lot is put on the candidate, it's also upto an interviewer to steer this conversation so to reach a fair conclusion.
Resources:
Don't go with a thousand resources. Just pick any 1 book: Alex Xu's, or Data Intensive Applications, or any one you like. Most popular books would be ok! But stick to just 1.
Mocks: This is something genuinely helpful if you're prepping for interviews. Ask your friend for interviewing you.
But if your friends are busy or you don't wanna ask, there are many tools now-a-days like mockingly for ai interviews, it's basically free, hellointerview for interviewing with real people (might be expensive). These should honestly be enough.
Medium posts: There's a lot of good content on Medium as well. I'm an Android Dev so I follow proAndroidDev publication.
In your day job:
While AI might take our jobs, it gives us enough time right now to think about system design. If you're an engineer, you don't need to write code anymore but you still need big picture thinking.
That's something AI is still not doing well. System design.
You could start thinking about software in terms of BLOCKS.
Have conversations with AI and ask it to show you how it'd implement a well architected solution. Find some design opportunities there. Learn about what modules it's suggesting and see if you can make sense of it. You'll learn a lot more doing it this way.
Hopefully this rant/thoughts help someone, or you find it interesting.
44
u/Wh00ster 5d ago
As an interviewer I’m really looking for a human conversation about design. Yes, there are “standard” ways to structure a response and go through an answer, but it’s ultimately there to help facilitate the conversation, and remind you to not miss certain parts of the conversation.
So so so so so many candidates barely read the prompt or ask me questions about it and jump into a canned answer. It’s really painful as an interviewer.
I would give a stronger signal to someone I saw trying to ask tons of clarifying questions to have the thing make sense to them, than someone who instantly sketches out a “perfect” scalable system with no discussion of trade offs or without engaging me to see that their assumptions made sense (they’re always wrong)
7
u/ManBunH8er 5d ago
As someone who interviews regularly, I don’t ask system design questions to junior candidates regardless of what’s on their resumes. This particular knowledge can come MOSTLY from experience.
8
u/bold_snowflake 5d ago •
Allow me to disagree with you in order to challenge some understandings.
First, I disagree that you'll only see the consequences of bad designs in large companies. Small companies are just as sensitive if not more so than large, well established companies. From a scale perspective they're not scaling yo millions of users, but they do need to stay within tight budgets so your system needs to be efficient with resources. Secondly when growing your user base your software needs to actually work and not fail hard.
Next I want to challenge this bit:
No, it's not about memorization, it's about contextualising. Understand what problem is being solved and why, understand the pros/cons.
Finally, the general goal of most system design interviews isn't to see if a candidate can draw up a near perfect system, it's to discover two things:
Most candidates fail, not because they didn't "nail" the design, but because they didn't demonstrate the right attitude in breaking down a problem in a collaborative way and being honest about their own understanding.
2
u/bzBetty 5d ago
> So how do you crack a system design interview if you've never built a big system or worked on one? I don't want to sound overly pessimistic here.
I mean you really shouldn't? why are you trying to break the interview?
1
u/Uniprime117 4d ago
Claude spawn 10k agents make them register on my app and use it instantly and send bug reports 😂😂
3
u/klavijaturista 5d ago
Agreed. You need practice it in order to master it. Otherwise, you just forget everything. The brain needs to be challenged.
5
u/sheriffderek 5d ago
Ok but how can I get the job of an expert systems designer? Which Udemy course?
4
u/cheesekun 5d ago •
7 years is still junior young Padawan
1
u/chocolateAbuser 5d ago
i wouldn't say architecture is not relevant for a small company, i'd say it's relevant in a different manner; if you have a project that is maintained and evolves for years you need to put some thoughts in how to organize it, same if you make a software for large companies and for example need to address some properties that larga companies values like perf
keep in mind small companies have the advantage that you can (although with a lot of effort) rewrite a service with a new architecture and learn and test things out; you can't do that when you have hundreds of installations and millions of users that depends on it and every service has too many dependencies for a single person or team to re-design
i'd say maybe the most important point would be tho to discuss about architecture, you have to find a space which challenges you to explain things, to think on other people's projects and so on, by doing that you can really improve
1
u/DefiantMixture1668 2d ago
The best resource I have used to master system Design is Claude code. An affordable option would be codemia as well
-1
u/ALPH_A07 5d ago edited 5d ago
while I understand where you’re coming from, I still think structured learning is relevant. but the books or even direct prompts to LLMs are leading nowhere as you rightly pointed out. being an android developer myself I think we need to map out once in a while to think where do these learnings actually apply in the systems we work on.
tried building something that helps learn system design in a way that you continue to dig in until you’re sure you understand the topic via the agents we daily use. high level idea is, it has a fixed set of topics(customisable), long running context of your learning, interactive lessons, on-demand discussions and brainstorming on top of the lessons and personalised notes auto generated based on self-evaluation and discussions with the agent.
check it out and lemme know what you folks think - https://alph-a07.github.io/system-design-studio/