Tag

Unique ID

0 views collected around this technical thread.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 31, 2024 · Backend Development

Distributed System Unique ID: Characteristics and Implementation Solutions

This article explains the importance of globally unique identifiers in distributed systems, outlines their key characteristics such as global uniqueness, monotonic increase, and security, and compares five implementation approaches—UUID, database auto‑increment, Redis, Zookeeper, and Snowflake—detailing their advantages and drawbacks.

RedisUUIDUnique ID
0 likes · 8 min read
Distributed System Unique ID: Characteristics and Implementation Solutions
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 8, 2023 · Backend Development

Five Distributed Global Unique ID Generation Schemes and Their Comparison

This article explains the concept of distributed global unique identifiers, outlines four essential characteristics of such IDs, and provides a detailed comparison of five generation schemes—UUID, database‑generated IDs, Redis, Zookeeper, and Snowflake—highlighting their advantages, drawbacks, and suitable use cases.

BackendRedisUUID
0 likes · 8 min read
Five Distributed Global Unique ID Generation Schemes and Their Comparison
Architecture Digest
Architecture Digest
Apr 3, 2022 · Frontend Development

Why NanoID Is Replacing UUID: Features, Advantages, and Limitations

This article examines NanoID as a modern alternative to UUID, detailing its smaller size, higher speed, stronger security, language support, custom alphabets, lack of dependencies, and compatibility, while also discussing its limitations and future prospects for unique identifier generation in JavaScript projects.

NanoIDUUIDUnique ID
0 likes · 7 min read
Why NanoID Is Replacing UUID: Features, Advantages, and Limitations
IT Services Circle
IT Services Circle
Feb 7, 2022 · Fundamentals

Designing Unique IDs and Choosing Between Inheritance and Composition in C++

The article discusses how to give each class object a unique identifier, compares inheritance and composition for associating objects, and examines the trade‑offs of each approach using C++ examples, ultimately suggesting that the choice should depend on hierarchy depth and maintenance cost.

CDesign PatternsObject-Oriented Design
0 likes · 5 min read
Designing Unique IDs and Choosing Between Inheritance and Composition in C++
Architecture Digest
Architecture Digest
Sep 28, 2021 · Backend Development

Ensuring Idempotency with Unique IDs: UUID, Snowflake, and Shared Storage Strategies

The article explains why idempotency is essential for reliable services, describes how unique identifiers such as UUIDs and Snowflake-generated IDs can guarantee idempotent operations, and outlines practical storage and query techniques using databases or Redis to prevent duplicate orders, inventory deductions, and payments.

BackendDatabaseIdempotency
0 likes · 6 min read
Ensuring Idempotency with Unique IDs: UUID, Snowflake, and Shared Storage Strategies
Wukong Talks Architecture
Wukong Talks Architecture
Aug 13, 2021 · Backend Development

Understanding the Snowflake ID Generation Algorithm and Its Variants (Baidu UIDGenerator, Meituan Leaf‑Snowflake)

This article explains Twitter's Snowflake distributed ID algorithm, its 64‑bit structure, advantages and drawbacks, and compares it with Baidu's UIDGenerator and Meituan's Leaf‑Snowflake implementations, helping readers choose the most suitable unique‑ID solution for their backend systems.

BackendID generationUnique ID
0 likes · 5 min read
Understanding the Snowflake ID Generation Algorithm and Its Variants (Baidu UIDGenerator, Meituan Leaf‑Snowflake)
Architect
Architect
Sep 18, 2020 · Backend Development

Ensuring Idempotency in Distributed Services: Unique IDs, UUID, Snowflake, and Shared Storage

Idempotency ensures that repeated service calls produce the same result, which can be achieved by using unique identifiers such as UUIDs or Snowflake-generated IDs, employing shared storage like MySQL or Redis, and optimizing queries to avoid unnecessary overhead in distributed backend systems.

BackendIdempotencyUUID
0 likes · 6 min read
Ensuring Idempotency in Distributed Services: Unique IDs, UUID, Snowflake, and Shared Storage
Top Architect
Top Architect
Jun 8, 2020 · Backend Development

Ensuring Idempotency with Unique IDs: UUID, Snowflake, and Distributed ID Generation

The article explains why idempotency is essential for reliable services, describes how unique identifiers such as UUIDs, Snowflake IDs, and database‑generated keys can be used to achieve it, and offers practical guidance on shared storage, avoiding unnecessary queries, and handling duplicate requests in distributed systems.

BackendDatabaseIdempotency
0 likes · 8 min read
Ensuring Idempotency with Unique IDs: UUID, Snowflake, and Distributed ID Generation
Architecture Digest
Architecture Digest
May 11, 2020 · Backend Development

Ensuring Idempotency in Distributed Systems: Unique ID Generation Strategies

The article explains why idempotency is essential for reliable service calls, discusses using unique identifiers such as UUIDs and Snowflake algorithms, compares centralized and client‑side ID generation, and offers practical storage and query‑optimisation techniques to prevent duplicate orders and resource waste.

BackendIdempotencyUUID
0 likes · 6 min read
Ensuring Idempotency in Distributed Systems: Unique ID Generation Strategies
Architect's Tech Stack
Architect's Tech Stack
Mar 13, 2018 · Backend Development

Understanding and Implementing Twitter's Snowflake Distributed ID Generation Algorithm in Java

This article explains the need for compact, time‑ordered unique IDs in distributed systems, describes Twitter's Snowflake 64‑bit ID structure, provides a full Java implementation with bit‑allocation details, and demonstrates its high‑performance generation of millions of IDs.

AlgorithmBackendJava
0 likes · 6 min read
Understanding and Implementing Twitter's Snowflake Distributed ID Generation Algorithm in Java
Architecture Digest
Architecture Digest
Dec 6, 2017 · Backend Development

Design and Implementation of a Distributed Unique ID Generator for User IDs

This article describes the background, requirements, existing industry solutions, and the final optimized implementation of a high‑performance, globally unique user ID generator based on MySQL auto‑increment, Redis, and atomic memory segments, including performance results from production deployment.

BackendMySQLRedis
0 likes · 8 min read
Design and Implementation of a Distributed Unique ID Generator for User IDs
Ctrip Technology
Ctrip Technology
Nov 16, 2017 · Backend Development

Design and Implementation of a Distributed Unique ID Generator for Ctrip User Accounts

This article describes Ctrip's design of a distributed, globally unique user ID generator for MySQL migration, covering requirements, evaluation of common approaches such as auto‑increment, UUID, Snowflake and Redis, and detailing the final Flicker‑based solution with segment caching using AtomicLong to achieve high concurrency and reliability.

BackendJavaMySQL
0 likes · 9 min read
Design and Implementation of a Distributed Unique ID Generator for Ctrip User Accounts