System Design Interview: Design WhatsApp

  Рет қаралды 12,739

Hayk Simonyan

Hayk Simonyan

Күн бұрын

Пікірлер: 25
@mcw0805
@mcw0805 Ай бұрын
I was a bit hesitant to watch a short video, but really, this covers the highlights in simple terms
@tanayvartak4362
@tanayvartak4362 7 ай бұрын
Great! Your explanation is on point and crystal clear. Thanks!
@hayk.simonyan
@hayk.simonyan 7 ай бұрын
you're welcome! Glad to hear that 👍
@yingxie9974
@yingxie9974 21 күн бұрын
I think your video is very practical in real interview !
@Coding101-nb5ej
@Coding101-nb5ej 8 ай бұрын
wow! You consistently impress me with your content, each video is a goldmine of knowledge. thnx for always delivering valuable lessons 👏
@hayk.simonyan
@hayk.simonyan 8 ай бұрын
My pleasure, glad to hear it's hitting the mark!
@pankajupreti8967
@pankajupreti8967 28 күн бұрын
good one
@fitzgerardmouliom443
@fitzgerardmouliom443 8 ай бұрын
awesome, please what will be the type of conplexity we will get why handling groupe discusion excluding media files sharing
@hayk.simonyan
@hayk.simonyan 8 ай бұрын
group chats will introduce complexities in message fan-out (delivering one message to many), also to storage and synchronization. These can be addressed with techniques like publish/subscribe messaging and server-side sequencing
@hayk.simonyan
@hayk.simonyan 8 ай бұрын
the complexity generally increases linearly with the number of messages and group members, but optimizations like caching and sharding can help us to manage the overhead
@MattDeLuco
@MattDeLuco Ай бұрын
Now how do I turn this 7 minutes into a full 1 hour discussion for my interview? 😉
@mohamedfaizal4360
@mohamedfaizal4360 4 ай бұрын
Nandri(Thankyou) from India.
@hayk.simonyan
@hayk.simonyan 3 ай бұрын
You're welcome!
@moonlight-kh6uz
@moonlight-kh6uz 5 ай бұрын
Which graphic / infographic tools did you use?
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
canva
@moonlight-kh6uz
@moonlight-kh6uz 4 ай бұрын
@@hayk.simonyan Thanks. Do you first create YT and then Medium, or vice versa?
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
@@moonlight-kh6uz I first record and publish it on YT, and then convert the same video into an article on Medium
@ashokchourasia
@ashokchourasia 5 ай бұрын
Does WhatsApp store messages in database? As per my understanding it stores only the messages which couldn't get delivered at that moment. That, too, for 30 days. Please correct me if i am wrong.
@mercynik2019
@mercynik2019 5 ай бұрын
Yes you are right if you thinks it as way the app works .... they store the messages in user mobile local storage ... and user also has the option to keep a back up over the google drive but they do store the current messages somewhere because when we use the whats app web they loads all the messages we currently have on our phone .... do they collects those from our phones local storage or they do have a backups ? ... thats i also I want to know ... like how it works ......
@hayk.simonyan
@hayk.simonyan 5 ай бұрын
You're partially correct! WhatsApp does store messages in a database, but it's not just undelivered messages. It stores all messages temporarily on your device to facilitate features like message syncing across devices (mobile and web)
@moonlight-kh6uz
@moonlight-kh6uz 5 ай бұрын
Can this be implemented in "C"? Pros/Cons?
@hayk.simonyan
@hayk.simonyan 4 ай бұрын
C is a viable option if performance and low-level control are important, but if rapid development and modern language features are more important then higher-level languages will be better
@yaswanthmitta8983
@yaswanthmitta8983 3 ай бұрын
Why rest apis why not Web sockets?
@hayk.simonyan
@hayk.simonyan 2 ай бұрын
This is a sample implementation for system design interviews. Therefore, the API design phase refers to these as API endpoints. However, as I mention around 4:00, for real-time chat functionality, the API servers must maintain a websocket connection with the user's device.
@tanayvartak4362
@tanayvartak4362 7 ай бұрын
Great! Your explanation is on point and crystal clear. Thanks!
System Design Interview Question: Design URL Shortener
13:25
Hayk Simonyan
Рет қаралды 16 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Chat App |  WhatsApp | Facebook Messenger | System Design
10:06
System Design Interview: Design Twitter (X)
12:19
Hayk Simonyan
Рет қаралды 5 М.
System Design: WhatsApp Explained
59:15
Sweet Codey
Рет қаралды 1,3 М.
Beginner System Design Interview: Design Bitly w/ a Ex-Meta Staff Engineer
59:30
Hello Interview - SWE Interview Preparation
Рет қаралды 33 М.
WHATSAPP System Design: Chat Messaging Systems for Interviews
25:15
Gaurav Sen
Рет қаралды 1,9 МЛН
Basic System Design for Uber or Lyft | System Design Interview Prep
16:18
System Design Interview: Design Whatsapp w/ a Ex-Meta Senior Manager
58:12
Hello Interview - SWE Interview Preparation
Рет қаралды 18 М.
System Design Interview: A Step-By-Step Guide
9:54
ByteByteGo
Рет қаралды 772 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН