CatalogClarify the requirementsCapacity EstimationSystem APIsHigh-level System DesignData StorageScalabilityStep1: Clarify the requirementsClarify requirements and goals of the systemRequirementsTraff
转载
2021-08-05 11:39:00
154阅读
2评论
CREATED 2021/09/15 22:15 Functional requirements 1. URL shortening: given a long url, return a short url 2. URL redirecting: given a short url, redire ...
转载
2021-09-16 13:23:00
257阅读
2评论
1.前端框架AngularJS入门1.1 AngularJS简介AngularJS 诞生于2009年,由Misko Hevery 等人创建,后为Google所收购。是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、依赖注入等等。1.2 AngularJS四大特征1.2.1 MVC模
How to read/write k-v from 1 PB file? 这么大的文件 直接放在一个服务器中肯定要死 那么怎么样嘛...
转载
2020-10-24 00:26:00
258阅读
2评论
we will have a table called session table to manage that. somethin...
转载
2020-10-20 03:14:00
139阅读
2评论
You are given the task to design a lighting system for a huge conference hall. After doing a lot ofcalculation and sketching, you have figured out the requ
原创
2022-08-10 10:38:55
51阅读
You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour:
转载
2019-07-25 14:42:00
204阅读
2评论
Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). For each
转载
2019-07-15 05:34:00
126阅读
2评论
文章内容概述:
本文是一本系统设计书籍的摘录,涵盖了数据库隔离级别、IaaS/PaaS/SaaS的概念、流行的编程语言、在线支付的未来、单点登录(SSO)、安全地存储数据库密码、HTTPS工作原理、设计模式学习、数据库选择指南、全局唯一ID生成、Twitter工作原理、进程与线程的区别、Google Docs设计面试问题、部署策略、Slack通知发送流程、Amazon软件构建和操作、安全Web A
原创
2024-05-19 12:21:12
42阅读
2021/04/27 14:05LinkedIn1. Top k: heavy hitters, top k for 5 minutes, 1 hour, 1 day2. Calendar system, like outlook.3. 设计一个KV store,包含文件存储格式4. design rate limiter5. 给一个 isMaliciousIP api, design a sys
转载
2021-05-09 10:20:32
544阅读
2评论
1 问题 Whenever you expose a web service / api endpoint, you need to imp
转载
2019-05-30 16:24:00
204阅读
2评论
we will have a table called session table to manage that. somethin...
转载
2020-10-20 03:14:00
193阅读
2评论
4S: scenario: 就是给定key 或者说是查询语句 返回值 storage: 数据库虽然表面上是以表的形式进行储存,但是底...
转载
2020-10-24 00:25:00
688阅读
2评论
Interview Question: Design Twitter before you answer this problem,...
转载
2020-10-23 04:49:00
76阅读
2评论
Interview Question: Design Twitter before you answer this problem,...
转载
2020-10-23 04:49:00
201阅读
2评论
structured your answer: Scenario, service, storage, scaleAsk befor...
转载
2020-10-19 12:43:00
132阅读
2评论
Still, 4S Scenario: 我要根据一个长的URL生成一个短的(我们能转过去同时也要能转过来) 而且同时 我还要考虑短网...
转载
2020-10-21 08:48:00
325阅读
2评论
【Link】:【Description】 你要构建一个供电系统; 给你n种灯泡来构建这么一个系统; 每种灯泡有4个参数 1.灯泡的工作电压 2.灯泡的所需的电源的花费(只要买一个电源就能供这种灯泡的所有灯泡使用); 3.灯泡的单个价格 4.灯泡的所需个数; 现在,你可以把某一些灯...
转载
2017-10-04 18:44:00
114阅读
2评论
spring是近年来很火的一项开发技术,从而使得面试的时候面试官经常问到相关于spring等问题,也可以这么说,你会不会spring技术?你能不能在面试的时候完整的回答有关spring面试题,就决定了你能不能被录取,能不能拿高薪~~~哈哈哈,说的有点大了,面试的时候我们不仅仅要掌握spring相关技术知识点,还要掌握其他技能:分布式、线程池、jvm、
转载
2024-07-18 08:40:50
44阅读
Design a parking system for a parking lot. The parking lot has three kinds of parking spaces: big, medium, and small, with a fixed number of slots for
转载
2020-10-06 04:49:00
124阅读