← 返回卡片

原书出处

System Design Interview – An insiders guide, Second Edition

07 唯一ID

Second Edition · 核验版本的摘录快照 · 导入于 2026-11-14T09:08:16.610Z

Timestamp The most important 41 bits make up the timestamp section. As timestamps grow with time, IDs are sortable by time. Figure 7-7 shows an example of how binary representation is converted to UTC. You can also convert UTC back to binary representation using a similar method. The maximum timestamp that can be represented in 41 bits is 2 ^ 41 - 1 = 2199023255551

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0019_split_003.html

EPUB SHA-256:ffc3a97753094acb30719f26589af322724b6c17c10371f0626e61687734b345