Loading...
Estimate the scale of the system. Consider daily active users, read/write ratio, storage requirements, bandwidth, and any relevant QPS calculations...
Use NoSQL for sharding (high-volume data). Not a lot of logic and relations need to be present in DB, so NoSQL makes more sense
Tweets:
Users
SQL DB (Fast retrieval):
TweetLikes:
UserFollowing: