TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: System design interview practice and resources

2 点作者 Brystephor超过 1 年前
What resources do you use for system design practice? It seems so subjective. I&#x27;ve been asked a wide breadth of questions. Things like &quot;design a parking lot&quot; and &quot;design Gmail&quot;. Many online resources use the same examples of &quot;design Twitter&quot;, &quot;design a URL shortener&quot;, &quot;design a chat system&quot;, etc.<p>But how do you practice these and get feedback on whether or not what you say&#x2F;do is good?

1 comment

catlover76超过 1 年前
Well, in terms of getting feedback, there are services like interviewing.io, exponent, and formation, but they are expensive. Maybe someone has made an AI tool to help with sys design? Even if not, GPT-4 is pretty helpful. Once I get access to the image feature, I&#x27;ll try feeding it diagrams to evaluate.<p>I assume that gaining the substantive knowledge isn&#x27;t the issue--it sounds more like you want to know how to put it all together, structure your responses, understand the criteria, etc.<p>I think there are a couple broad approaches for overall structure<p>1) Spend a lot of time up front gathering requirements; largely functional requirements, but also a major point with a lot of the better questions (i.e. questions more like &quot;design a parking lot&quot; than &quot;design Twitter&quot;) is often to get there is a performance trade-off (e.g. maybe for certain things, consistency is more important than latency&#x2F;speed considerations).<p>2) You can either do your main diagram or do data model first.<p>3) After high-level diagram and data model, discuss single-points of failure, additional scaling issues, etc.<p>The overall vibe of communication here is that you want to be discussing trade-offs and various tech choices. The most obvious, and something which will come up almost all the time, is SQL v NoSQL databases. It&#x27;s mostly pretty straight-forward to list trade-offs for a given use-case&#x2F;scenario and make a case for one over the other.<p>There often won&#x27;t be right answers to various components of the exercise. Again, NoSQL and SQL is a paradigmatic example. In theory, you can do anything in NoSQL and vice versa, but knowing the trade offs is key.<p>System design interviews are basically like law school exams. I can&#x27;t help but note that even though basically nobody reading this will have gone to law school, and thus there is nobody nodding their head right now.