educative.io

Educative

Inconsistent info: Data sharding is for metadata store or object store?

In “Section 10(a): Partitioning based on userId”, at the beginning it is said that we’ll perform metadata sharding. However it later goes on to describe that when we shard based on userID, we store all “photos” on the same shard. How can we talk about storing photos on same shard as photos are stored in separate object storage?

I think by photos, the author meant “photo metadata”. Can someone confirm this?

2 Likes

I have the same question!

I guess you are right. It has to be photo metadata as photo is being stored in Blob storage (i.e., Amazon S3).

I confirm with full certainty, that author meant photo metadata.