Tagged articles
4 articles
Page 1 of 1
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 25, 2025 · Backend Development

Comparing Four Distributed ID Generation Strategies: Auto‑Increment, UUID, Snowflake, and Coordination Services

This article compares four major distributed ID generation approaches—database auto‑increment, UUID, Snowflake, and coordination‑service based allocation—detailing their mechanisms, advantages, drawbacks, and suitable scenarios for backend system design.

ID generationbackenddatabase auto-increment
0 likes · 5 min read
Comparing Four Distributed ID Generation Strategies: Auto‑Increment, UUID, Snowflake, and Coordination Services
Su San Talks Tech
Su San Talks Tech
Sep 15, 2024 · Backend Development

Mastering Distributed ID Generation: From UUID to Snowflake and Beyond

This article explores common distributed ID generation strategies—including UUID, database auto‑increment, segment allocation, Redis, Zookeeper, Snowflake, and open‑source solutions like Leaf, Tinyid, and Baidu UID‑Generator—detailing their principles, advantages, drawbacks, and implementation examples for high‑performance backend systems.

LeafTinyidZooKeeper
0 likes · 17 min read
Mastering Distributed ID Generation: From UUID to Snowflake and Beyond
Top Architect
Top Architect
Jun 2, 2020 · Backend Development

Improving Database Auto‑Increment Primary Keys for Distributed ID Generation

This article examines the limitations of using database auto‑increment primary keys for distributed ID generation and presents a segment‑allocation approach, discusses concurrency challenges, and introduces a double‑buffer strategy to reduce database load and improve fault tolerance.

Concurrency ControlID segment allocationdatabase auto-increment
0 likes · 8 min read
Improving Database Auto‑Increment Primary Keys for Distributed ID Generation
Java High-Performance Architecture
Java High-Performance Architecture
Dec 3, 2019 · Backend Development

Choosing the Right Distributed ID Strategy: UUID, DB, Redis, Snowflake Explained

Distributed ID systems must be globally unique, incremental, highly available, and secure; this article compares common generation methods—including UUID, database auto‑increment, Redis atomic counters, and the Snowflake algorithm—detailing their advantages, drawbacks, and suitable use‑cases for modern high‑throughput services.

database auto-incrementdistributed-idsnowflake
0 likes · 5 min read
Choosing the Right Distributed ID Strategy: UUID, DB, Redis, Snowflake Explained