educative.io

Detailed Design of Sharded Counters - Grokking Modern System Design Interview

I don’t get what’s the relationship between the metrics based writing selection and the slides to it. It seems the slides talk about counter creation.

Hi Zi,

The relationship between metrics-based writing selection and the slides discussing counter creation is pivotal for understanding how sharded counters are implemented.

In this process, metrics-based selection plays a crucial role, as it determines the number of shards required for each counter based on factors such as the user’s follower count and tweet engagement history. This dynamic calculation ensures that the system can efficiently handle write requests while maintaining acceptable read performance and the slides depict how requests are dispatched to geographically dispersed servers to create shards for the specified counters, emphasizing the system’s distributed nature.

Thank you.