Sharding & IDs

Included with a plan
This board is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.
Lessons that use this board
- Instagram, the case studylesson
- A number nobody else has (UUIDs, Snowflake ids, and a clock you cannot trust)lesson
Sharding & IDs. 02 - SHARDING & IDS
The most-copied schema decision on the internet: 64 bits, no new servers, and Postgres schemas as moving boxes.
1. THE 64-BIT ID - a timestamp, an address, and
Saved in this browser, and to your account when you sign in.