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评论
1.前端框架AngularJS入门1.1 AngularJS简介AngularJS 诞生于2009年,由Misko Hevery 等人创建,后为Google所收购。是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、依赖注入等等。1.2 AngularJS四大特征1.2.1 MVC模
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评论
How to read/write k-v from 1 PB file? 这么大的文件 直接放在一个服务器中肯定要死 那么怎么样嘛...
转载
2020-10-24 00:26:00
258阅读
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阅读
we will have a table called session table to manage that. somethin...
转载
2020-10-20 03:14:00
139阅读
2评论
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
201阅读
2评论
Interview Question: Design Twitter before you answer this problem,...
转载
2020-10-23 04:49:00
76阅读
2评论
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阅读
什么分布式系统?用多台机器解决一台机器上不能解决的问题。 现在常用的分布式文件系统有两种: 按照4S 分析: Scenario: ...
转载
2020-10-21 03:00:00
347阅读
2评论
一般来说 关注和取关是如何实现的? follow一个在用户之后 会异步的将其time line合并到自己的news feed中,也就...
转载
2020-10-19 09:11:00
112阅读
2评论
structured your answer: Scenario, service, storage, scaleAsk befor...
转载
2020-10-19 12:43:00
167阅读
2评论
哪些问题没有解决 哪些问题需要优化?出现问题怎么办? what if redis server is down? 如果某一台Redi...
转载
2020-10-23 19:05:00
152阅读
2评论