title: Notes of System Design No.01 —Answering the SDIs Step by Step
description: 'Answering the SDIs Step by Step ’
date: 2022-05-04 14:52:06
tags: 系统设计
categories:
- 系统设计
In this Article ,
I will give a introduction to
the guildline of answering the SDIs(system design interviews) problem
lets get into it!
Mainly Reference:https://www.educative.io/courses/grokking-the-system-design-interview
Step 1: Requirements clarifications
在一开始的时候问清楚设计的一些关键指标,缩小设计范围
Define the end goals And clarifying ambiguities early in the interview is critical.
Step2 System interface Design
明确这个系统会需要哪些接口
Step3 Back-of-the-envelope estimation
粗略的估计系统的规模
Step4 Defining data model
确定数据结构
Step5 High-level design
顶层设计,用框图的形式画出系统的结构
Step6 Detailed Degisn
根据面试官感兴趣的方向,
针对里面的2-3个模块作重点且细节的讨论
可以给出几种不同的设计方案 然后说出利弊
然后说明为什么用目前的这个设计方案。
Step7 Identifying and resolving bottlenecks
尽可能多的找到目前系统存在的弊端
然后给出不同的解决方案去处理它