From c1fe268a7a12414d75b3bd7bdc305dd8e7dd90cb Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Wed, 6 Apr 2022 13:28:44 +1000 Subject: [PATCH] Update some thing regarding interviews --- _sidebar.md | 2 +- categories/{ => interviews}/interview.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) rename categories/{ => interviews}/interview.md (65%) diff --git a/_sidebar.md b/_sidebar.md index 4db2946..8927826 100644 --- a/_sidebar.md +++ b/_sidebar.md @@ -6,7 +6,7 @@ - [Kotlin](categories/kotlin.md) - [JavaScript](categories/javascript.md) - [Ruby](categories/ruby.md) -- [Interview](categories/interview.md) +- [Interview](categories/interviews/interview.md) - [Software Design](categories/software-design.md) - [Message Queue](categories/message-queue.md) - [Database](categories/database.md) diff --git a/categories/interview.md b/categories/interviews/interview.md similarity index 65% rename from categories/interview.md rename to categories/interviews/interview.md index 079dc0e..62342bb 100644 --- a/categories/interview.md +++ b/categories/interviews/interview.md @@ -1,5 +1,23 @@ # Interviews +## System design + +### Questions to ask when you receive a question + +* How many users will be using it? What's the throughput we need to design for? +* Do we need to consider accessing by users from multiple countries and regions? +* Is this for a single tenant for multiple tenants? +* What's the latency requirements? +* Do we need to consider logging and montoring? + +### Steps to answer the question + +* First, briefly talk about what the high level design, the components +* Briefly calculatt the traffic which relates to what db you choose and system architectures. +* Talk about the DB choice and why, NOSQL or relational SQL database +* Keep interation with interviewers, and ask if the answer is good enough, do you want me to dive deeper? + + ## resources - [https://github.com/kdn251/interviews](https://github.com/kdn251/interviews) @@ -7,6 +25,7 @@ - [5 Salary Negotiation Rules for Software Developers](https://dev.to/aershov24/5-salary-negotiation-rules-for-software-developers-get-20-on-top-of-your-market-rate-2jii) + ## Some interview questions ### Why ssd is faster than hdd