All challenges
Multiple ChoiceBeginner 45s

Snowflake ID structure

A Snowflake-style ID is 64 bits split into timestamp, machine/worker id, and sequence. What does the sequence component solve?
Options
  1. 1It encodes the tenant id so that identifiers are unique across all the different customers of the service
  2. 2It stores the data center region only, so request routing can be decided purely from the identifier bits
  3. 3It makes the identifiers random for security so that outsiders can never predict the next generated id
  4. 4It lets a single node generate multiple unique IDs within the same millisecond without collision

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle