Tag

Clock rollback

0 views collected around this technical thread.

Wukong Talks Architecture
Wukong Talks Architecture
Nov 15, 2022 · Backend Development

Investigation of Snowflake ID Generation Failures Caused by Clock Rollback and Mitigation Strategies

This article analyzes a production incident where duplicate IDs were generated by the Snowflake algorithm due to server clock rollback, explains the algorithm's structure and pitfalls, and presents several open‑source solutions such as Meituan Leaf, Baidu UidGenerator, and Redis for reliable distributed ID generation.

Clock rollbackID generationNTP
0 likes · 8 min read
Investigation of Snowflake ID Generation Failures Caused by Clock Rollback and Mitigation Strategies