News for hackers. Stuff that matters.
Re:Scaling Pinterest - From 0 to 10s of Billions of Page Vie... by yashh on Tuesday April 16, 2013 @12:18PM (#5559012)
We decompose 64 bit ids to shard_id, type and local_id. We connect to the shard go to the table and read the local_id.

We randomly select a shard for a new user only. Ofcourse we capacity plan this and open new shards and even out users eventually.

There are no comments on this comment yet.