Skip to content

Instantly share code, notes, and snippets.

@chuchao333
Last active March 13, 2022 15:22
Show Gist options
  • Save chuchao333/8369d293aa82009d600d to your computer and use it in GitHub Desktop.
Save chuchao333/8369d293aa82009d600d to your computer and use it in GitHub Desktop.
System Design Resources

Facebook related

解System Design题是个交流的过程,或者说是给出方案然后获取反馈的不断循环的过程。 一般的流程: 首先你要问清楚requirement; 然后可以讲一下high level architecture,就是分成哪几个component,互相之间如果 interact,在白板上画一画; 之后面试官可能会让你深入某个component detail讨论; 也有可能变换requirement让你重新设计

另外,f家还喜欢让你估算机器之类的,做一些back-of-envelope calculation。所以 最好对一些计算机相关的基本常数,fb的用户量等等有个大概的了解。

准备的时候建议看看fb的design高频题。一方面有可能面试的时候刚好碰到这几个 topic,另一方面其实很多design都是相通的。 之前有个帖子讲这个,原帖已经被删了,这儿有个备份: http://blog.csdn.net/sigh1988/article/details/9790337

另外补充一点我收集的材料

a) 首先你可以从整体上了解一下facebook的architecture

除了下面给出的一些资料,fb engineering page里还有很多不错的内容

b) news feed

c) facebook chat 这里有两个notes,其中第二个里面还有相应的tech talk links

d) typeahead search & graph search 关于typeahead search的tech talk和notes

关于graph search的paper, tech talk, notes。其中paper很值得一看。

e) facebook messages 两个tech talks

以及eng notes

f) photo storage 相关的papers和notes

https://www.usenix.org/conference/osdi10/finding-needle-haystack-facebooks- photo-storage https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Beaver.pdf https://www.usenix.org/legacy/events/osdi10/tech/slides/beaver.pdf https://www.facebook.com/note.php?note_id=76191543919

g) social graph data store 相关的note, video, paper

h) tiny URL 这里有一些讨论

i) POI 参考这里

Numbers Everyone should Know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment