-
System design - Twitter
System design - Twittercommon features Post Tweet (support media file - image, vedio, etc.) User follow each other homefeed (timeline) search favorite (favorite posts) Retweet metrics & analytic ...…
-
System design basic - cache write policy
…
-
System design basic - media file uploading
Large Video/Image Upload (chunked/multipart uploads)Uploading large files in single request can lead to timeouts or failure due to network instability. Instead, breaking large files into smaller chunks and uploading them sequestially or in paralle...…
-
System design - notification system
Other References system-design-notification-system-part-1 system-design-notification-system-part-2 digestWhen talk about notification system, below features should be in your mind: Notification Types: Email SMS ...…
-
System design basic - HTTP Request vs HTTP Long-Polling vs WebSocket vs Server-Sent Events
HTTP Request vs HTTP Long-Polling vs WebSocket vs Server-Sent EventsIn this blog, we are going to learn the HTTP Request vs Http Long-Polling vs WebSocket vs Server-Sent Events(SSE).These are important when it comes to system design interviews.Fir...…
-
System design - whatsapp (chat app)
Chat AppdigestBasic functional requirements one-on-one chat group chat media add-on feature sent, dilevered, read receiptent push notification last seen time Traffic & StorageTrafficsay 50 million DAU, e...…
-
System design prepration share (friend)
Add iconAdd coverAdd comment我的系统设计准备心得从9月中开始到10月中,准备了三周的系统设计,最后很幸运拿到了offer。现在分享给大家希望能帮助你拿到心仪公司的offer!系统设计面试准备有什么好材料推荐吗?我只是路过(还没有面试):推荐关注Alex Xu的小红书账号!一张图给你很清晰地讲清楚系统结构。可以平时当作了解自己的业务,在真正面试来临的时候有更好大局观!同时也可以看一个demo录像Amazon System Design Interview: Des...…
-
System design DDIA digest - 5. Replication
5. ReplicationReplication means: keep a copy of data on multiple machines. geographicly close to users to reduce latency increase availability even if one machine is down increase read throughputreplication algorithm: single-leader replication...…
-
Regression Newman with HTML report
Regression Report with NewMan#!/bin/bashcd $(dirname $0)ENV=${1:-QA}echo "Testing $ENV environment."[ ! -d newman ] && mkdir newman[ -d newman/newman ] && rm newman/newman/xxx-regression-*.htmlcd newman || exitexport PATH=/devops/t...…
-
Flask introduction & set up
Set up env (virtual environment)tutorial$ python -m venv env # Windows$ python3 -m venv env # Linux or macOSIn python, there is no central lib management tools like Maven in Java, and it is not possible to have different version of same lib, so ...…