In previous article , I show you how to design a URL shortener service. I presented the basics of capacity planning, collecting requirements, DB sharding, etc. Now, I would like to cover another interesting system design interview question - How would you design Twitter?
Requirements and capacity planning We want a system that allows a user to share short text messages (posts). Those messages will be displayed in 2 places: