Relative Content

Tag Archive for sqldatabase-designarchitecture

Scaling Likes Table in Social Media Database Design

Let’s say you’re designing a social media app and you’ll use a SQL database and it needs to be scalable. Users should be able to post, like, comment and follow others. When talking specifically about likes, my first thought would be to have a table for likes: