Grokking the Modern Frontend System Design Interview
Vote

0% completed

​

Design a Chat App

A user of a team chat app sends "On my way" while her train enters a tunnel. The message shows a small clock icon, then a red "Not sent" label. When the train comes out, she taps "Retry", and a minute later her team sees "On my way" twice.

Nothing in that report is a server bug. The first attempt reached the server, but the confirmation was lost when the connection dropped, so the browser believed the send had failed. The retry then created a second message, because nothing told the server that both attempts were the same message.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content