AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Scale a Distributed Database
YouTube is using sharding to separate out tables that are not related with each other. Sharding means getting rid of the many-to-many relationships in a relational database. Horizontal sharding means one group of users are on one shard and other group of Users are on anotherSharding can be more difficult than vertical because it defines relationships between multiple entities.