查看: 14360| 回复: 22
跳转到指定楼层
上一主题 下一主题
收起左侧

[找工就业] System Design 套路模版

   
全局:

2022(4-6月)-CS硕士+3-5年 | 内推|BayArea湾区 码农类General全职@

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
最近准备 System Design, 渐渐认识到一个套路化的模版的重要性。把自己总结的模板贴出来,希望对大家都有帮助!
Clarify
..
- Key features/requirements, constraints, scale. Waral dи,
- 追认 确认核心需求.google  и
- **Estimations: QPS, storage**

High Level:

- high-level architecture and get buy in
- Services
    - 模块化, stateless v.s. stateful. 1point 3acres
- DB
    - Relational or NoSQL
- Collect/identify a list of problems to be discussed in the deep dive. 1point 3acres

Deep Dive
. 1point3acres.com
- Algorithm
- API details.1point3acres
    - RESTFUL, proto
    - Write path, Read path
- DB details
    - CAP, prefer A or C?
    - read or write heavy?
    - schema + query optimazation
- Scale: Load balancer, Cache, DB sharding (estimate), User sessions/stateless, message Q, consistent hashing, CDN, Data center
- Options pros v.s. cons, push v.s. pull model
- Reliability: What if each component fails
- Do we have want: validations, dedup, rate limit, consistency, race conditions
- Security (DDOS, encryption, http v.s. https, DB inject).
- UX

Finishing - Following

- **Performance bottleneck** ..
- **component failures 每一个组件都可以说过去,并说结果**
- Debugging, monitoring, logging etc.
. . 1point 3acres
也请大家一起补充优化!. 1point 3 acres




评分

参与人数 18大米 +30 收起 理由
ssbx + 1 赞一个
AdamSKJC + 1 赞一个
40fs + 1 给你点个赞!
Meow__ + 1 赞一个
michaelzju + 1 赞一个

查看全部评分


上一篇:Google跳过team match
下一篇:Offer真的能谈崩啊
全局:
可以总结一下常见的trade off,这样遇到需要trade off的地方能及时想到。我先来:
push vs pull
Performance vs durability
Latency vs throughput
Decoupling vs synchronized
Steaming vs batching
Fewer hops vs scalability

评分

参与人数 2大米 +2 收起 理由
Felix1218 + 1 赞一个
michaelzju + 1 赞一个

查看全部评分

回复

使用道具 举报

推荐
family2018 2022-5-28 08:43:43 | 只看该作者
回复

使用道具 举报

全局:
强烈推荐Alex Xu的System Design Interview书,讲得非常系统,非常适合0-5年software engineer准备系统设计面试。
回复

使用道具 举报

🔗
 楼主| onethree 2022-5-28 07:47:22 | 只看该作者
全局:
Diamond_dogs 发表于 2022-5-27 16:40
可以总结一下常见的trade off,这样遇到需要trade off的地方能及时想到。我先来:
push vs pull
Performanc ...

👍👍 这种万金油的 tradeoff 几乎通用,碰上什么场景都可以说起来
回复

使用道具 举报

🔗
Diamond_dogs 2022-5-28 07:50:59 | 只看该作者
全局:
onethree 发表于 2022-5-27 16:47
👍👍 这种万金油的 tradeoff 几乎通用,碰上什么场景都可以说起来

对,希望大家来补充。
positive signal oriented interview :)
回复

使用道具 举报

🔗
Hmoon 2022-5-28 12:40:03 | 只看该作者
全局:

唉,这年头都这么明目张胆的盗窃了吗,至少说明源头阿
回复

使用道具 举报

🔗
family2018 2022-5-28 13:13:39 | 只看该作者
全局:
Hmoon 发表于 2022-5-27 23:40
唉,这年头都这么明目张胆的盗窃了吗,至少说明源头阿

你是**吗?我TM分享的就是源头。
回复

使用道具 举报

🔗
Hmoon 2022-5-28 13:18:16 | 只看该作者
全局:
family2018 发表于 2022-5-27 22:13
你是**吗?我TM分享的就是源头。

你脑子有病把,我说的是楼主。
回复

使用道具 举报

🔗
angelkarin 2022-5-28 14:22:41 | 只看该作者
全局:
本帖最后由 angelkarin 于 2022-5-27 23:23 编辑
Hmoon 发表于 2022-5-27 22:18-baidu 1point3acres
你脑子有病把,我说的是楼主。

可是楼主分享的内容和这个帖子里的不一样,这个帖子和楼主分享的都是system design套路。楼主不存在搬运的问题,层主也只是分享了其他资源。.google  и
. From 1point 3acres bbs
回复

使用道具 举报

🔗
wendyfangROBJ 2022-5-28 14:58:32 | 只看该作者
全局:
mark一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表