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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to get better at large system design?

20 点作者 zodvik超过 6 年前
There are a lot of resources for learning algorithms, code design patterns, etc.<p>As you grow, what are the good resources for system design patterns? How did you get better at it? For large system designs, like say a fulfilment ecosystem, the choices become more abstract with not immediately clear trade-offs.

2 条评论

malux85超过 6 年前
Most people learn by doing rather than reading (myself included) so just pick a project and start building.<p>This is the journey I took:<p>- Setup a Hadoop cluster from scratch (start with 4 nodes on virtualbox) - Write software to crawl and store data on every single torrent. (I dont know why I picked torrents, it was just interesting at the time), but pick a single topic, and then scale it as far as you can.<p>(Can I store 100,000 torrent files? Can I crawl 200 websites every 5 minutes? Can I index every single file inside the torrent - whoops I have 500,000,000 rows now, can I distribute that across a cluster, can I upgrade the cluster without downtime? Can I swap Hadoop and HBase out for Cassandra? Can I do that with no downtime?) Why aren&#x27;t all these CPU&#x27;s being utilised? How can I use redis as a distributed cache? Now the whole system is running, can I scale it 2x, 5x, 10x? What happens if I randomly kill a node?<p>Just pick a single project - Astronomy Data, Weather Data, Planes in the air, open IoT sensors, IRC chat, Free Satellite Data, Twitter streams, pick a datasource that interests you and then your exercise is to scale it <i>as far as you can</i> - this is an exercise in engineering, not data science, not pure research, the goal is scale.<p>As you build this you&#x27;ll do research and discover which technologies are better at scaling for reads, writes, difference consistency guarantees, different querying abilities.<p>Sure you could read all of this, but unless you apply it, much of it wont stick
评论 #18918763 未加载
nailuj超过 6 年前
I have not yet worked through all of <a href="https:&#x2F;&#x2F;github.com&#x2F;donnemartin&#x2F;system-design-primer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;donnemartin&#x2F;system-design-primer</a> but I liked what I&#x27;ve seen so far.