Syncing messages across multiple devices
Play this lessonThis lesson comes with an interactive animation you can break and a chapter quiz.User A has a phone and a laptop, both connected over WebSocket. Each device keeps a variable cur_max_message_id: the latest message ID it has seen.
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro