How Discord stores an enormous number of messages without falling over
Chat feels like a beginner project. A messages table with a channel id, an author, some text, and a timestamp. Insert on send, select on read. It genuinely works, right up until the message table gets
systemdesignacademy.hashnode.dev5 min read