Every organ of Discord on one canvas. The eight boards before it draw those organs one at a time. This lesson is the story running through them, in the order the company hit each problem.
Before you start. You need one idea: a chat app must remember everything anyone ever typed, and must also hand what someone typed one second ago to everyone staring at that channel right now. One more: a database keeps an index beside your messages so it can find one without reading them all, and that index helps only while it fits in memory.
Lesson 84 of 115 in System Design
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.