Tagged articles
2 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Aug 30, 2023 · Backend Development

How Tinyid Generates Globally Unique IDs with Segment Allocation

Tinyid is a Didi‑developed distributed ID system that uses a segment‑allocation algorithm to provide globally unique, trend‑increasing long IDs via HTTP or a Java client, supporting multi‑master databases and batch retrieval while offering configurable token‑based access control.

JavaTinyiddistributed-id
0 likes · 12 min read
How Tinyid Generates Globally Unique IDs with Segment Allocation
macrozheng
macrozheng
Sep 19, 2019 · Backend Development

Mastering Distributed ID Generation: From MySQL Auto‑Increment to Snowflake

This article reviews various distributed ID generation strategies—including MySQL auto‑increment tables, multi‑master configurations, segment allocation, Snowflake algorithm, and open‑source solutions like Baidu uid‑generator and Meituan Leaf—highlighting their designs, trade‑offs, and implementation details for high‑performance backend systems.

distributed-idmysqlsegment allocation
0 likes · 13 min read
Mastering Distributed ID Generation: From MySQL Auto‑Increment to Snowflake