Mobile System Design Mock Interview: Chat App (like WhatsApp)

  Рет қаралды 20,175

Alex Lementuev

Alex Lementuev

Күн бұрын

Пікірлер: 12
@itsanujgarg
@itsanujgarg Жыл бұрын
The feedback part was the highlight. Very insightful
@Humanusphagist
@Humanusphagist 2 жыл бұрын
Thank you Alex & Eugene for this learning experience.
@codelite700
@codelite700 Жыл бұрын
I love how in the database section, Eugene is only commenting the table attributes and not actually deleting them.
@6957-c5k
@6957-c5k 2 жыл бұрын
Well done guys for this Mock interview. Helped me alot
@gswift1
@gswift1 2 ай бұрын
WebSockets communicate over TCP. They allow bidirectional communication but if the communication ends, you have to restart it. There’s no automatic reconnection. There are also a lot of handshake for every connection you open. That can be a con.
@SamRamezanli
@SamRamezanli 2 жыл бұрын
hey Alex, what is the response to the question you ask at minute 31:26 , "how would you store chat messages in database when you have hundreds of thousands of messages?". I think one way is to have LRU cache concept where we only keep certain number of chats and up to certain number in the database and when a new one is added, we delete the oldest chat. Is this a good approach?
@cosodelcosito
@cosodelcosito 8 ай бұрын
More or less, you want to keep the most recent ones handy, but user may start scrolling up to see history, in that case you keep adding messages to the list.. however if you have a cache size too small you will remove the newest messages while the user is scrolling.. so yes have a soft limit, but be flexible when those messages are being consumed by the user.
@vandanakumari-bm9de
@vandanakumari-bm9de 3 ай бұрын
Was unable to understand the Web socket questions. The voice was not audible
@codelite700
@codelite700 Жыл бұрын
@alementuev I thing I'm unable to understand. In the database section Eugene showed schema for Chat Table & Message Table along with their respective attributes, however I think these two relations need to be joined using a foreign key as well. For ex: We need one more attribute called `chat_id` which will be part of Message relation so that once the user open a particular chat, I can retrieve all the messages for that chat from the Message relation.
@smitycyken500
@smitycyken500 3 жыл бұрын
Single source of truth 28:00
@Vivek-b3h8j
@Vivek-b3h8j 2 ай бұрын
It's too much irritating when someone continuosly saying "uh, umm, yeah etc." and repeating it before every sentence.
@ПавлоСкляр-д6т
@ПавлоСкляр-д6т 3 жыл бұрын
резко обрывается в конце, ощущение что мордобой обрезали )
Mobile System Design Mock Interview: Photos App (like Google Photos)
1:28:00
Mobile System Design Mock Interview: Shopping App (like Amazon)
1:33:34
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Mobile System Design Mock Interview: Reddit
1:43:54
Alex Lementuev
Рет қаралды 21 М.
Mobile System Design best practices by Arnav Gupta
1:03:22
Gaurav Sen
Рет қаралды 30 М.
Mobile System Design Mock Interview: Instagram
2:02:33
Alex Lementuev
Рет қаралды 9 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,2 МЛН
Amazon System Design Interview: Design Parking Garage
29:59
Exponent
Рет қаралды 1,5 МЛН
Mobile System Design Mock Interview: Spotify
1:15:09
Alex Lementuev
Рет қаралды 17 М.
Design a File Downloader: Mobile System Design Interview  #systemdesign #systemdesigninterview
26:38
Alexey Glukharev: Software Engineering & IT Career
Рет қаралды 1,4 М.
Introduction to Mobile System Design
1:25:44
Gaurav Sen
Рет қаралды 41 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН