Tag

Global ID

1 views collected around this technical thread.

macrozheng
macrozheng
Nov 5, 2024 · Backend Development

Mastering Global Unique ID Generation: 7 Proven Strategies for Distributed Systems

This article explores seven practical approaches to generating globally unique identifiers in distributed environments, covering database‑level configurations, MySQL auto‑increment tweaks, MyCat + Zookeeper integration, UUID limitations, Snowflake algorithm implementation, Meituan's Leaf service, Redis counters, and Zookeeper sequential nodes, providing code snippets and configuration guidance.

Global IDMySQLZookeeper
0 likes · 18 min read
Mastering Global Unique ID Generation: 7 Proven Strategies for Distributed Systems
Sanyou's Java Diary
Sanyou's Java Diary
May 6, 2024 · Backend Development

Mastering Global ID Generation: From MySQL Auto‑Increment to Snowflake & Leaf

This article compares common global ID generation strategies for microservice architectures, covering database‑level solutions like auto‑increment configuration and MyCat + ZooKeeper, as well as application‑level approaches such as UUID, Snowflake, Leaf (segment and Snowflake modes), Redis, and ZooKeeper, with configuration steps, code samples, and pros‑cons.

Global IDMySQLdistributed ID
0 likes · 16 min read
Mastering Global ID Generation: From MySQL Auto‑Increment to Snowflake & Leaf
Java Tech Enthusiast
Java Tech Enthusiast
Mar 24, 2024 · Backend Development

Global ID Generation Strategies for Distributed Systems

The article surveys common global ID generation strategies for distributed systems—database‑managed approaches like MySQL auto‑increment and MyCat‑Zookeeper, and Java‑based methods such as UUID, Snowflake, Leaf, Redis INCRBY and direct Zookeeper—comparing their trade‑offs and recommending Leaf (segment or Snowflake mode) or MyCat‑Zookeeper for reliable, scalable identifiers.

Global IDMySQLZookeeper
0 likes · 15 min read
Global ID Generation Strategies for Distributed Systems
macrozheng
macrozheng
Feb 20, 2024 · Databases

10 Real-World Redis Use Cases Every Backend Engineer Should Know

Discover ten practical Redis scenarios—from counting page visits and caching category trees to implementing distributed locks, leaderboards, rate limiting, bitmap analytics, message queues, and global ID generation—each illustrated with concise code snippets and best‑practice tips for robust backend development.

BitMapCachingDistributed Lock
0 likes · 11 min read
10 Real-World Redis Use Cases Every Backend Engineer Should Know
JD Retail Technology
JD Retail Technology
Sep 26, 2023 · Databases

How Vitess Generates Global Unique IDs Using Sequence Tables and a Comparison with VtDriver

The article explains Vitess's approach to generating globally unique identifiers by using dedicated sequence tables, details the underlying MySQL schema and Go implementation, and compares it with VtDriver's CAS‑based method, highlighting trade‑offs between transaction locks and lock‑free updates.

CASDistributed DatabaseGlobal ID
0 likes · 10 min read
How Vitess Generates Global Unique IDs Using Sequence Tables and a Comparison with VtDriver
Java Captain
Java Captain
Sep 14, 2023 · Fundamentals

Global ID Generation Algorithms: Overview, Use Cases, Best Practices, and Case Study

This article examines global ID generation algorithms such as UUID, timestamp, and Snowflake, outlines their appropriate usage scenarios, provides guidance on selecting and implementing them correctly—including scalability, conflict resolution, performance, and security considerations—and illustrates their application with an e‑commerce platform case study.

DatabaseDistributed SystemsGlobal ID
0 likes · 6 min read
Global ID Generation Algorithms: Overview, Use Cases, Best Practices, and Case Study
Top Architect
Top Architect
Mar 2, 2023 · Databases

16 Common Redis Application Scenarios with Code Samples

This article presents sixteen practical Redis use‑cases—including caching, distributed locks, global IDs, rate limiting, bitmaps, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/recommendation models and leaderboards—each explained with concise descriptions and ready‑to‑run code snippets.

CachingDistributed LockGlobal ID
0 likes · 9 min read
16 Common Redis Application Scenarios with Code Samples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 30, 2022 · Databases

Understanding Database Sharding: Reasons, Methods, and Common Challenges

This article explains why database sharding (both vertical and horizontal) is needed to overcome performance bottlenecks, outlines practical thresholds for splitting tables, describes vertical and horizontal partitioning techniques, and discusses key issues such as distributed transactions, cross‑node queries, global primary keys, and scaling strategies.

Global IDdatabase shardingdistributed transactions
0 likes · 9 min read
Understanding Database Sharding: Reasons, Methods, and Common Challenges
Top Architect
Top Architect
Nov 8, 2021 · Backend Development

Global Unique ID Generation Strategies: Overview, Advantages, Disadvantages, and Optimizations

The article provides a comprehensive overview of global unique ID generation in distributed systems, detailing the characteristics of a good ID, comparing five common strategies—database auto‑increment, UUID, Redis, Zookeeper, and Twitter Snowflake—along with their pros, cons, and practical optimization tips.

DatabaseDistributed SystemsGlobal ID
0 likes · 11 min read
Global Unique ID Generation Strategies: Overview, Advantages, Disadvantages, and Optimizations
Selected Java Interview Questions
Selected Java Interview Questions
Jul 3, 2021 · Backend Development

Designing Idempotent APIs and Global ID Strategies

This article explains the concept of API idempotency, why it is needed for reliable retries, and presents practical designs using global unique identifiers such as UUID and Snowflake, including their advantages, drawbacks, and implementation considerations for backend services.

APIDistributed SystemsGlobal ID
0 likes · 9 min read
Designing Idempotent APIs and Global ID Strategies
Top Architect
Top Architect
Jun 24, 2021 · Backend Development

Designing Idempotent APIs and Global Unique ID Strategies

This article explains the concept of API idempotency, why it is needed, practical design approaches, and how to generate globally unique identifiers using methods such as UUID and Snowflake to ensure reliable, high‑performance backend services.

API designGlobal IDIdempotency
0 likes · 8 min read
Designing Idempotent APIs and Global Unique ID Strategies
Top Architect
Top Architect
Dec 6, 2020 · Backend Development

Practical Guide to Application and Database Splitting for Large‑Scale Systems

This article explains why monolithic systems need to be split, how to assess business complexity, define service boundaries, perform vertical and horizontal database sharding, adopt global ID generators, migrate data safely, and ensure consistency and stability during cut‑over using stop‑write or dual‑write strategies.

Global IDapplication splittingbackend architecture
0 likes · 16 min read
Practical Guide to Application and Database Splitting for Large‑Scale Systems